This interface provides access to the parsers context.
getChildSetter
public ChildSetter getChildSetter()
Returns the
ChildSetter
, which is used to create
child elements.
getCurrentContentHandler
public ContentHandler getCurrentContentHandler()
getLocator
public Locator getLocator()
Returns the locator, used for error messages.
getNamespaceSupport
public NamespaceSupport getNamespaceSupport()
Returns the namespace handler.
getXSLogicalParser
public XSLogicalParser getXSLogicalParser()
Returns the currently running
XSParser
or null,
if no such instance is available.
getXSObjectFactory
public XSObjectFactory getXSObjectFactory()
Returns the parsers object factory for logical elements.
getXSSchema
public XSSchema getXSSchema()
Returns the
XSSchema
, which is currently being parsed,
if any.
getXsObjectFactory
public XsObjectFactory getXsObjectFactory()
Returns the parsers object factory for syntax elements.
setAttributeSetter
public void setAttributeSetter(AttributeSetter pSetter)
Sets the AttributeSetter, which is used to
configure properties.
setChildSetter
public void setChildSetter(ChildSetter pSetter)
Sets the ChildSetter, which is used to create
child elements.
setCurrentContentHandler
public void setCurrentContentHandler(ContentHandler pParser)
setLocator
public void setLocator(Locator pLocator)
Sets the locator, used for error messages.
setNamespaceSupport
public void setNamespaceSupport(NamespaceSupport pNamespaceSupport)
Sets the namespace handler.
setTextSetter
public void setTextSetter(TextSetter pSetter)
Sets the TextSetter, used to add text sections.
setXSLogicalParser
public void setXSLogicalParser(XSLogicalParser pParser)
Sets the currently active instance of
XSParser
, if any.
Returns null, if no such instance is available.
setXSObjectFactory
public void setXSObjectFactory(XSObjectFactory pFactory)
Sets the parsers object factory for logical elements.
setXsObjectFactory
public void setXsObjectFactory(XsObjectFactory pFactory)
Sets the parsers object factory for syntax elements.