org.apache.woden.types
Class NCName

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

public class NCName
extends 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(String value)
           
 
Method Summary
 boolean equals(Object that)
           
 int hashCode()
           
static boolean isValid(String stValue)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NCName

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

isValid

public static boolean isValid(String stValue)

setValue

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

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object that)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.