public class Attribute extends Object
font-size: 15px;
| Constructor and Description |
|---|
Attribute(String name)
Creates a new attribute with the given name
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
getExpression()
Returns the expression representing the value of the attribute
|
String |
getName()
Returns the name of the attribute without the trailing ":"
|
void |
setExpression(Expression expression)
Sets the expression representing the value of the attribute
|
String |
toString() |
public Attribute(String name)
name - the name of the attribute without ":" at the endpublic void setExpression(Expression expression)
expression - the new value of the attributepublic Expression getExpression()
public String getName()
Copyright © 2016. All rights reserved.