Class POBXMLParser
-
- All Implemented Interfaces:
public class POBXMLParserClass is responsible for xml parsing using DOM parser and create an instance of respective model class.
-
-
Method Summary
-
-
Method Detail
-
parse
@Nullable() static <T extends POBXMLNodeListener> T parse(@NonNull() String content, @NonNull() Class<T> rootClass)
Creates an xml node from provided content and builds model class instance with node values.
- Parameters:
content- string xml content to be parsed.rootClass- model class of which the object needs to be created of type POBXMLNodeListener.- Returns:
Instance of class after parsing the content.
-
-
-
-