|
|||||||||||
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(String elementName)
Not implemented. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Not implemented. |
void |
processingInstruction(String target,
String data)
Not implemented. |
protected void |
setBase(String systemId)
Sets the base from the given system identifier. |
void |
setDocumentLocator(Locator locator)
Not implemented. |
void |
startDocument()
Not implemented. |
void |
startElement(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, IOException
Method Detail |
protected void setBase(String systemId) throws SAXException
SAXException
public void processingInstruction(String target, String data)
processingInstruction
in interface DocumentHandler
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface DocumentHandler
public void startDocument()
startDocument
in interface DocumentHandler
startDocument
in class SAXParser
public void endElement(String elementName)
endElement
in interface DocumentHandler
public 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
- character array containing the characters that were scannedstart
- offset in ch where scanned characters beginlength
- length of scanned characters in chpublic void ignorableWhitespace(char[] ch, int start, int length)
ignorableWhitespace
in interface DocumentHandler
ignorableWhitespace
in class SAXParser
ch
- character array containing the whitespace that was scannedstart
- offset in ch where scanned whitespace beginslength
- length of scanned whitespace in chpublic void startElement(String elementName, AttributeList attrList) throws SAXException
startElement
in interface DocumentHandler
SAXException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |