public abstract class AbstractElementReadHandler extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler implements NodeReadHandler
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractElementReadHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureElement(Element e) |
protected abstract Element |
getElement() |
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler |
getHandlerForChild(java.lang.String uri,
java.lang.String tagName,
org.xml.sax.Attributes atts)
Returns the handler for a child element.
|
Node |
getNode() |
java.lang.Object |
getObject()
Returns the object for this element or null, if this element does not create an object.
|
java.lang.String |
getStyle() |
void |
init(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler,
java.lang.String uri,
java.lang.String tagName)
Initialises the handler.
|
boolean |
isEnabled() |
protected void |
startParsing(org.xml.sax.Attributes attrs)
Starts parsing.
|
characters, deriveParseParameters, doneParsing, endElement, getLocator, getRootHandler, getTagName, getUri, isSameNamespace, performExternalParsing, performExternalParsing, startElementpublic boolean isEnabled()
public java.lang.String getStyle()
public void init(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler,
java.lang.String uri,
java.lang.String tagName)
init in interface org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandlerinit in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandlerrootHandler - the root handler.tagName - the tag name.protected void startParsing(org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
startParsing in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandlerattrs - the attributes.org.xml.sax.SAXException - if there is a parsing error.protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler getHandlerForChild(java.lang.String uri,
java.lang.String tagName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
getHandlerForChild in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandlertagName - the tag name.atts - the attributes.org.xml.sax.SAXException - if there is a parsing error.protected void configureElement(Element e)
protected abstract Element getElement()
public final Node getNode()
getNode in interface NodeReadHandlerpublic java.lang.Object getObject()
throws org.xml.sax.SAXException
getObject in interface org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandlerorg.xml.sax.SAXException