# com.bea.xml
XmlSaxHandler Interface

public interface XmlSaxHandler

A holder for a SAX `ContentHandler``` and `LexicalHandler``` that are capable of loading an `XmlObject``` instance. Once all the SAX events are pushed to the handlers, call `XmlSaxHandler.getObject()``` to get the loaded XmlObject.

Related Topics

``XmlObject.Factory.newXmlSaxHandler()``
``SchemaTypeLoader.newXmlSaxHandler(SchemaType, XmlOptions)``

## Method Summary

`public `ContentHandler`` | `getContentHandler`() The ContentHandler expecting SAX content events.
`public `LexicalHandler`` | `getLexicalHandler`() The LexicalHandler expecting SAX lexical events.
`public `XmlObject`` | `getObject`() Returns the loaded XmlObject after all the SAX events have been finished

## Method Detail

### getContentHandler() Method

    public ContentHandler getContentHandler()

The ContentHandler expecting SAX content events.

Related Topics

``ContentHandler``

### getLexicalHandler() Method

    public LexicalHandler getLexicalHandler()

The LexicalHandler expecting SAX lexical events.

Related Topics

``LexicalHandler``

### getObject() Method

    public XmlObject getObject()
         throws XmlException

Returns the loaded XmlObject after all the SAX events have been finished

#### Exceptions

``XmlException``