public class Boot extends MachineInfo implements HasText
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The element name
|
private java.lang.StringBuffer |
mValue
The text value
|
mAttributeMap
Constructor and Description |
---|
Boot()
The default constructor
|
Boot(java.lang.String value)
Constructs a piece of data.
|
Modifier and Type | Method and Description |
---|---|
void |
appendValue(java.lang.String fragment)
Appends a piece of text to the existing text.
|
java.lang.String |
getElementName()
Returns the name of the xml element corresponding to the object.
|
java.lang.String |
getValue()
Accessor
|
void |
setValue(java.lang.String value)
Accessor.
|
addAttribute, addAttributes, get, getAttributeKeysIterator, toString, toXML
private java.lang.StringBuffer mValue
public static final java.lang.String ELEMENT_NAME
public Boot()
public Boot(java.lang.String value)
value
- is the data to remember. The string may be empty,
but it must not be null
.java.lang.NullPointerException
- if the argument was null.public java.lang.String getElementName()
getElementName
in class MachineInfo
public void appendValue(java.lang.String fragment)
appendValue
in interface HasText
fragment
- is a piece of text to append to existing text.
Appending null
is a noop.public java.lang.String getValue()
getValue
in interface HasText
setValue(String)
public void setValue(java.lang.String value)
setValue
in interface HasText
value
- is the new value to set.getValue()