org.apache.ws.jaxme.xs.parser

Interface XSContext

public interface XSContext

This interface provides access to the parsers context.

Author: Jochen Wiedmann

Method Summary
AttributeSettergetAttributeSetter()

Returns the AttributeSetter, which is used to configure properties.

ChildSettergetChildSetter()

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

ContentHandlergetCurrentContentHandler()

Sets the currently active instance of XsSAXParser.

LocatorgetLocator()

Returns the locator, used for error messages.

NamespaceSupportgetNamespaceSupport()

Returns the namespace handler.

TextSettergetTextSetter()

Returns the TextSetter, used to add text sections.

XsObjectFactorygetXsObjectFactory()

Returns the parsers object factory for syntax elements.

XSLogicalParsergetXSLogicalParser()

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

XSObjectFactorygetXSObjectFactory()

Returns the parsers object factory for logical elements.

XSSchemagetXSSchema()

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

voidsetAttributeSetter(AttributeSetter pSetter)

Sets the AttributeSetter, which is used to configure properties.

voidsetChildSetter(ChildSetter pSetter)

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

voidsetCurrentContentHandler(ContentHandler pParser)

Sets the currently active instance of XsSAXParser.

voidsetLocator(Locator pLocator)

Sets the locator, used for error messages.

voidsetNamespaceSupport(NamespaceSupport pNamespaceSupport)

Sets the namespace handler.

voidsetTextSetter(TextSetter pSetter)

Sets the TextSetter, used to add text sections.

voidsetXsObjectFactory(XsObjectFactory pFactory)

Sets the parsers object factory for syntax elements.

voidsetXSLogicalParser(XSLogicalParser pParser)

Sets the currently active instance of XSParser, if any.

voidsetXSObjectFactory(XSObjectFactory pFactory)

Sets the parsers object factory for logical elements.

Method Detail

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()

Sets the currently active instance of XsSAXParser.

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.

getXsObjectFactory

public XsObjectFactory getXsObjectFactory()

Returns the parsers object factory for syntax elements.

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.

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)

Sets the currently active instance of XsSAXParser.

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.

setXsObjectFactory

public void setXsObjectFactory(XsObjectFactory pFactory)

Sets the parsers object factory for syntax elements.

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.