public class NewXMLCollectionElement extends NewXMLComplexElement
| 限定符和类型 | 字段和说明 |
|---|---|
protected XMLAttribute |
attrId |
static String |
ID_DELIMITER |
protected NewXMLCollection |
myCollection |
attributes, complexStructureatts, isCollapsed, isReadOnly, isRequired, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
NewXMLCollectionElement(NewXMLCollection myCollection) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
clone()
Used to create exact copy of instance of this class.
|
protected void |
fillStructure()
The classes that are derived from this class has to give its
definition for this method.
|
void |
fromXML(Node node)
Supposed to be overriden by derived classes to implement
element specific reading from an XML file.
|
NewXMLCollection |
getCollection() |
String |
getID() |
boolean |
isIDUniqueAndValid(NewXMLPanel panelToEdit) |
get, get, getChildElements, getElementsCount, getNode, getPanel, getPrintDescription, isEmpty, isValid, processAttributes, processElements, refreshLabelName, set, set, setReadOnly, toComplexType, toComplexTypeValues, toString, toXMLfromXML, getPrintDescription, isCollapsed, isReadOnly, isRequired, isValidEnter, setCollapsed, setLabelName, setRequired, setValue, toLabel, toName, toValueprotected XMLAttribute attrId
protected transient NewXMLCollection myCollection
public NewXMLCollectionElement(NewXMLCollection myCollection)
public String getID()
public NewXMLCollection getCollection()
protected void fillStructure()
NewXMLComplexElementtoXML method uses them to properly write an element
tag to the XML file,
fromXML method uses them to properly read an element
tag from the XML file,
getPanel method uses them to properly display members
of this class,
get and set uses them to properly
retrieve/set the elements from list, ... and so on
NOTE: The order of inserted elements is relevant for XML to be valid (members of classes derived from this class must be inserted into first mentioned list in the same order that they are within a corresponding tag for those classes within WfMC XML).
fillStructure 在类中 NewXMLComplexElementpublic void fromXML(Node node)
NewXMLElementfromXML 在类中 NewXMLComplexElementnode - root nodepublic boolean isIDUniqueAndValid(NewXMLPanel panelToEdit)
public Object clone()
NewXMLElementclone 在类中 NewXMLComplexElementCopyright © 2023 onecode. All rights reserved.