com.[YourSchema].[YourSchemaType].MemberAttribute
When code is generated from an XML schema, a class is created for each member attribute of a type. In the descriptions below, "AttributeType" stands for the type of the member attribute itself.
Methods
Name | Description | |
---|---|---|
boolean exists() | Returns true if the attribute exists. | |
int getEnumerationValue() | Generated for enumeration types only. Returns one of the constants generated for the possible values, or Invalid if the value does not match any of the enumerated values in the schema. | |
com.altova.xml.meta.Attribute getInfo() | Returns an object for querying schema information (see com.altova.xml.meta.Attribute ). | |
AttributeType getValue() | Gets the attribute value. | |
void remove() | Removes the attribute from its parent element. | |
void setEnumerationValue(int) | Generated for enumeration types only. Pass one of the constants generated for the possible values to this method to set the value. | |
void setValue(AttributeType value) | Sets the attribute value. |