public class Id extends NCName
| Constructor and Description |
|---|
Id() |
Id(java.lang.String stValue)
Constructor for Id.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValid(java.lang.String stValue)
Validates the value against the xsd definition.
|
void |
setValue(java.lang.String stValue)
Validates the data and sets the value for the object.
|
equals, hashCode, toStringpublic Id()
public Id(java.lang.String stValue) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException - will be thrown if validation failspublic void setValue(java.lang.String stValue)
throws java.lang.IllegalArgumentException
public static boolean isValid(java.lang.String stValue)
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.