org.sf.jlaunchpad.xml
Class XmlHelper
java.lang.Object
org.sf.jlaunchpad.xml.XmlHelper
- Direct Known Subclasses:
- ProxiesXmlHelper
public class XmlHelper
- extends java.lang.Object
Field Summary |
protected org.jdom.Document |
document
|
protected org.jdom.input.SAXBuilder |
saxBuilder
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
saxBuilder
protected org.jdom.input.SAXBuilder saxBuilder
document
protected org.jdom.Document document
XmlHelper
public XmlHelper()
read
public void read(java.io.File inputFile)
throws java.io.IOException,
org.jdom.JDOMException
- Throws:
java.io.IOException
org.jdom.JDOMException
save
public void save(java.io.File outputFile)
throws java.io.IOException
- Throws:
java.io.IOException
getFragment
public org.jdom.Element getFragment(java.io.File file)
throws java.io.IOException,
org.jdom.JDOMException
- Throws:
java.io.IOException
org.jdom.JDOMException
getElementByPath
public org.jdom.Element getElementByPath(org.jdom.Element parent,
java.lang.String[] path)
getElementByName
public org.jdom.Element getElementByName(java.lang.String name)
getElementByName
public org.jdom.Element getElementByName(org.jdom.Element parent,
java.lang.String name)
printChildren
public void printChildren(org.jdom.Element parent)
Copyright © 2007-2008 Dream Programs Inc.. All Rights Reserved.