net.authorize.util
Class BasicXmlDocument
java.lang.Object
net.authorize.util.BasicXmlDocument
- All Implemented Interfaces:
- Serializable
public class BasicXmlDocument
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicXmlDocument
public BasicXmlDocument()
BasicXmlDocument
public BasicXmlDocument(String sourceFile)
setResolvePath
public void setResolvePath(String p)
getParseTime
public long getParseTime()
IsAccessible
public boolean IsAccessible()
getDocument
public Document getDocument()
getDocumentElement
public Element getDocumentElement()
createElement
public Element createElement(String name)
getErrors
public ArrayList<String> getErrors()
addError
public void addError(String message)
removeChildren
public boolean removeChildren(Node ref)
parse
public boolean parse()
parse
public boolean parse(String xmlFile)
saveDocument
public void saveDocument(String fileName)
parse
public boolean parse(File in_file)
parse
public boolean parse(InputStream in)
parseString
public boolean parseString(String xmlValue)
parseBytes
public boolean parseBytes(byte[] xmlBytes)
dump
public String dump()
dump
public String dump(boolean collapse)
dumpToDisk
public boolean dumpToDisk(String fileName)
dumpToDisk
public boolean dumpToDisk(String fileName,
boolean collapse)
getElementText
public static String getElementText(Element parent_el,
String element_name)
- Helper for getting element text from a parent.
- Parameters:
parent_el - element_name -
- Returns:
- element text
Copyright © 2014. All Rights Reserved.