public class GCHeader extends GCValue
A header is a UI construct; the UI may display definitions following the header as subordinate to the header.
Although headers are not actual GCVs, the header is represented programmatically as a GCValue for ease of manipulation via the GCDefinitions class.
GCValue.IllegalCloneStateException, GCValue.XmlComment, GCValue.XmlItem, GCValue.XmlProcessingInstruction
modified, parent, TYPE_BOOLEAN, TYPE_DN, TYPE_DN_REF, TYPE_ENUM, TYPE_GCV_REF, TYPE_GROUP, TYPE_HEADER, TYPE_INTEGER, TYPE_LIST, TYPE_PASSWORD_REF, TYPE_REAL, TYPE_STRING, TYPE_STRUCTURED, TYPE_SUBORDINATES, xmlItems
Constructor and Description |
---|
GCHeader()
Constructor for use by
GCValue construct() method. |
Modifier and Type | Method and Description |
---|---|
GCValue |
cloneValue(java.lang.String name)
Clone this
GCValue instance and return the cloned instance. |
java.lang.String |
getValue()
Return the current value of this instance.
|
void |
parseValue(java.lang.String value)
Implement GCValue abstract.
|
void |
setValue(java.lang.String value)
Implement GCValue abstract.
|
addXmlComment, addXmlItems, addXmlProcessingInstruction, cloneCommon, construct, construct, constructGCVRef, constructGCVRef, constructGroup, constructHeader, constructStructuredValue, constructSubordinates, getDescription, getDescriptionRef, getDisplayName, getDisplayNameRef, getHidden, getMandatory, getName, getOwner, getParent, getType, getTypeString, getXmlItemsIterator, getXMLValue, hasBeenModified, localize, resetModified, setDescription, setDescriptionRef, setDisplayName, setDisplayNameRef, setHidden, setMandatory, toXML, typeFromString
public GCHeader() throws GCVArgumentException
GCValue
construct()
method.GCVArgumentException
- thrown if name is invalidpublic GCValue cloneValue(java.lang.String name)
GCValue
instance and return the cloned instance.cloneValue
in class GCValue
the
- name for the cloned value (ignored).public void parseValue(java.lang.String value) throws GCVException
parseValue
in class GCValue
value
- ignorednone
GCVException
- thrown if value is not correct for this value instance.public java.lang.String getValue()
public void setValue(java.lang.String value) throws GCVException
setValue
in class GCValue
value
- ignorednone
GCVException
- thrown if value is not correct for this value instance.