|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.apache.xerces.framework.XMLParser | +--org.enhydra.apache.xerces.parsers.SAXParser | +--org.enhydra.apache.xerces.readers.XCatalog.Parser
Parser for XCatalog document instances.
Nested Class Summary | |
(package private) class |
XCatalog.Parser.Resolver
Resolver for locating the XCatalog DTD resource. |
Nested classes inherited from class org.enhydra.apache.xerces.framework.XMLDocumentHandler |
XMLDocumentHandler.DTDHandler |
Field Summary |
Fields inherited from class org.enhydra.apache.xerces.framework.XMLParser |
fEntityHandler, fErrorReporter, fGrammarResolver, fParseInProgress, fScanner, fStringPool, fValidator, SAX2_FEATURES_PREFIX, SAX2_PROPERTIES_PREFIX, XERCES_FEATURES_PREFIX, XERCES_PROPERTIES_PREFIX |
Fields inherited from interface org.enhydra.apache.xerces.framework.XMLErrorReporter |
ERRORTYPE_FATAL_ERROR, ERRORTYPE_RECOVERABLE_ERROR, ERRORTYPE_WARNING |
Constructor Summary | |
XCatalog.Parser(InputSource source)
Parses the specified input source. |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
Not implemented. |
void |
endDocument()
Not implemented. |
void |
endElement(java.lang.String elementName)
Not implemented. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Not implemented. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Not implemented. |
protected void |
setBase(java.lang.String systemId)
Sets the base from the given system identifier. |
void |
setDocumentLocator(Locator locator)
Not implemented. |
void |
startDocument()
Not implemented. |
void |
startElement(java.lang.String elementName,
AttributeList attrList)
The start of an element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xml.sax.Parser |
parse, parse, setEntityResolver, setErrorHandler, setLocale |
Methods inherited from interface org.xml.sax.XMLReader |
getEntityResolver, getErrorHandler, parse, parse, setEntityResolver, setErrorHandler |
Constructor Detail |
public XCatalog.Parser(InputSource source) throws SAXException, java.io.IOException
Method Detail |
protected void setBase(java.lang.String systemId) throws SAXException
SAXException
public void processingInstruction(java.lang.String target, java.lang.String data)
processingInstruction
in interface DocumentHandler
target
- The processing instruction target.data
- The processing instruction data, or null if
none was supplied.public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface DocumentHandler
locator
- An object that can return the location of
any SAX document event.Locator
public void startDocument()
startDocument
in interface DocumentHandler
startDocument
in class SAXParser
public void endElement(java.lang.String elementName)
endElement
in interface DocumentHandler
elementName
- The element type namepublic void endDocument()
endDocument
in interface DocumentHandler
endDocument
in class SAXParser
public void characters(char[] ch, int start, int length)
characters
in interface DocumentHandler
characters
in class SAXParser
ch
- The characters from the XML document.start
- The start position in the array.length
- The number of characters to read from the array.DocumentHandler.ignorableWhitespace(char[], int, int)
,
Locator
public void ignorableWhitespace(char[] ch, int start, int length)
ignorableWhitespace
in interface DocumentHandler
ignorableWhitespace
in class SAXParser
ch
- The characters from the XML document.start
- The start position in the array.length
- The number of characters to read from the array.DocumentHandler.characters(char[], int, int)
public void startElement(java.lang.String elementName, AttributeList attrList) throws SAXException
startElement
in interface DocumentHandler
elementName
- The element type name.attrList
- The attributes attached to the element, if any.
SAXException
- Any SAX exception, possibly
wrapping another exception.DocumentHandler.endElement(java.lang.String)
,
AttributeList
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |