|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.xml.parsers.DocumentBuilder
org.jscience.ml.cml.dom.pmr.PMRDocumentBuilder
public class PMRDocumentBuilder
DOCUMENT ME!
| Field Summary | |
|---|---|
protected javax.xml.parsers.DocumentBuilder |
documentBuilder
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
protected |
PMRDocumentBuilder()
no-arg |
|
PMRDocumentBuilder(javax.xml.parsers.DocumentBuilder documentBuilder)
the default DocumentBuilder |
|
PMRDocumentBuilder(java.lang.String className)
default unimplemented |
| Method Summary | |
|---|---|
org.w3c.dom.DOMImplementation |
getDOMImplementation()
Obtain an instance of a PMRDOMImplementation object. |
boolean |
isNamespaceAware()
Indicates whether or not this parser is configured to understand namespaces. |
boolean |
isValidating()
Indicates whether or not this parser is configured to validate XML documents. |
org.w3c.dom.Document |
newDocument()
Obtain a new instance of a DOM PMRDocument object to build a DOM tree with. |
org.w3c.dom.Document |
parse(java.io.File f)
Parse the content of the given file as an XML document and return a new DOM Document object. |
org.w3c.dom.Document |
parse(org.xml.sax.InputSource is)
Parse the content of the given input source as an XML document and return a new DOM Document object. |
org.w3c.dom.Document |
parse(java.io.InputStream is)
Parse the content of the given InputStream as an XML document and return a new DOM Document object. |
org.w3c.dom.Document |
parse(java.io.InputStream is,
java.lang.String systemId)
Parse the content of the given InputStream as an XML document and return a new DOM Document object. |
org.w3c.dom.Document |
parse(java.lang.String uri)
Parse the content of the given URI as an XML document and return a new DOM Document object. |
void |
setEntityResolver(org.xml.sax.EntityResolver er)
Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed. |
void |
setErrorHandler(org.xml.sax.ErrorHandler eh)
Specify the ErrorHandler to be used to report errors present in the XML document to be parsed. |
| Methods inherited from class javax.xml.parsers.DocumentBuilder |
|---|
getSchema, isXIncludeAware, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.xml.parsers.DocumentBuilder documentBuilder
| Constructor Detail |
|---|
protected PMRDocumentBuilder()
public PMRDocumentBuilder(javax.xml.parsers.DocumentBuilder documentBuilder)
documentBuilder - DOCUMENT ME!public PMRDocumentBuilder(java.lang.String className)
className - DOCUMENT ME!| Method Detail |
|---|
public void setEntityResolver(org.xml.sax.EntityResolver er)
setEntityResolver in class javax.xml.parsers.DocumentBuilderer - DOCUMENT ME!public void setErrorHandler(org.xml.sax.ErrorHandler eh)
setErrorHandler in class javax.xml.parsers.DocumentBuildereh - DOCUMENT ME!
public org.w3c.dom.Document parse(java.io.InputStream is)
throws org.xml.sax.SAXException,
java.io.IOException
parse in class javax.xml.parsers.DocumentBuilderis - DOCUMENT ME!
org.xml.sax.SAXException - DOCUMENT ME!
java.io.IOException
public org.w3c.dom.Document parse(java.io.InputStream is,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
parse in class javax.xml.parsers.DocumentBuilderis - DOCUMENT ME!systemId - DOCUMENT ME!
org.xml.sax.SAXException - DOCUMENT ME!
java.io.IOException
public org.w3c.dom.Document parse(java.lang.String uri)
throws org.xml.sax.SAXException,
java.io.IOException
parse in class javax.xml.parsers.DocumentBuilderuri - DOCUMENT ME!
org.xml.sax.SAXException - DOCUMENT ME!
java.io.IOException
public org.w3c.dom.Document parse(java.io.File f)
throws org.xml.sax.SAXException,
java.io.IOException
parse in class javax.xml.parsers.DocumentBuilderf - DOCUMENT ME!
org.xml.sax.SAXException - DOCUMENT ME!
java.io.IOException
public org.w3c.dom.Document parse(org.xml.sax.InputSource is)
throws org.xml.sax.SAXException,
java.io.IOException
parse in class javax.xml.parsers.DocumentBuilderis - DOCUMENT ME!
org.xml.sax.SAXException - DOCUMENT ME!
java.io.IOExceptionpublic boolean isNamespaceAware()
isNamespaceAware in class javax.xml.parsers.DocumentBuilderpublic boolean isValidating()
isValidating in class javax.xml.parsers.DocumentBuilderpublic org.w3c.dom.Document newDocument()
newDocument in class javax.xml.parsers.DocumentBuilderpublic org.w3c.dom.DOMImplementation getDOMImplementation()
getDOMImplementation in class javax.xml.parsers.DocumentBuilder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||