|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ws4d.java.types.StringAttributeValue
public class StringAttributeValue
Custom attribute value representation as a plain string.
| Constructor Summary | |
|---|---|
StringAttributeValue(java.lang.String 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. |
void |
setValue(java.lang.String value)
Sets the value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringAttributeValue(java.lang.String value)
value - | Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic HashMap getNamespaces()
CustomAttributeValue
getNamespaces in interface CustomAttributeValuepublic java.lang.Object getValue()
CustomAttributeValue
getValue in interface CustomAttributeValuepublic void setValue(java.lang.String value)
value - the new value
public void serialize(org.xmlpull.v1.XmlSerializer serializer,
QName attributeName)
throws java.io.IOException
CustomAttributeValueXmlSerializer.
The value is assigned to an attribute with the specified qualified name
attributeName.
serialize in interface CustomAttributeValueserializer - 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 | ||||||||