| java.lang.Object org.xml.sax.helpers.DefaultHandler org.netbeans.core.filesystems.DefaultParser
All known Subclasses: org.netbeans.core.filesystems.XMLMIMEComponent,
DefaultParser | abstract class DefaultParser extends DefaultHandler (Code) | | Implements default interruptible silent parser behaviour.
Errors can be tested by quering parser state.
author: Petr Kuzel version: 1.0 |
Field Summary | |
final protected static short | ERROR | final protected static short | INIT | final protected static short | PARSED | protected FileObject | fo | protected short | state |
ERROR | final protected static short ERROR(Code) | | |
INIT | final protected static short INIT(Code) | | |
PARSED | final protected static short PARSED(Code) | | |
fo | protected FileObject fo(Code) | | |
state | protected short state(Code) | | |
DefaultParser | protected DefaultParser()(Code) | | |
DefaultParser | protected DefaultParser(FileObject fo)(Code) | | |
error | protected void error() throws SAXException(Code) | | Report error occured during custom validation.
|
getState | protected short getState()(Code) | | current parser state |
isStopException | protected boolean isStopException(Exception e)(Code) | | Check if the given exception is one thrown from the handler
for stopping the parser.
|
parse | protected void parse(FileObject fo)(Code) | | Parser content workarounding known parser implementation
problems.
|
parse | final protected void parse()(Code) | | Parser default file object
|
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|