xmlcollectionelement.java
来自「jawe的最新版本,基于Java的图形化工作流编辑器。图形化工作流编辑器 。使用」· Java 代码 · 共 32 行
JAVA
32 行
package org.enhydra.shark.xpdl;/** * Class that represents the member of collection from XML schema * that has unique Id attribute. * * @author Sasa Bojanic */public abstract class XMLCollectionElement extends XMLComplexElement { public XMLCollectionElement (XMLCollection parent, boolean isRequired) { super(parent, isRequired); } public XMLCollectionElement (XMLCollection parent, String name, boolean isRequired) { super(parent, name, isRequired); } protected void fillStructure () { XMLAttribute attrId=new XMLAttribute(this,"Id", true); //required super.add(attrId); } public final String getId () { return get("Id").toValue(); } public final void setId (String id) { set("Id",id); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?