public class BasicObjectReadHandler extends AbstractPropertyXmlReadHandler
Constructor and Description |
---|
BasicObjectReadHandler(ObjectDescription objectDescription) |
Modifier and Type | Method and Description |
---|---|
protected void |
doneParsing()
Done parsing.
|
protected ClassFactory |
getClassFactory() |
Object |
getObject()
Returns the object for this element or null, if this element does not create an object.
|
protected ObjectDescription |
getObjectDescription() |
protected void |
handleStartParsing(Attributes attrs) |
void |
init(RootXmlReadHandler rootHandler,
String uri,
String tagName)
Initialises the handler.
|
protected void |
setObjectDescription(ObjectDescription objectDescription) |
protected void |
startParsing(PropertyAttributes attrs)
Starts parsing.
|
getHandlerForChild, getHandlerForChild, startParsing
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, isSameNamespace, performExternalParsing, performExternalParsing, startElement
public BasicObjectReadHandler(ObjectDescription objectDescription)
objectDescription
- may be null.public void init(RootXmlReadHandler rootHandler, String uri, String tagName) throws SAXException
init
in interface XmlReadHandler
init
in class AbstractXmlReadHandler
rootHandler
- the root handler.tagName
- the tag name.SAXException
protected ObjectDescription getObjectDescription()
protected void setObjectDescription(ObjectDescription objectDescription)
protected ClassFactory getClassFactory()
protected void startParsing(PropertyAttributes attrs) throws SAXException
startParsing
in class AbstractPropertyXmlReadHandler
attrs
- the attributes.SAXException
- if there is a parsing error.protected void handleStartParsing(Attributes attrs) throws ParseException
ParseException
protected void doneParsing() throws SAXException
doneParsing
in class AbstractXmlReadHandler
SAXException
- if there is a parsing error.public Object getObject()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.