org.apache.batik.dom.util
Class DOMUtilities
java.lang.Object
|
+--org.apache.batik.util.XMLCharacters
|
+--org.apache.batik.util.XMLUtilities
|
+--org.apache.batik.dom.util.DOMUtilities
- public class DOMUtilities
- extends XMLUtilities
A collection of utility functions for the DOM.
Constructor Summary |
protected |
DOMUtilities()
Do not need to be instantiated. |
Method Summary |
static java.lang.String |
getLocalName(java.lang.String s)
Gets the local name from the given qualified name. |
static java.lang.String |
getPrefix(java.lang.String s)
Gets the prefix from the given qualified name. |
static boolean |
isValidName(java.lang.String s)
Tests whether the given string is a valid name. |
static boolean |
isValidPrefix(java.lang.String s)
Tests whether the given string is a valid prefix. |
static void |
parseStyleSheetPIData(java.lang.String data,
HashTable table)
Parses a 'xml-stylesheet' processing instruction data section and
puts the pseudo attributes in the given table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMUtilities
protected DOMUtilities()
- Do not need to be instantiated.
isValidName
public static boolean isValidName(java.lang.String s)
- Tests whether the given string is a valid name.
isValidPrefix
public static boolean isValidPrefix(java.lang.String s)
- Tests whether the given string is a valid prefix.
This method assume that isValidName(s) is true.
getPrefix
public static java.lang.String getPrefix(java.lang.String s)
- Gets the prefix from the given qualified name.
This method assume that isValidName(s) is true.
getLocalName
public static java.lang.String getLocalName(java.lang.String s)
- Gets the local name from the given qualified name.
This method assume that isValidName(s) is true.
parseStyleSheetPIData
public static void parseStyleSheetPIData(java.lang.String data,
HashTable table)
- Parses a 'xml-stylesheet' processing instruction data section and
puts the pseudo attributes in the given table.
Copyright © 2000 Apache Software Foundation. All Rights Reserved.