public class StyleReadHandler extends CompoundObjectReadHandler
Constructor and Description |
---|
StyleReadHandler() |
StyleReadHandler(ElementStyleSheet styleSheet) |
Modifier and Type | Method and Description |
---|---|
protected XmlReadHandler |
getHandlerForChild(String uri,
String tagName,
PropertyAttributes 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.
|
void |
init(RootXmlReadHandler rootHandler,
String uri,
String tagName)
Initialises the handler.
|
protected void |
startParsing(PropertyAttributes attrs)
Starts parsing.
|
doneParsing, getBasicObjects, getCompoundObjects, handleBasicObject, handleCompoundObject
getClassFactory, getObjectDescription, handleStartParsing, setObjectDescription
getHandlerForChild, startParsing
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, isSameNamespace, performExternalParsing, performExternalParsing, startElement
public StyleReadHandler()
public StyleReadHandler(ElementStyleSheet styleSheet)
public void init(RootXmlReadHandler rootHandler, String uri, String tagName) throws SAXException
init
in interface XmlReadHandler
init
in class BasicObjectReadHandler
rootHandler
- the root handler.tagName
- the tag name.SAXException
protected void startParsing(PropertyAttributes attrs) throws SAXException
startParsing
in class CompoundObjectReadHandler
attrs
- the attributes.SAXException
- if there is a parsing error.protected XmlReadHandler getHandlerForChild(String uri, String tagName, PropertyAttributes atts) throws SAXException
getHandlerForChild
in class CompoundObjectReadHandler
tagName
- the tag name.atts
- the attributes.SAXException
- if there is a parsing error.public Object getObject()
getObject
in interface XmlReadHandler
getObject
in class BasicObjectReadHandler
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.