|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.xs.parser.impl.XSContextImpl
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.
| Field Summary | |
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 Summary | |
XSContextImpl()
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
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
| Constructor Detail |
public XSContextImpl()
| Method Detail |
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||