org.apache.woden.types
Class NCName

java.lang.Object
  extended by org.apache.woden.types.NCName

public class NCName
extends java.lang.Object

This class represents the data type NCName use for XML non-colonized names. It is based on the class of the same name in Apache Axis.

Author:
jkaputin@apache.org

Constructor Summary
NCName()
           
NCName(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object that)
           
static boolean isValid(java.lang.String stValue)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NCName

public NCName()

NCName

public NCName(java.lang.String value)
Parameters:
value - String representing an NCName
Throws:
java.lang.IllegalArgumentException - if value is not a valid NCName
Method Detail

isValid

public static boolean isValid(java.lang.String stValue)

setValue

public void setValue(java.lang.String value)
Parameters:
value - String representing an NCName
Throws:
java.lang.IllegalArgumentException - if value is not a valid NCName

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object


Copyright © 2007. All Rights Reserved.