org.apache.ws.jaxme.xs.parser
Interface XSContext

All Known Implementing Classes:
XSContextImpl

public interface XSContext

This interface provides access to the parsers context.

Author:
Jochen Wiedmann

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 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.
 

Method Detail

getXsObjectFactory

XsObjectFactory getXsObjectFactory()

Returns the parsers object factory for syntax elements.


setXsObjectFactory

void setXsObjectFactory(XsObjectFactory pFactory)

Sets the parsers object factory for syntax elements.


getXSObjectFactory

XSObjectFactory getXSObjectFactory()

Returns the parsers object factory for logical elements.


setXSObjectFactory

void setXSObjectFactory(XSObjectFactory pFactory)

Sets the parsers object factory for logical elements.


getAttributeSetter

AttributeSetter getAttributeSetter()

Returns the AttributeSetter, which is used to configure properties.


setAttributeSetter

void setAttributeSetter(AttributeSetter pSetter)

Sets the AttributeSetter, which is used to configure properties.


getChildSetter

ChildSetter getChildSetter()

Returns the ChildSetter, which is used to create child elements.


setChildSetter

void setChildSetter(ChildSetter pSetter)

Sets the ChildSetter, which is used to create child elements.


getTextSetter

TextSetter getTextSetter()

Returns the TextSetter, used to add text sections.


setTextSetter

void setTextSetter(TextSetter pSetter)

Sets the TextSetter, used to add text sections.


getXSLogicalParser

XSLogicalParser getXSLogicalParser()

Returns the currently running XSParser or null, if no such instance is available.


setXSLogicalParser

void setXSLogicalParser(XSLogicalParser pParser)

Sets the currently active instance of XSParser, if any. Returns null, if no such instance is available.


getXSSchema

XSSchema getXSSchema()

Returns the XSSchema, which is currently being parsed, if any.


getLocator

org.xml.sax.Locator getLocator()

Returns the locator, used for error messages.


setLocator

void setLocator(org.xml.sax.Locator pLocator)

Sets the locator, used for error messages.


getNamespaceSupport

org.xml.sax.helpers.NamespaceSupport getNamespaceSupport()

Returns the namespace handler.


setNamespaceSupport

void setNamespaceSupport(org.xml.sax.helpers.NamespaceSupport pNamespaceSupport)

Sets the namespace handler.


getCurrentContentHandler

org.xml.sax.ContentHandler getCurrentContentHandler()

Sets the currently active instance of XsSAXParser.


setCurrentContentHandler

void setCurrentContentHandler(org.xml.sax.ContentHandler pParser)

Sets the currently active instance of XsSAXParser.