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

public XsObjectFactory getXsObjectFactory()

Returns the parsers object factory for syntax elements.


setXsObjectFactory

public void setXsObjectFactory(XsObjectFactory pFactory)

Sets the parsers object factory for syntax elements.


getXSObjectFactory

public XSObjectFactory getXSObjectFactory()

Returns the parsers object factory for logical elements.


setXSObjectFactory

public void setXSObjectFactory(XSObjectFactory pFactory)

Sets the parsers object factory for logical elements.


getAttributeSetter

public AttributeSetter getAttributeSetter()

Returns the AttributeSetter, which is used to configure properties.


setAttributeSetter

public void setAttributeSetter(AttributeSetter pSetter)

Sets the AttributeSetter, which is used to configure properties.


getChildSetter

public ChildSetter getChildSetter()

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


setChildSetter

public void setChildSetter(ChildSetter pSetter)

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


getTextSetter

public TextSetter getTextSetter()

Returns the TextSetter, used to add text sections.


setTextSetter

public void setTextSetter(TextSetter pSetter)

Sets the TextSetter, used to add text sections.


getXSLogicalParser

public XSLogicalParser getXSLogicalParser()

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


setXSLogicalParser

public void setXSLogicalParser(XSLogicalParser pParser)

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


getXSSchema

public XSSchema getXSSchema()

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


getLocator

public org.xml.sax.Locator getLocator()

Returns the locator, used for error messages.


setLocator

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

Sets the locator, used for error messages.


getNamespaceSupport

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

Returns the namespace handler.


setNamespaceSupport

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

Sets the namespace handler.


getCurrentContentHandler

public org.xml.sax.ContentHandler getCurrentContentHandler()

Sets the currently active instance of XsSAXParser.


setCurrentContentHandler

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

Sets the currently active instance of XsSAXParser.