Package eu.woolplatform.utils.xml
Interface XMLValueParser<T>
-
- Type Parameters:
T- the class of Java object
- All Known Implementing Classes:
BooleanValueParser,DoubleValueParser,EnumValueParser,IntValueParser,SQLDateValueParser,SQLTimeValueParser,StringValueParser
public interface XMLValueParser<T>Interface for classes that can parse string values from an XML document and convert them to Java objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tparse(String xml)Parses the specified string value.
-
-
-
Method Detail
-
parse
T parse(String xml) throws ParseException
Parses the specified string value.- Parameters:
xml- the string value- Returns:
- the Java object
- Throws:
ParseException- if the string value is invalid
-
-