org.apache.axis.types

Class Id

public class Id extends NCName

Custom class for supporting XSD data type ID The base type of Id is NCName.

Author: Eddie Pick

See Also: XML Schema 3.3.8

Constructor Summary
Id()
Id(String stValue)
ctor for Id
Method Summary
static booleanisValid(String stValue)
validate the value against the xsd definition Same validation as NCName for the time being
voidsetValue(String stValue)
validates the data and sets the value for the object.

Constructor Detail

Id

public Id()

Id

public Id(String stValue)
ctor for Id

Throws: IllegalArgumentException will be thrown if validation fails

Method Detail

isValid

public static boolean isValid(String stValue)
validate the value against the xsd definition Same validation as NCName for the time being

setValue

public void setValue(String stValue)
validates the data and sets the value for the object.

Parameters: Token String value

Throws: IllegalArgumentException if invalid format

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.