- java.lang.Object
- 
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.YearMonth>
- 
- io.github.threetenjaxb.core.YearMonthXmlAdapter
 
 
- 
 public class YearMonthXmlAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.YearMonth>XmlAdaptermapping JSR-310YearMonthto a string such as 2007-12String format details: - YearMonth.parse(java.lang.CharSequence)
- YearMonth.toString()
 - See Also:
- XmlAdapter,- YearMonth
 
- 
- 
Constructor SummaryConstructors Constructor Description YearMonthXmlAdapter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringmarshal(java.time.YearMonth value)java.time.YearMonthunmarshal(java.lang.String stringValue)
 
- 
- 
- 
Method Detail- 
unmarshalpublic java.time.YearMonth unmarshal(java.lang.String stringValue) - Specified by:
- unmarshalin class- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.YearMonth>
 
 - 
marshalpublic java.lang.String marshal(java.time.YearMonth value) - Specified by:
- marshalin class- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.YearMonth>
 
 
- 
 
-