public class Id extends NCName
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValid(String stValue)
validate the value against the xsd definition
Same validation as NCName for the time being
|
void |
setValue(String stValue)
validates the data and sets the value for the object.
|
equals, hashCode, toStringpublic Id()
public Id(String stValue) throws IllegalArgumentException
IllegalArgumentException - will be thrown if validation failspublic void setValue(String stValue) throws IllegalArgumentException
setValue in class NCNameToken - String valueIllegalArgumentException - if invalid formatpublic static boolean isValid(String stValue)
Copyright © The Apache Software Foundation. All Rights Reserved.