|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.dom.AbstractDOMFactoryImpl org.dbforms.dom.DOMFactoryXALANImpl
public class DOMFactoryXALANImpl
special implementation of the DOMFactory for xerces/xalan implementation, This is the default class used by DOMFactory!
Constructor Summary | |
---|---|
DOMFactoryXALANImpl()
|
Method Summary | |
---|---|
String |
DOM2String(Document doc)
Creates a string representation of the given DOMDocument |
Document |
newDOMDocument()
Creates a new empty DOMDocument |
org.w3c.dom.xpath.XPathEvaluator |
newXPathEvaluator()
returns an new created XPathEvaluator |
Document |
read(InputStream in)
Reads a DOMDocument from given url |
Document |
String2DOM(String data)
Creates an new DOMDocument from the given string |
void |
write(OutputStream out,
Element root)
Writes a DOMDocument into an OutputStream |
Methods inherited from class org.dbforms.dom.AbstractDOMFactoryImpl |
---|
read, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOMFactoryXALANImpl()
Method Detail |
---|
public String DOM2String(Document doc)
DOM2String
in interface IDOMFactory
DOM2String
in class AbstractDOMFactoryImpl
doc
- The document to transform
public Document String2DOM(String data)
String2DOM
in interface IDOMFactory
String2DOM
in class AbstractDOMFactoryImpl
data
- the string to parse
public Document newDOMDocument()
newDOMDocument
in interface IDOMFactory
newDOMDocument
in class AbstractDOMFactoryImpl
public org.w3c.dom.xpath.XPathEvaluator newXPathEvaluator()
newXPathEvaluator
in interface IDOMFactory
newXPathEvaluator
in class AbstractDOMFactoryImpl
public Document read(InputStream in)
read
in interface IDOMFactory
read
in class AbstractDOMFactoryImpl
in
- the url to read from
public void write(OutputStream out, Element root)
write
in interface IDOMFactory
write
in class AbstractDOMFactoryImpl
out
- OutputStream to write intoroot
- The Ddcument to write
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |