public class ElementReadHandler extends AbstractMetaDataReadHandler
Constructor and Description |
---|
ElementReadHandler(GlobalMetaDefinition globalMetaDefinition) |
Modifier and Type | Method and Description |
---|---|
protected void |
doneParsing()
Done parsing.
|
ElementMetaDataBuilder |
getBuilder()
This method should be abstract, and will be in the near future and only exists as default implementation to honor
the strict requirements of preserving a stable API.
|
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 |
startParsing(Attributes attrs)
Starts parsing.
|
getBundle, getCompatibilityLevel, getMaturityLevel, getName, isDeprecated, isDerivedName, isExperimental, isExpert, isHidden, isPreferred, parseName
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement
public ElementReadHandler(GlobalMetaDefinition globalMetaDefinition)
public ElementMetaDataBuilder getBuilder()
AbstractMetaDataReadHandler
getBuilder
in class AbstractMetaDataReadHandler
protected void startParsing(Attributes attrs) throws SAXException
startParsing
in class AbstractMetaDataReadHandler
attrs
- the attributes.SAXException
- if there is a parsing error.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
SAXException
- if an parser error occured.Copyright © 2017 Hitachi Vantara. All rights reserved.