|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xindice.xml.sax.SAXEventGenerator
SAXEventGenerator
Field Summary | |
static String |
SAX_NAMESPACE_PREFIXES_FEATURE
This is a SAX feature that controls how namespaces are reported in SAX. |
static String |
SAX_NAMESPACES_FEATURE
This is a SAX feature that controls how namespaces are reported in SAX. |
Constructor Summary | |
SAXEventGenerator(SymbolTable symbols,
byte[] data)
|
|
SAXEventGenerator(SymbolTable symbols,
byte[] data,
int pos,
int len)
|
|
SAXEventGenerator(SymbolTable symbols,
org.w3c.dom.Document doc)
|
Method Summary | |
org.xml.sax.ContentHandler |
getContentHandler()
|
org.xml.sax.DTDHandler |
getDTDHandler()
|
org.xml.sax.EntityResolver |
getEntityResolver()
|
org.xml.sax.ErrorHandler |
getErrorHandler()
|
boolean |
getFeature(String name)
Return SAX feature setting for the SAX generated by this class. |
Object |
getProperty(String name)
|
void |
parse(org.xml.sax.InputSource input)
|
void |
parse(String systemId)
|
boolean |
processContainer(boolean element,
int pos,
int len)
|
void |
setContentHandler(org.xml.sax.ContentHandler handler)
|
void |
setDTDHandler(org.xml.sax.DTDHandler handler)
|
void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
|
void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
|
void |
setFeature(String name,
boolean value)
Set SAX feature for the SAX generated by this class. |
void |
setProperty(String name,
Object value)
|
boolean |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String SAX_NAMESPACES_FEATURE
public static final String SAX_NAMESPACE_PREFIXES_FEATURE
Constructor Detail |
public SAXEventGenerator(SymbolTable symbols, byte[] data)
public SAXEventGenerator(SymbolTable symbols, byte[] data, int pos, int len)
public SAXEventGenerator(SymbolTable symbols, org.w3c.dom.Document doc)
Method Detail |
public boolean getFeature(String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
getFeature
in interface org.xml.sax.XMLReader
name
- feature name. Supported features are the standard SAX namespace
reporting features as documented in the specification.
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setFeature(String name, boolean value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
setFeature
in interface org.xml.sax.XMLReader
name
- feature name. Supported features are the standard SAX namespace
reporting features as documented in the specification.value
- specified the status of the feature.
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public Object getProperty(String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
getProperty
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setProperty(String name, Object value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
setProperty
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver
in interface org.xml.sax.XMLReader
public org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver
in interface org.xml.sax.XMLReader
public void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler
in interface org.xml.sax.XMLReader
public org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler
in interface org.xml.sax.XMLReader
public void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler
in interface org.xml.sax.XMLReader
public org.xml.sax.ContentHandler getContentHandler()
getContentHandler
in interface org.xml.sax.XMLReader
public void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler
in interface org.xml.sax.XMLReader
public org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler
in interface org.xml.sax.XMLReader
public void parse(org.xml.sax.InputSource input) throws IOException, org.xml.sax.SAXException
parse
in interface org.xml.sax.XMLReader
IOException
org.xml.sax.SAXException
public void parse(String systemId) throws IOException, org.xml.sax.SAXException
parse
in interface org.xml.sax.XMLReader
IOException
org.xml.sax.SAXException
public boolean processContainer(boolean element, int pos, int len) throws IOException, org.xml.sax.SAXException
IOException
org.xml.sax.SAXException
public boolean start() throws IOException, org.xml.sax.SAXException
IOException
org.xml.sax.SAXException
public void stop()
|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |