Web hosting resellers - Java & XML, 2nd Edition public String getData(
Java & XML, 2nd Edition public String getData( ); public ProcessingInstruction setData(String data); public ProcessingInstruction setData(Map data); public String getValue(String name); public ProcessingInstruction setValue(String name, String value); public boolean removeValue(String name); public Object clone( ); public boolean equals(Object obj); public int hashCode( ); public String toString( ); } A.4.1.11 Text This class represents character data “owned” by a JDOM Element. It is generally invisible to the user, as the Element class converts this class to a simple String when the value is requested. It is only exposed through an Element’s getContent( ) method. public class Text { public Text(String stringValue); public Element getParent( ); public void append(String stringValue); public String getValue( ); public void setValue(String stringValue); public Object clone( ); public boolean equals(Object obj); public int hashCode( ); public String toString( ); } A.4.2 Package: org.jdom.adapters This package contains adapters that allow a standard interface for obtaining a DOM Document object from any DOM parser (including DOM Level 1 parsers). Adapters can be easily added for any parser that desires to have JDOM support. A.4.2.1 AbstractDOMAdapter This class provides default behavior for the version of getDocument( ) that takes in a filename by wrapping the file in a FileOutputStream and delegating invocation to getDocument(InputStream). public abstract class AbstractDOMAdapter implements DOMAdapter { public abstract Document getDocument(InputStream in, boolean validate) throws IOException; public abstract Document getDocument(File filename, boolean validate) throws IOException; public abstract Document createDocument(DocType docType) throws IOException; }
You need excellent and relaible webhost company to host your web applications? Then pay a visit to Inexpensive Web Hosting services.