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