public class RangeTableRowPeriodObjectModel extends AbstractPeriodObjectModel implements XMLMapping
Java class represents a version of a row period in the range table row Chronology.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="RangeTableRowPeriodObjectType">
<xs:sequence>
<xs:element name="rangeTableRow" type="RangeTableRowType" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="start" type="xs:dateTime"/>
<xs:attribute name="end" type="xs:dateTime"/>
</xs:complexType>
TAG_NAME| Constructor and Description |
|---|
RangeTableRowPeriodObjectModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
Class<?> |
getClass(String nsUri,
String tag,
XMLAttributes atts)
Returns the
Java class for a specified XML tag and its attributes in a namespace. |
List<RangeTableRowModel> |
getRangeTableRowList() |
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
asTimeFrame, getEnd, getStart, getTagName, marshalAttributes, setAttributes, setEnd, setStartmarshalpublic List<RangeTableRowModel> getRangeTableRowList()
public void marshalChildren(XMLOutputter output)
IXMLMarshallablemarshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects intopublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic Class<?> getClass(String nsUri, String tag, XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tagJava class with a default constructor