public class XmlAttribute
extends java.lang.Object
Constructor and Description |
---|
XmlAttribute()
Constructor.
|
XmlAttribute(java.lang.String name,
java.lang.Object value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
computeRealValue()
Compute real value from attributes setting.
|
java.lang.String |
getAttribute()
Another access method for the name property.
|
java.lang.String |
getName()
Access method for the name property.
|
java.lang.String |
getRole()
Access method for the name property.
|
java.lang.Object |
getValue()
Access method for the value property.
|
void |
setAttribute(java.lang.String aName)
Sets the value of the name property.
|
void |
setBody(java.lang.String body)
Sets the value of the value property.
|
void |
setContent(java.lang.Object aValue)
Sets the value of the value property.
|
void |
setDirect(java.lang.String value)
Sets the value of the value property.
|
void |
setName(java.lang.String aName)
Sets the value of the name property.
|
void |
setRole(java.lang.String role)
Sets the value of the name property.
|
void |
setType(java.lang.String value)
Sets the value of the value property.
|
void |
setValue(java.lang.Object aValue)
Sets the value of the value property.
|
public XmlAttribute()
public XmlAttribute(java.lang.String name, java.lang.Object value)
public java.lang.String getName()
public void setRole(java.lang.String role)
role
- the new value of the name propertypublic java.lang.String getRole()
public void setName(java.lang.String aName)
aName
- the new value of the name property.public java.lang.String getAttribute()
public void setAttribute(java.lang.String aName)
aName
- the new value of the name propertypublic java.lang.Object getValue()
public void setValue(java.lang.Object aValue)
aValue
- the new value of the value propertypublic void setContent(java.lang.Object aValue)
aValue
- the new value of the value propertypublic void setBody(java.lang.String body)
body
- the new value of the value propertypublic void setDirect(java.lang.String value)
value
- the new value of the value propertypublic void setType(java.lang.String value)
value
- the new value of the value propertyprotected java.lang.Object computeRealValue()
Copyright © 2000–2019 Apache Software Foundation. All rights reserved.