|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ws4d.java.types.QNameAttributeValue
public class QNameAttributeValue
Representation of an attribute value as a qualified name
.
Constructor Summary | |
---|---|
QNameAttributeValue()
|
|
QNameAttributeValue(QName value)
Creates a new instance with the specified 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(QName value)
Sets the value for this attribute. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QNameAttributeValue()
public QNameAttributeValue(QName value)
value
- the attribute's valueMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public HashMap getNamespaces()
CustomAttributeValue
getNamespaces
in interface CustomAttributeValue
public java.lang.Object getValue()
CustomAttributeValue
getValue
in interface CustomAttributeValue
public void setValue(QName value)
value
- the new value for the attributepublic void serialize(org.xmlpull.v1.XmlSerializer serializer, QName attributeName) throws java.io.IOException
CustomAttributeValue
XmlSerializer
.
The value is assigned to an attribute with the specified qualified name
attributeName
.
serialize
in interface CustomAttributeValue
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 |