|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CustomAttributeValue
A generic container for the value of a custom attribute. Allows custom serialization of the attribute value. Also, provides namespaces which should be declared in the scope surrounding this attribute value.
| Method Summary | |
|---|---|
HashMap |
getNamespaces()
Returns the namespaces used within this attribute value. |
java.lang.Object |
getValue()
Returns the value of the attribute. |
void |
serialize(org.xmlpull.v1.XmlSerializer serializer,
QName attributeName)
Serializes this attribute value using the provided XmlSerializer. |
| Method Detail |
|---|
HashMap getNamespaces()
java.lang.Object getValue()
void serialize(org.xmlpull.v1.XmlSerializer serializer,
QName attributeName)
throws java.io.IOException
XmlSerializer.
The value is assigned to an attribute with the specified qualified name
attributeName.
serializer - the serializer to write the attribute value toattributeName - the name of the attribute to assign this attribute
value to
java.io.IOException - if an error occurs during writing to the serializer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||