org.apache.ws.jaxme.xs.parser.impl
Class XSContextImpl
java.lang.Object
org.apache.ws.jaxme.xs.parser.impl.XSContextImpl
- XSContext
public class XSContextImpl
extends java.lang.Object
This class provides access to the parsers internal data. The
Context
instance is stored as a thread local element, thus
accessible via a static method.
AttributeSetter | getAttributeSetter() - Returns the
AttributeSetter , which is used to
configure properties.
|
ChildSetter | getChildSetter() - Returns the
ChildSetter , which is used to create
child elements.
|
ContentHandler | getCurrentContentHandler() - Sets the currently active instance of
XsSAXParser .
|
Locator | getLocator() - Returns the locator, used for error messages.
|
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 logical elements.
|
XSSchema | getXSSchema() - Returns the
XSSchema , which is currently being parsed,
if any.
|
XsObjectFactory | getXsObjectFactory() - Returns the parsers object factory for syntax elements.
|
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(ContentHandler pHandler) - Sets the currently active instance of
XsSAXParser .
|
void | setLocator(Locator pLocator) - Sets the locator, used for error messages.
|
void | setNamespaceSupport(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 logical elements.
|
void | setXsObjectFactory(XsObjectFactory pFactory) - Sets the parsers object factory for syntax elements.
|
DEFAULT_ATTRIBUTE_SETTER
public static final AttributeSetter DEFAULT_ATTRIBUTE_SETTER
DEFAULT_CHILD_SETTER
public static final ChildSetter DEFAULT_CHILD_SETTER
DEFAULT_OBJECT_FACTORY
public static final XsObjectFactory DEFAULT_OBJECT_FACTORY
DEFAULT_TEXT_SETTER
public static final TextSetter DEFAULT_TEXT_SETTER
DEFAULT_XS_OBJECT_FACTORY
public static final XSObjectFactory DEFAULT_XS_OBJECT_FACTORY
getLocator
public Locator getLocator()
Returns the locator, used for error messages.
- getLocator in interface XSContext
setLocator
public void setLocator(Locator pLocator)
Sets the locator, used for error messages.
- setLocator in interface XSContext
setNamespaceSupport
public void setNamespaceSupport(NamespaceSupport pNamespaceSupport)
Sets the namespace handler.
- setNamespaceSupport in interface XSContext