public class Attribute
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected java.lang.String |
rawName |
protected java.lang.String[] |
splits |
protected java.lang.String |
value |
Constructor and Description |
---|
Attribute(java.lang.String rawName,
java.lang.String name,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
Attribute |
clone() |
java.lang.String |
getName()
Returns attributes name.
|
java.lang.String |
getRawName()
Returns attributes raw name.
|
java.lang.String |
getValue()
Returns attribute value.
|
boolean |
isContaining(java.lang.String include)
Returns true if attribute is containing some value.
|
void |
setValue(java.lang.String value)
Sets attribute value.
|
protected final java.lang.String rawName
protected final java.lang.String name
protected java.lang.String value
protected java.lang.String[] splits
public Attribute(java.lang.String rawName, java.lang.String name, java.lang.String value)
public Attribute clone()
clone
in class java.lang.Object
public java.lang.String getRawName()
public java.lang.String getName()
public java.lang.String getValue()
public void setValue(java.lang.String value)
public boolean isContaining(java.lang.String include)
Copyright © 2003-present Jodd Team