|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.adaptx.xml.parser.XercesParser
Creates a DOM Package for use with Apache's Xerces parser.
| Constructor Summary | |
|---|---|
XercesParser()
Instantiate parser |
|
| Method Summary | |
|---|---|
DOMParser |
copyInstance()
Creates a new copy of this DOMParser initialized with the same properties as this DOMParser. |
org.w3c.dom.Document |
createDocument()
Creates a DOM Document |
org.w3c.dom.Document |
readDocument(URILocation location,
ErrorObserver observer)
Reads an XML Document from the given Reader |
void |
setDocumentType(org.w3c.dom.Document document,
java.lang.String systemId)
Creates a DOM DocumentType using the DOM package of this DOMReader |
void |
setValidation(boolean validate)
Sets whether or not to Validate the Document |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XercesParser()
| Method Detail |
public DOMParser copyInstance()
copyInstance in interface DOMParser
public void setDocumentType(org.w3c.dom.Document document,
java.lang.String systemId)
setDocumentType in interface DOMParserpublic void setValidation(boolean validate)
setValidation in interface DOMParservalidate - a boolean indicating whether or not to
validate the Documentpublic org.w3c.dom.Document createDocument()
createDocument in interface DOMParser
public org.w3c.dom.Document readDocument(URILocation location,
ErrorObserver observer)
readDocument in interface DOMParserobserver - the ErrorObserver for notification of errorslocation - the URILocation of the document to read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||