dk.brics.xact
Class StringTypes

java.lang.Object
  extended by dk.brics.xact.StringTypes

public abstract class StringTypes
extends Object

Patterns for various XML strings.


Method Summary
static boolean isChars(String text)
          Checks whether the given string matches (Char)*.
static boolean isName(String text)
          Checks whether the given string matches Name.
static boolean isNCName(String text)
          Checks whether the given string matches NCName.
static boolean isWhitespace(String text)
          Checks whether the given string matches S.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isChars

public static boolean isChars(String text)
Checks whether the given string matches (Char)*.


isName

public static boolean isName(String text)
Checks whether the given string matches Name.


isNCName

public static boolean isNCName(String text)
Checks whether the given string matches NCName.


isWhitespace

public static boolean isWhitespace(String text)
Checks whether the given string matches S.



Copyright © 2005-2011 Aarhus University.