Class Id
- 
- All Implemented Interfaces:
- Serializable
 
 public class Id extends NCName Custom class for supporting XSD data type ID The base type of Id is NCName.- See Also:
- XML Schema 3.3.8, Serialized Form
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanisValid(String stValue)Validates the value against the xsd definition.voidsetValue(String stValue)Validates the data and sets the value for the object.- 
Methods inherited from class org.apache.axis2.databinding.types.NormalizedStringequals, hashCode, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
Idpublic Id() 
 - 
Idpublic Id(String stValue) throws IllegalArgumentException Constructor for Id.- Throws:
- IllegalArgumentException- will be thrown if validation fails
 
 
- 
 - 
Method Detail- 
setValuepublic void setValue(String stValue) throws IllegalArgumentException Validates the data and sets the value for the object.- Overrides:
- setValuein class- NCName
- Parameters:
- stValue- String value
- Throws:
- IllegalArgumentException- if invalid format
 
 - 
isValidpublic static boolean isValid(String stValue) Validates the value against the xsd definition. Same validation as NCName for the time being
 
- 
 
-