| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectelectric.xml.sax.SAXParser
SAXParser.
| Field Summary | |
static int | 
IGNORE_WHITESPACE
Ignore whitespace during parsing.  | 
| Fields inherited from interface electric.xml.IXMLConstants | 
ATTLIST_START, ATTLIST_STOP, CDATA, CDATA_START, CDATA_STOP, CLOSE_TAG, COLON, COMMENT_START, COMMENT_STOP, DOCTYPE_START, DOCTYPE_STOP, ELEMENTDECL_START, ELEMENTDECL_STOP, ENCODING, ENTITYDECL_START, ENTITYDECL_STOP, ID, ID_CASE, INSTRUCTION_START, INSTRUCTION_STOP, NEGATIVE_INFINITY, NOT_A_NUMBER, NOTATIONDECL_START, NOTATIONDECL_STOP, NULL, OPEN_TAG, POSITIVE_INFINITY, PUBLIC, SPECIALS, STANDALONE, SUBSTITUTES, SYSTEM, UNDEFINED, VERSION, XML, XML_NAMESPACE, XMLDECL_START, XMLDECL_STOP, XMLNS, XMLNS_NAMESPACE | 
| Fields inherited from interface electric.xml.sax.ISAXConstants | 
DECLARATION_HANDLER, DOM_NODE, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAMETER_ENTITIES, FEATURES, IS_STANDALONE, KEEP_WHITESPACE, KEEP_WHITESPACE_FLAG, LEXICAL_HANDLER, NAMESPACE_PREFIXES, NAMESPACES, PARAMETER_ENTITIES, PROPERTIES, RESOLVE_DTD_URIS, SAX_EXCEPTION, STRING_INTERNING, USE_ATTRIBUTES_2, USE_ENTITY_RESOLVER_2, USE_LOCATOR_2, VALIDATION, XML_STRING, XMLNS_URIS | 
| Constructor Summary | |
SAXParser()
 | 
|
| Method Summary | |
 int | 
getColumnNumber()
Return the column number where the current document event ends.  | 
 org.xml.sax.ContentHandler | 
getContentHandler()
Return the current content handler.  | 
 org.xml.sax.DTDHandler | 
getDTDHandler()
Return the current DTD handler.  | 
 org.xml.sax.EntityResolver | 
getEntityResolver()
Return the current entity resolver.  | 
 org.xml.sax.ErrorHandler | 
getErrorHandler()
Return the current error handler.  | 
 boolean | 
getFeature(java.lang.String name)
Return the value of the named feature.  | 
 int | 
getLineNumber()
Return the line number where the current document event ends.  | 
 java.lang.Object | 
getProperty(java.lang.String name)
Return the value of the named property.  | 
 java.lang.String | 
getPublicId()
Return the public identifier for the current document event.  | 
 java.lang.String | 
getSystemId()
Return the system identifier for the current document event.  | 
 void | 
parse(byte[] bytes)
 | 
 void | 
parse(java.io.File file)
 | 
 void | 
parse(org.xml.sax.InputSource input)
Parse an XML document.  | 
 void | 
parse(java.io.InputStream stream)
 | 
 void | 
parse(java.lang.String url)
Parse the XML document at the specified URL.  | 
 void | 
setContentHandler(org.xml.sax.ContentHandler handler)
Set the current content handler.  | 
 void | 
setDTDHandler(org.xml.sax.DTDHandler handler)
Set the current DTD Handler.  | 
 void | 
setEntityResolver(org.xml.sax.EntityResolver resolver)
Set the current entity resolver;  | 
 void | 
setErrorHandler(org.xml.sax.ErrorHandler handler)
Set the current error handler.  | 
 void | 
setFeature(java.lang.String name,
           boolean value)
Set the value of the named feature.  | 
 void | 
setProperty(java.lang.String name,
            java.lang.Object value)
Set the value of the named property.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static int IGNORE_WHITESPACE
| Constructor Detail | 
public SAXParser()
| Method Detail | 
public boolean getFeature(java.lang.String name)
                   throws org.xml.sax.SAXNotRecognizedException,
                          org.xml.sax.SAXNotSupportedException
getFeature in interface org.xml.sax.XMLReadername - The name of the feature.
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setFeature(java.lang.String name,
                       boolean value)
                throws org.xml.sax.SAXNotRecognizedException,
                       org.xml.sax.SAXNotSupportedException
setFeature in interface org.xml.sax.XMLReadername - The name of the feature.value - The new value.
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setProperty(java.lang.String name,
                        java.lang.Object value)
                 throws org.xml.sax.SAXNotRecognizedException,
                        org.xml.sax.SAXNotSupportedException
setProperty in interface org.xml.sax.XMLReadername - The name of the property.value - The new value.
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public java.lang.Object getProperty(java.lang.String name)
                             throws org.xml.sax.SAXNotRecognizedException,
                                    org.xml.sax.SAXNotSupportedException
getProperty in interface org.xml.sax.XMLReadername - 
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedExceptionpublic org.xml.sax.ContentHandler getContentHandler()
getContentHandler in interface org.xml.sax.XMLReaderpublic void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler in interface org.xml.sax.XMLReaderhandler - The new value.public org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler in interface org.xml.sax.XMLReaderpublic void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler in interface org.xml.sax.XMLReaderhandler - The new value.public org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler in interface org.xml.sax.XMLReaderpublic void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler in interface org.xml.sax.XMLReaderhandler - The new value.public org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver in interface org.xml.sax.XMLReaderpublic void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver in interface org.xml.sax.XMLReaderresolver - The new value.
public void parse(org.xml.sax.InputSource input)
           throws java.io.IOException,
                  org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderinput - The input.
java.io.IOException - An I/O exception from the parser.
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
public void parse(java.lang.String url)
           throws java.io.IOException,
                  org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderurl - A URL to the document to parse.
java.io.IOException - An I/O exception from the parser.
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
public void parse(byte[] bytes)
           throws java.io.IOException,
                  org.xml.sax.SAXException
bytes - 
java.io.IOException - An I/O exception from the parser.
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
public void parse(java.io.InputStream stream)
           throws java.io.IOException,
                  org.xml.sax.SAXException
stream - 
java.io.IOException - An I/O exception from the parser.
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
public void parse(java.io.File file)
           throws java.io.IOException,
                  org.xml.sax.SAXException
file - 
java.io.IOException - An I/O exception from the parser.
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.public int getColumnNumber()
getColumnNumber in interface org.xml.sax.Locatorpublic int getLineNumber()
getLineNumber in interface org.xml.sax.Locatorpublic java.lang.String getPublicId()
getPublicId in interface org.xml.sax.Locatorpublic java.lang.String getSystemId()
getSystemId in interface org.xml.sax.Locator
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||