|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComplexAttributeHandler
This defines a generic interface to handle complex attribute
Method Summary | |
---|---|
boolean |
equals(java.lang.String attrName,
java.lang.String value1,
java.lang.String value2)
Compares the two attribute values for a complex attribute and see if the values are equal or not |
ComplexAttributeValue |
getAttributeValue(java.lang.String attrName,
java.lang.String attributeValueAsString)
Constructs the ComplexAttributeValue object given the name and string representation of the attribute value assuming that the string format can be understood by the specific attribute handler |
java.lang.String |
getString(java.lang.String attrName,
ComplexAttributeValue value)
Returns the string representation of the complex attribute using pre-defined format by the specific attribute handler. |
AttributeValues |
getSubAttributeDefaults(java.lang.String attrName)
Constructs set of sub-attributes for a complex attribute value The implementation of the handler will determine where the defaults are specified or how it is being generated. |
Method Detail |
---|
ComplexAttributeValue getAttributeValue(java.lang.String attrName, java.lang.String attributeValueAsString)
attrName
- The name of the attributeattributeValueAsString
- A string representation of a attribute value.
java.lang.String getString(java.lang.String attrName, ComplexAttributeValue value)
attrName
- The name of the attributevalue
- The value of a complex attribute. A complex attribute can be either single or multi valued
AttributeValues getSubAttributeDefaults(java.lang.String attrName)
attrName
- The name of the attribute
boolean equals(java.lang.String attrName, java.lang.String value1, java.lang.String value2)
attrName
- The name of the attributevalue1
- The value of a complex attributevalue2
- The value of a complex attribute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |