public class XMLCollectionElement extends XMLComplexElement
| 限定符和类型 | 字段和说明 |
|---|---|
protected XMLAttribute |
attrId |
static String |
ID_DELIMITER |
protected XMLCollection |
myCollection |
attributes, complexStructureatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
XMLCollectionElement(XMLCollection 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.
|
XMLCollection |
getCollection() |
String |
getID() |
DefaultMutableTreeNode |
getNode()
DefaultMutableTreeNode with all subnodes of this element.
|
boolean |
isIDUniqueAndValid(XMLPanel p) |
void |
setCollection(XMLCollection myCollection) |
get, get, getChildElements, getElementsCount, getIndex, getPanel, isEmpty, isValid, processAttributes, processElements, refreshLabelName, set, set, setReadOnly, toComplexType, toComplexTypeValues, toComplexValues, toString, toXMLfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isValidEnter, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toName, toValueprotected XMLAttribute attrId
protected transient XMLCollection myCollection
public XMLCollectionElement(XMLCollection myCollection)
public String getID()
public XMLCollection getCollection()
protected void fillStructure()
XMLComplexElementtoXML 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 在类中 XMLComplexElementpublic void fromXML(Node node)
XMLElementfromXML 在类中 XMLComplexElementnode - The content retrieved from XML file, that represents tag for
this element.public boolean isIDUniqueAndValid(XMLPanel p)
public Object clone()
XMLElementclone 在类中 XMLComplexElementpublic void setCollection(XMLCollection myCollection)
public DefaultMutableTreeNode getNode()
getNode 在类中 XMLComplexElementCopyright © 2023 onecode. All rights reserved.