Package dk.netarkivet.common.xml
Class XmlBuilder
- java.lang.Object
-
- dk.netarkivet.common.xml.XmlBuilder
-
public abstract class XmlBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description XmlBuilder()
XmlBuilder(Document xmlDoc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dom4j.Document
getDoc()
protected static DocumentBuilder
getParser()
protected static Document
parseFile(String name)
Creates a default XmlDoc based on the order.xml file on the classpath.String
toString()
-
-
-
Field Detail
-
xmlDoc
protected final Document xmlDoc
-
-
Constructor Detail
-
XmlBuilder
public XmlBuilder()
-
XmlBuilder
public XmlBuilder(Document xmlDoc)
-
-
Method Detail
-
getDoc
public org.dom4j.Document getDoc()
-
getParser
protected static DocumentBuilder getParser()
-
parseFile
protected static Document parseFile(String name)
Creates a default XmlDoc based on the order.xml file on the classpath.- Returns:
- The loaded default XmlDoc.
-
-