org.dom4j.io
Class DOMReader
public class DOMReader
extends java.lang.Object
DOMReader
navigates a W3C DOM tree and creates a DOM4J tree
from it.
DOMReader
public DOMReader()
clearNamespaceStack
protected void clearNamespaceStack()
createDocument
protected Document createDocument()
getDocumentFactory
public DocumentFactory getDocumentFactory()
DOCUMENT ME!
- the
DocumentFactory
used to create document
objects
getNamespace
protected Namespace getNamespace(String prefix,
String uri)
read
public Document read(org.w3c.dom.Document domDocument)
readElement
protected void readElement(org.w3c.dom.Node node,
Branch current)
readTree
protected void readTree(org.w3c.dom.Node node,
Branch current)
setDocumentFactory
public void setDocumentFactory(DocumentFactory docFactory)
This sets the
DocumentFactory
used to create new
documents. This method allows the building of custom DOM4J tree objects
to be implemented easily using a custom derivation of
DocumentFactory
docFactory
- DocumentFactory
used to create DOM4J objects
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by 