public class XMLDoc extends XMLBasedDoc<XMLNode>
NL
Constructor and Description |
---|
XMLDoc() |
XMLDoc(BufferedInputStream inStream)
The preferred way to read XML from a stream.
|
XMLDoc(BufferedReader inReader) |
XMLDoc(File inFile)
The preferred way to read XML from a file.
|
XMLDoc(XMLTag inRootNode) |
Modifier and Type | Method and Description |
---|---|
XMLDoc |
clone() |
XMLDoc |
setDoctype(Doctype inValue) |
XMLDoc |
setEncoding(Charset inValue) |
XMLDoc |
setIsStandalone(boolean inValue) |
XMLDoc |
setName(String inValue) |
XMLDoc |
setSpec(XMLSpec inValue) |
getDoctype, getEncoding, getHeader, getRootNode, getTagReader, getTopLevelComments, isConstructedContent, name, prepareForOutput, replaceCharacterEntities, setRootNode, toIndentedXML, toIndentedXML, toIndentedXML, toIndentedXML, toXML, toXML, toXML, toXML
public XMLDoc()
public XMLDoc(File inFile) throws XMLException, IOException
inFile
- The XML file to read.XMLException
IOException
public XMLDoc(BufferedReader inReader)
public XMLDoc(BufferedInputStream inStream)
public XMLDoc clone()
clone
in class XMLBasedDoc<XMLNode>
public XMLDoc setEncoding(Charset inValue)
setEncoding
in class XMLBasedDoc<XMLNode>
public XMLDoc setIsStandalone(boolean inValue)
setIsStandalone
in class XMLBasedDoc<XMLNode>
public XMLDoc setDoctype(Doctype inValue)
setDoctype
in class XMLBasedDoc<XMLNode>