|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ConstAttributeElement represents an attribute name value pair. This interface provides only the "getter" methods. AttributeElement, which extends this interface, provides the "setter" methods.
AttributeElement
Method Summary | |
java.lang.Object |
clone()
Perform deep copy. |
java.lang.String |
getASIType()
Gets the ASI type name. |
java.lang.String |
getName()
Gets the attribute Name. |
java.lang.Object |
getValue()
Gets the attribute Value. |
java.lang.Object |
getValueAs(java.lang.Class type)
Attempts to convert internal value to the supplied type. |
boolean |
isList()
Determines if this is a multi-valued attribute. |
Method Detail |
public java.lang.Object clone()
public java.lang.String getASIType()
public java.lang.String getName()
public java.lang.Object getValue()
java.util.Collection
.
Modification to the value must be made using the AttributeElement.setValue
method.
public java.lang.Object getValueAs(java.lang.Class type) throws BadParameterException, UnsupportedTypeException, TypeConversionException
type
- can be any class registered with TypeConverterRegistry
UnsupportedTypeException
- Indicates that a TypeConverter is not registered for the given type.
TypeConversionException
- Indicataes that the registered type converter was unable to perform the conversion.
BadParameterException
TypeConverterRegistry
,
TypeConverter
public boolean isList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |