org.apache.batik.util
Class XMLUtilities

java.lang.Object
  |
  +--org.apache.batik.util.XMLCharacters
        |
        +--org.apache.batik.util.XMLUtilities
Direct Known Subclasses:
DOMUtilities

public class XMLUtilities
extends XMLCharacters

A collection of utility functions for XML.


Fields inherited from class org.apache.batik.util.XMLCharacters
ALPHABETIC_CHARACTER, NAME_CHARACTER, NAME_FIRST_CHARACTER, PUBLIC_ID_CHARACTER, VERSION_CHARACTER, XML_CHARACTER
 
Constructor Summary
protected XMLUtilities()
          This class does not need to be instantiated.
 
Method Summary
static boolean isXMLAlphabeticCharacter(char c)
          Tests whether the given character is a valid aphabetic character.
static boolean isXMLCharacter(int c)
          Tests whether the given 32 bits character is valid in XML documents.
static boolean isXMLNameCharacter(char c)
          Tests whether the given character is a valid XML name character.
static boolean isXMLNameFirstCharacter(char c)
          Tests whether the given character is usable as the first character of an XML name.
static boolean isXMLPublicIdCharacter(char c)
          Tests whether the given character is a valid XML public ID character.
static boolean isXMLSpace(char c)
          Tests whether the given character is a valid space.
static boolean isXMLVersionCharacter(char c)
          Tests whether the given character is a valid XML version character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtilities

protected XMLUtilities()
This class does not need to be instantiated.
Method Detail

isXMLSpace

public static boolean isXMLSpace(char c)
Tests whether the given character is a valid space.

isXMLNameFirstCharacter

public static boolean isXMLNameFirstCharacter(char c)
Tests whether the given character is usable as the first character of an XML name.

isXMLNameCharacter

public static boolean isXMLNameCharacter(char c)
Tests whether the given character is a valid XML name character.

isXMLCharacter

public static boolean isXMLCharacter(int c)
Tests whether the given 32 bits character is valid in XML documents.

isXMLPublicIdCharacter

public static boolean isXMLPublicIdCharacter(char c)
Tests whether the given character is a valid XML public ID character.

isXMLVersionCharacter

public static boolean isXMLVersionCharacter(char c)
Tests whether the given character is a valid XML version character.

isXMLAlphabeticCharacter

public static boolean isXMLAlphabeticCharacter(char c)
Tests whether the given character is a valid aphabetic character.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.