org.netbeans.modules.xml.xdm.nodes
Class Convertors
java.lang.Object
org.netbeans.modules.xml.xdm.nodes.Convertors
public final class Convertors
- extends Object
Set of static methods converting misc data representations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_DOCUMENT_URL
public static final String PROP_DOCUMENT_URL
- Swings document property added by this support.
- See Also:
- Constant Field Values
Convertors
public Convertors()
documentToString
public static String documentToString(Document doc)
- Returns:
- current state of Document as string
documentToInputSource
public static InputSource documentToInputSource(Document doc)
- Returns:
- InputSource, a callie SHOULD set systemId if available
readerToString
public static String readerToString(Reader reader)
throws IOException
- Wrap reader into buffered one and start reading returning
String as a EOF is reached.
- Throws:
IOException
iana2java
public static final String iana2java(String iana)
java2iana
public static final String java2iana(String java)