| Modifier and Type | Field and Description |
|---|---|
static AttributeSetter |
DEFAULT_ATTRIBUTE_SETTER |
static ChildSetter |
DEFAULT_CHILD_SETTER |
static XsObjectFactory |
DEFAULT_OBJECT_FACTORY |
static TextSetter |
DEFAULT_TEXT_SETTER |
static XSObjectFactory |
DEFAULT_XS_OBJECT_FACTORY |
| Constructor and Description |
|---|
XSContextImpl() |
| 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 pAttributeSetter)
Sets the AttributeSetter, which is used to
configure properties.
|
void |
setChildSetter(ChildSetter pChildSetter)
Sets the ChildSetter, which is used to create
child elements.
|
void |
setCurrentContentHandler(org.xml.sax.ContentHandler pHandler)
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 pTextSetter)
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.
|
public static final XsObjectFactory DEFAULT_OBJECT_FACTORY
public static final XSObjectFactory DEFAULT_XS_OBJECT_FACTORY
public static final AttributeSetter DEFAULT_ATTRIBUTE_SETTER
public static final ChildSetter DEFAULT_CHILD_SETTER
public static final TextSetter DEFAULT_TEXT_SETTER
public XsObjectFactory getXsObjectFactory()
XSContextReturns the parsers object factory for syntax elements.
getXsObjectFactory in interface XSContextpublic void setXsObjectFactory(XsObjectFactory pFactory)
XSContextSets the parsers object factory for syntax elements.
setXsObjectFactory in interface XSContextpublic XSObjectFactory getXSObjectFactory()
XSContextReturns the parsers object factory for logical elements.
getXSObjectFactory in interface XSContextpublic void setXSObjectFactory(XSObjectFactory pFactory)
XSContextSets the parsers object factory for logical elements.
setXSObjectFactory in interface XSContextpublic AttributeSetter getAttributeSetter()
XSContextReturns the AttributeSetter, which is used to
configure properties.
getAttributeSetter in interface XSContextpublic void setAttributeSetter(AttributeSetter pAttributeSetter)
XSContextSets the AttributeSetter, which is used to configure properties.
setAttributeSetter in interface XSContextpublic ChildSetter getChildSetter()
XSContextReturns the ChildSetter, which is used to create
child elements.
getChildSetter in interface XSContextpublic void setChildSetter(ChildSetter pChildSetter)
XSContextSets the ChildSetter, which is used to create child elements.
setChildSetter in interface XSContextpublic TextSetter getTextSetter()
XSContextReturns the TextSetter, used to add text sections.
getTextSetter in interface XSContextpublic void setTextSetter(TextSetter pTextSetter)
XSContextSets the TextSetter, used to add text sections.
setTextSetter in interface XSContextpublic XSLogicalParser getXSLogicalParser()
XSContextReturns the currently running XSParser or null,
if no such instance is available.
getXSLogicalParser in interface XSContextpublic void setXSLogicalParser(XSLogicalParser pParser)
XSContextSets the currently active instance of XSParser, if any.
Returns null, if no such instance is available.
setXSLogicalParser in interface XSContextpublic XSSchema getXSSchema()
XSContextReturns the XSSchema, which is currently being parsed,
if any.
getXSSchema in interface XSContextpublic org.xml.sax.Locator getLocator()
XSContextReturns the locator, used for error messages.
getLocator in interface XSContextpublic void setLocator(org.xml.sax.Locator pLocator)
XSContextSets the locator, used for error messages.
setLocator in interface XSContextpublic void setNamespaceSupport(org.xml.sax.helpers.NamespaceSupport pNamespaceSupport)
XSContextSets the namespace handler.
setNamespaceSupport in interface XSContextpublic org.xml.sax.helpers.NamespaceSupport getNamespaceSupport()
XSContextReturns the namespace handler.
getNamespaceSupport in interface XSContextpublic void setCurrentContentHandler(org.xml.sax.ContentHandler pHandler)
XSContextSets the currently active instance of XsSAXParser.
setCurrentContentHandler in interface XSContextpublic org.xml.sax.ContentHandler getCurrentContentHandler()
XSContextSets the currently active instance of XsSAXParser.
getCurrentContentHandler in interface XSContext