|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.util.xml.XMLParser
wt.util.xml.NonValidatingXML4jAdapter
Wraps IBM's XML4j (XML for Java) parser. Inherits final methods from
XMLParser which allow optional removal of empty or whitespace Text nodes
from the parsed DOM.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Constructor Summary | |
NonValidatingXML4jAdapter()
|
Method Summary | |
Document |
createDOMDocument(File file)
Deprecated. Replaced by: createDOMDocument(InputStream) |
Document |
createDOMDocument(InputStream is)
Uses IBM's XML4j to parse XML to yield a DOM Document. |
Document |
createDOMDocument(URL url)
Deprecated. Replaced by: createDOMDocument(InputStream) |
static NonValidatingXML4jAdapter |
newNonValidatingXML4jAdapter()
Supported API: false |
Methods inherited from class wt.util.xml.XMLParser |
createDOMDocument, createDOMDocument, createDOMDocument, newXMLParser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
Constructor Detail |
public NonValidatingXML4jAdapter()
Method Detail |
public static NonValidatingXML4jAdapter newNonValidatingXML4jAdapter() throws XMLMechanismException
XMLMechanismException
public Document createDOMDocument(File file) throws XMLMechanismException
createDOMDocument
in class XMLParser
file
-
XMLMechanismException
public Document createDOMDocument(URL url) throws XMLMechanismException
createDOMDocument
in class XMLParser
url
-
XMLMechanismException
public Document createDOMDocument(InputStream is) throws XMLMechanismException
InputStream
with the XML to parse.
createDOMDocument
in class XMLParser
is
-
XMLMechanismException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |