|
dbXML API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.framework.XMLParser | +--org.apache.xerces.parsers.DOMParser | +--org.dbxml.xml.dom.DOMParser
DOMParser is a custom override of the Xerces DOM Parser that produces a dbXML DOM.
Inner classes inherited from class org.apache.xerces.framework.XMLDocumentHandler |
org.apache.xerces.framework.XMLDocumentHandler.DTDHandler |
Fields inherited from class org.apache.xerces.parsers.DOMParser |
DEFAULT_DEFERRED_DOCUMENT_CLASS_NAME, DEFAULT_DOCUMENT_CLASS_NAME |
Fields inherited from interface org.apache.xerces.framework.XMLErrorReporter |
ERRORTYPE_FATAL_ERROR, ERRORTYPE_RECOVERABLE_ERROR, ERRORTYPE_WARNING |
Constructor Summary | |
DOMParser()
|
|
DOMParser(byte[] xml)
Constructor that takes a byte array and immediately parses it as a Document. |
|
DOMParser(org.xml.sax.InputSource source)
Constructor that takes a SAX InputSource to immediately parse the Document. |
|
DOMParser(java.io.InputStream input)
Constructor that takes an InputStream to immediately parse the Document. |
|
DOMParser(java.io.Reader input)
Constructor that takes a Reader to immediately parse the Document. |
|
DOMParser(java.lang.String xml)
Constructor that takes a String and immediately parses it as a Document. |
|
DOMParser(Value value)
Constructor that takes a dbXML Value and immediately parses it as a Document. |
Method Summary | |
static org.w3c.dom.Document |
toDocument(byte[] xml)
Parses a byte array into a DOM Document. |
static org.w3c.dom.Document |
toDocument(org.xml.sax.InputSource is)
Parses an InputSource into a DOM Document. |
static org.w3c.dom.Document |
toDocument(java.io.InputStream is)
Parses an InputStream into a DOM Document. |
static org.w3c.dom.Document |
toDocument(java.io.Reader input)
Parses a Reader into a DOM Document. |
static org.w3c.dom.Document |
toDocument(java.lang.String xml)
Parses a String into a DOM Document. |
static org.w3c.dom.Document |
toDocument(Value value)
Parses a dbXML Value into a DOM Document. |
Methods inherited from class org.apache.xerces.parsers.DOMParser |
attlistDecl, characters, characters, comment, elementDecl, endCDATA, endDocument, endDTD, endElement, endEntityReference, endNamespaceDeclScope, externalEntityDecl, externalPEDecl, getCreateEntityReferenceNodes, getDocument, getFeature, getFeaturesRecognized, getIncludeIgnorableWhitespace, getPropertiesRecognized, getProperty, ignorableWhitespace, ignorableWhitespace, internalEntityDecl, internalPEDecl, internalSubset, notationDecl, processingInstruction, reset, resetOrCopy, setFeature, setIncludeIgnorableWhitespace, setProperty, startCDATA, startDocument, startDTD, startElement, startEntityReference, startNamespaceDeclScope, textDecl, unparsedEntityDecl, xmlDecl |
Methods inherited from class org.apache.xerces.framework.XMLParser |
addRecognizer, elementDecl, getEntityResolver, getErrorHandler, getfgDatatypeMessages, getfgImplementationMessages, getfgSchemaMessages, getfgXMLMessages, getfLocale, getLocator, isFeatureRecognized, isPropertyRecognized, parse, parse, parseSome, parseSomeSetup, reportError, setEntityResolver, setErrorHandler, setLocale, setReaderFactory |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMParser() throws org.dbxml.server.dbXMLException
public DOMParser(org.xml.sax.InputSource source) throws org.dbxml.server.dbXMLException
source
- SAX InputSourcepublic DOMParser(java.io.InputStream input) throws org.dbxml.server.dbXMLException
input
- The InputStreampublic DOMParser(java.io.Reader input) throws org.dbxml.server.dbXMLException
input
- The Readerpublic DOMParser(java.lang.String xml) throws org.dbxml.server.dbXMLException
xml
- XML Document as a Stringpublic DOMParser(byte[] xml) throws org.dbxml.server.dbXMLException
xml
- The XML as a byte arraypublic DOMParser(Value value) throws org.dbxml.server.dbXMLException
value
- The XML as a ValueMethod Detail |
public static org.w3c.dom.Document toDocument(org.xml.sax.InputSource is) throws org.dbxml.server.dbXMLException
is
- The InputSourcepublic static org.w3c.dom.Document toDocument(java.io.InputStream is) throws org.dbxml.server.dbXMLException
is
- The InputStreampublic static org.w3c.dom.Document toDocument(java.io.Reader input) throws org.dbxml.server.dbXMLException
input
- The Readerpublic static org.w3c.dom.Document toDocument(java.lang.String xml) throws org.dbxml.server.dbXMLException
xml
- The Stringpublic static org.w3c.dom.Document toDocument(byte[] xml) throws org.dbxml.server.dbXMLException
xml
- The byte arraypublic static org.w3c.dom.Document toDocument(Value value) throws org.dbxml.server.dbXMLException
value
- The Value
|
dbXML API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |