org.apache.ws.jaxme.xs.parser

Interface XSContext

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.
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 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(ContentHandler pParser)
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 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 logical elements.
void
setXsObjectFactory(XsObjectFactory pFactory)
Sets the parsers object factory for syntax elements.

Method Details

getAttributeSetter

public AttributeSetter getAttributeSetter()
Returns the AttributeSetter, which is used to configure properties.

getChildSetter

public ChildSetter getChildSetter()
Returns the ChildSetter, which is used to create child elements.

getCurrentContentHandler

public ContentHandler getCurrentContentHandler()

getLocator

public Locator getLocator()
Returns the locator, used for error messages.

getNamespaceSupport

public NamespaceSupport getNamespaceSupport()
Returns the namespace handler.

getTextSetter

public TextSetter getTextSetter()
Returns the TextSetter, used to add text sections.

getXSLogicalParser

public XSLogicalParser getXSLogicalParser()
Returns the currently running XSParser or null, if no such instance is available.

getXSObjectFactory

public XSObjectFactory getXSObjectFactory()
Returns the parsers object factory for logical elements.

getXSSchema

public XSSchema getXSSchema()
Returns the XSSchema, which is currently being parsed, if any.

getXsObjectFactory

public XsObjectFactory getXsObjectFactory()
Returns the parsers object factory for syntax elements.

setAttributeSetter

public void setAttributeSetter(AttributeSetter pSetter)
Sets the AttributeSetter, which is used to configure properties.

setChildSetter

public void setChildSetter(ChildSetter pSetter)
Sets the ChildSetter, which is used to create child elements.

setCurrentContentHandler

public void setCurrentContentHandler(ContentHandler pParser)

setLocator

public void setLocator(Locator pLocator)
Sets the locator, used for error messages.

setNamespaceSupport

public void setNamespaceSupport(NamespaceSupport pNamespaceSupport)
Sets the namespace handler.

setTextSetter

public void setTextSetter(TextSetter pSetter)
Sets the TextSetter, used to add text sections.

setXSLogicalParser

public void setXSLogicalParser(XSLogicalParser pParser)
Sets the currently active instance of XSParser, if any. Returns null, if no such instance is available.

setXSObjectFactory

public void setXSObjectFactory(XSObjectFactory pFactory)
Sets the parsers object factory for logical elements.

setXsObjectFactory

public void setXsObjectFactory(XsObjectFactory pFactory)
Sets the parsers object factory for syntax elements.