API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.xml. JOTXML View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      JOTXMLElement
          JOTXML
Implements
Subclasses
Description
public class JOTXML
Does not deal with "entity" (ignored)
See also:   
Constructors
public JOTXML (JOTXMLElement rootElement)
Create a new xml file with the given root element.
public JOTXML (StringBuffer xml) throws net.jot.xml.JOTXMLException
  Create the XML object from the given raw xml(text) You can get this xml from a file using (JOTXML.readXML())
Methods
Hide/Show inherited methods
protected void addItem (Object item) [Inherited From JOTXMLElement]
public Vector getAllItems () [Inherited From JOTXMLElement]
Return all the items included in this element (including comments, spaces etc...)
public JOTXMLElement getChilds () [Inherited From JOTXMLElement]
Return this element sub-elements (childs)
public String getName () [Inherited From JOTXMLElement]
public JOTXMLElement getRoot ()
public String getValue () [Inherited From JOTXMLElement]
publicstatic StringBuffer readXmlFrom (File f) throws IOException
publicstatic StringBuffer readXmlFrom (InputStream stream) throws IOException
  Note: You are responsible for closing the stream
pack-private void setValue (String val) [Inherited From JOTXMLElement]
public void writeTo (File out) throws IOException
public void writeTo (OutputStream out) throws IOException
Fields
Hide/Show inherited fields
protected Vector items [Inherited From JOTXMLElement]
  ordered list of items found in the page such as root xml element, definition, comments etc...
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar