local.tomas.common.xml
Class XMLStreamParser
java.lang.Object
local.tomas.common.xml.XMLStreamParser
- Direct Known Subclasses:
- StreamParserImpl
public abstract class XMLStreamParser
- extends Object
This class is used to create an object from its XML description.
- Author:
- tomas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLStreamParser
protected XMLStreamParser()
createInstance
public static XMLStreamParser createInstance(Source source)
- Create class instance.
- Parameters:
source - - XML source to create object from
- Returns:
- the instance
parse
public abstract Object parse()
throws XMLException
- Parse XML stream and create object.
- Returns:
- the object
- Throws:
XMLException
Copyright © 2007 null. All Rights Reserved.