|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.xml.XMLCharacters
org.apache.batik.xml.XMLUtilities
org.apache.batik.dom.util.DOMUtilities
A collection of utility functions for the DOM.
Field Summary |
Fields inherited from class org.apache.batik.xml.XMLCharacters |
ALPHABETIC_CHARACTER, NAME_CHARACTER, NAME_FIRST_CHARACTER, PUBLIC_ID_CHARACTER, VERSION_CHARACTER, XML_CHARACTER |
Constructor Summary | |
protected |
DOMUtilities()
Do not need to be instantiated. |
Method Summary | |
static String |
contentToString(String s)
Returns the given content value transformed to replace invalid characters with entities. |
static Document |
deepCloneDocument(Document doc,
DOMImplementation impl)
Deep clones a document using the given DOM implementation. |
static String |
getLocalName(String s)
Gets the local name from the given qualified name. |
static String |
getPrefix(String s)
Gets the prefix from the given qualified name. |
static boolean |
isValidName(String s)
Tests whether the given string is a valid name. |
static boolean |
isValidPrefix(String s)
Tests whether the given string is a valid prefix. |
static void |
parseStyleSheetPIData(String data,
HashTable table)
Parses a 'xml-stylesheet' processing instruction data section and puts the pseudo attributes in the given table. |
static void |
writeDocument(Document doc,
Writer w)
Writes the given document using the given writer. |
static void |
writeNode(Node n,
Writer w)
Writes a node using the given writer. |
Methods inherited from class org.apache.batik.xml.XMLUtilities |
createXMLDeclarationReader, createXMLDocumentReader, encodingToJavaEncoding, getXMLDeclarationEncoding, isXMLAlphabeticCharacter, isXMLCharacter, isXMLNameCharacter, isXMLNameFirstCharacter, isXMLPublicIdCharacter, isXMLSpace, isXMLVersionCharacter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected DOMUtilities()
Method Detail |
public static void writeDocument(Document doc, Writer w) throws IOException
IOException
public static void writeNode(Node n, Writer w) throws IOException
IOException
public static String contentToString(String s)
public static Document deepCloneDocument(Document doc, DOMImplementation impl)
public static boolean isValidName(String s)
public static boolean isValidPrefix(String s)
public static String getPrefix(String s)
public static String getLocalName(String s)
public static void parseStyleSheetPIData(String data, HashTable table)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |