public abstract class AbstractElementReadHandler extends AbstractXmlReadHandler implements ElementReadHandler
Modifier | Constructor and Description |
---|---|
protected |
AbstractElementReadHandler() |
protected |
AbstractElementReadHandler(ElementType elementType) |
Modifier and Type | Method and Description |
---|---|
protected void |
autoInit() |
protected Element |
createElement() |
protected void |
doneParsing()
Done parsing.
|
Element |
getElement() |
protected XmlReadHandler |
getHandlerForChild(String uri,
String tagName,
Attributes atts)
Returns the handler for a child element.
|
Object |
getObject()
Returns the object for this element or null, if this element does not create an object.
|
protected void |
initialize(ElementType elementType) |
protected boolean |
isFiltered(AttributeMetaData attributeMetaData) |
protected void |
startParsing(Attributes attrs)
Starts parsing.
|
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, endElement, init, startElement
protected AbstractElementReadHandler()
protected AbstractElementReadHandler(ElementType elementType) throws ParseException
ParseException
protected void autoInit() throws ParseException
ParseException
protected void initialize(ElementType elementType) throws ParseException
ParseException
protected Element createElement() throws ParseException
ParseException
protected void startParsing(Attributes attrs) throws SAXException
startParsing
in class AbstractXmlReadHandler
attrs
- the attributes.SAXException
- if there is a parsing error.protected boolean isFiltered(AttributeMetaData attributeMetaData)
protected XmlReadHandler getHandlerForChild(String uri, String tagName, Attributes atts) throws SAXException
getHandlerForChild
in class AbstractXmlReadHandler
uri
- the URI of the namespace of the current element.tagName
- the tag name.atts
- the attributes.SAXException
- if there is a parsing error.protected void doneParsing() throws SAXException
doneParsing
in class AbstractXmlReadHandler
SAXException
- if there is a parsing error.public Object getObject() throws SAXException
getObject
in interface XmlReadHandler
SAXException
- if an parser error occured.public Element getElement()
getElement
in interface ElementReadHandler
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.