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