public class ElementAttribute
extends java.lang.Object
Constructor and Description |
---|
ElementAttribute(javax.xml.namespace.QName name,
java.lang.String value)
Construct an ElementAttribute using a QName and value.
|
Modifier and Type | Method and Description |
---|---|
javax.xml.namespace.QName |
getName()
Return the QName of this ElementAttribute.
|
java.lang.String |
getValue()
Returns the value of this ElementAttribute as a String.
|
public ElementAttribute(javax.xml.namespace.QName name, java.lang.String value)
name
- the name of the ElementAttribute in the form ogf a QName
object.value
- the string value of the ElementAttribute.public javax.xml.namespace.QName getName()
public java.lang.String getValue()