|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.parsers.DocumentBuilder
com.icl.saxon.om.DocumentBuilderImpl
| Constructor Summary | |
DocumentBuilderImpl()
|
|
| Method Summary | |
org.w3c.dom.DOMImplementation |
getDOMImplementation()
Obtain an instance of a DOMImplementation 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 Document object
to build a DOM tree with. |
org.w3c.dom.Document |
parse(org.xml.sax.InputSource in)
Parse the content of the given input source 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 er)
Specify the ErrorHandler to be used by the parser. |
| Methods inherited from class javax.xml.parsers.DocumentBuilder |
getSchema, isXIncludeAware, parse, parse, parse, parse, reset |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DocumentBuilderImpl()
| Method Detail |
public boolean isNamespaceAware()
DocumentBuilder
isNamespaceAware in class DocumentBuilderpublic boolean isValidating()
DocumentBuilder
isValidating in class DocumentBuilderpublic org.w3c.dom.Document newDocument()
DocumentBuilderDocument object
to build a DOM tree with.
newDocument in class DocumentBuilder
public org.w3c.dom.Document parse(org.xml.sax.InputSource in)
throws org.xml.sax.SAXException
DocumentBuilderDocument object.
An IllegalArgumentException is thrown if the
InputSource is null null.
parse in class DocumentBuilderin - InputSource containing the content to be parsed.
org.xml.sax.SAXException - If any parse errors occur.DocumentHandlerpublic void setEntityResolver(org.xml.sax.EntityResolver er)
DocumentBuilderEntityResolver to be used to resolve
entities present in the XML document to be parsed. Setting
this to null will result in the underlying
implementation using it's own default implementation and
behavior.
setEntityResolver in class DocumentBuilderer - The EntityResolver to be used to resolve entities
present in the XML document to be parsed.public void setErrorHandler(org.xml.sax.ErrorHandler er)
DocumentBuilderErrorHandler to be used by the parser.
Setting this to null will result in the underlying
implementation using it's own default implementation and
behavior.
setErrorHandler in class DocumentBuilderer - The ErrorHandler to be used by the parser.public org.w3c.dom.DOMImplementation getDOMImplementation()
DocumentBuilderDOMImplementation object.
getDOMImplementation in class DocumentBuilderDOMImplementation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||