org.apache.woden.types
Class NCName
java.lang.Object
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
NCName
public NCName(String value)
- Parameters:
value
- String representing an NCName
- Throws:
IllegalArgumentException
- if value is not a valid NCName
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.