java.lang.Object
org.jhotdraw8.xml.converter.LongXmlConverter
Converts a XML integer from/to String.
Reference: W3C: XML Schema Part 2: Datatypes Second Edition: 3.2.13 integer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable LongfromString(CharBuffer in, @Nullable IdResolver idResolver) @Nullable Long<TT extends Long>
voidtoString(Appendable buf, @Nullable IdSupplier idSupplier, @Nullable TT value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.base.converter.Converter
fromString, fromString, fromString, fromStringNonNull, fromStringNonNull, fromStringNonNull, fromStringNonNull, getHelpText, needsIdResolver, toString, toString, toString
-
Constructor Details
-
LongXmlConverter
public LongXmlConverter(boolean nullable) -
LongXmlConverter
public LongXmlConverter()
-
-
Method Details
-
fromString
public @Nullable Long fromString(CharBuffer in, @Nullable IdResolver idResolver) throws ParseException - Specified by:
fromStringin interfaceConverter<Long>- Throws:
ParseException
-
toString
public <TT extends Long> void toString(Appendable buf, @Nullable IdSupplier idSupplier, @Nullable TT value) throws IOException - Specified by:
toStringin interfaceConverter<Long>- Throws:
IOException
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceConverter<Long>
-