org.openexi.sax
Class ReaderSupport

java.lang.Object
  extended by org.openexi.sax.ReaderSupport
All Implemented Interfaces:
org.xml.sax.Attributes
Direct Known Subclasses:
EXIReader

public abstract class ReaderSupport
extends java.lang.Object
implements org.xml.sax.Attributes


Method Summary
 org.xml.sax.ContentHandler getContentHandler()
          Get the SAX content handler currently in use.
 void setContentHandler(org.xml.sax.ContentHandler contentHandler)
          Set a SAX content handler to receive SAX events.
 void setGrammarCache(GrammarCache grammarCache)
          Set the GrammarCache used in parsing EXI streams.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.Attributes
getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue
 

Method Detail

setContentHandler

public final void setContentHandler(org.xml.sax.ContentHandler contentHandler)
Set a SAX content handler to receive SAX events.

Parameters:
contentHandler - SAX content handler

getContentHandler

public final org.xml.sax.ContentHandler getContentHandler()
Get the SAX content handler currently in use.

Returns:
ContentHandler SAX content handler.

setGrammarCache

public void setGrammarCache(GrammarCache grammarCache)
                     throws org.openexi.proc.common.EXIOptionsException
Set the GrammarCache used in parsing EXI streams.

Parameters:
grammarCache - GrammarCache
Throws:
org.openexi.proc.common.EXIOptionsException