public class BasicXmlDocument extends Object implements Serializable
| Constructor and Description |
|---|
BasicXmlDocument() |
BasicXmlDocument(String sourceFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(String message) |
Element |
createElement(String name) |
String |
dump() |
String |
dump(boolean collapse) |
boolean |
dumpToDisk(String fileName) |
boolean |
dumpToDisk(String fileName,
boolean collapse) |
Document |
getDocument() |
Element |
getDocumentElement() |
static String |
getElementText(Element parent_el,
String element_name)
Helper for getting element text from a parent.
|
ArrayList<String> |
getErrors() |
long |
getParseTime() |
boolean |
IsAccessible() |
boolean |
parse() |
boolean |
parse(File in_file) |
boolean |
parse(InputStream in) |
boolean |
parse(String xmlFile) |
boolean |
parseBytes(byte[] xmlBytes) |
boolean |
parseString(String xmlValue) |
boolean |
removeChildren(Node ref) |
void |
saveDocument(String fileName) |
void |
setResolvePath(String p) |
public BasicXmlDocument()
public BasicXmlDocument(String sourceFile)
public void setResolvePath(String p)
public long getParseTime()
public boolean IsAccessible()
public Document getDocument()
public Element getDocumentElement()
public void addError(String message)
public boolean removeChildren(Node ref)
public boolean parse()
public boolean parse(String xmlFile)
public void saveDocument(String fileName)
public boolean parse(File in_file)
public boolean parse(InputStream in)
public boolean parseString(String xmlValue)
public boolean parseBytes(byte[] xmlBytes)
public String dump()
public String dump(boolean collapse)
public boolean dumpToDisk(String fileName)
public boolean dumpToDisk(String fileName, boolean collapse)
Copyright © 2016. All Rights Reserved.