net.sf.eos.document
Class XmlSerializer.XmlEosDocumentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.xml.sax.ext.DefaultHandler2
net.sf.eos.document.XmlSerializer.XmlEosDocumentHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, DeclHandler, EntityResolver2, LexicalHandler
- Enclosing class:
- XmlSerializer
protected static final class XmlSerializer.XmlEosDocumentHandler
- extends DefaultHandler2
Deserializes a EosDocument
which is serialized by
XmlSerializer.serialize(EosDocument, Writer)
.
- Author:
- Sascha Kohlmann
Methods inherited from class org.xml.sax.ext.DefaultHandler2 |
attributeDecl, comment, elementDecl, endCDATA, endDTD, endEntity, externalEntityDecl, getExternalSubset, internalEntityDecl, resolveEntity, resolveEntity, startCDATA, startDTD, startEntity |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlSerializer.XmlEosDocumentHandler
protected XmlSerializer.XmlEosDocumentHandler()
startDocument
public void startDocument()
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class DefaultHandler
endDocument
public void endDocument()
- Specified by:
endDocument
in interface ContentHandler
- Overrides:
endDocument
in class DefaultHandler
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
endElement
public void endElement(String uri,
String localName,
String qName)
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class DefaultHandler
characters
public void characters(char[] ch,
int start,
int length)
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class DefaultHandler
getDocument
public EosDocument getDocument()
- Returns a document, constructed from the value of the parser.
- Returns:
- a document if created. may be
null
or an empty
document.
Copyright © 2008. All Rights Reserved.