Package com.highdeal.rangetable.hci
Class RangeTableInColumnModel
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.rangetable.hci.RangeTableInColumnModel
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,XMLMarshallable
This
Java class is an input column model for a range table used by RangeTableRangeSetKeyModel.XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="RangeTableRangeInColumnType"> <xs:attribute name="name" type="xs:string" /> <xs:attribute name="value" type="xs:string" /> </xs:complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.getName()Gets the XML tag name of the HCI model.getValue()voidmarshalAttributes(XMLOutputter output) Gives an XML representation of the attributes of an object.voidmarshalChildren(XMLOutputter output) Gives an XML representation of the child objects of an object.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidvoidMethods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Field Details
-
TAG_NAME
The tag name of the input column of a range table set key- See Also:
-
-
Constructor Details
-
RangeTableInColumnModel
public RangeTableInColumnModel()Default range table input column model.
-
-
Method Details
-
getValue
- Returns:
- the value of the input column
-
setValue
- Parameters:
value- the value to set
-
getName
- Returns:
- the name of the input column
-
setName
- Parameters:
name- the name to set
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Parameters:
cData- The character data to be added
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Parameters:
atts- TheXML attributesof the current element
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Parameters:
output- TheXML outputto marshal the object attributes into
-
getTagName
Description copied from interface:ITagNameProviderGets the XML tag name of the HCI model.- Returns:
- The XML tag name
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshalChildren
Description copied from interface:IXMLMarshallableGives an XML representation of the child objects of an object.- Parameters:
output- TheXML outputto marshal the child objects into
-