⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 externalreference.java

📁 jawe的最新版本,基于Java的图形化工作流编辑器。图形化工作流编辑器 。使用JAVA语言开发
💻 JAVA
字号:
package org.enhydra.shark.xpdl.elements;import org.enhydra.shark.xpdl.XMLAttribute;import org.enhydra.shark.xpdl.XMLComplexElement;import org.enhydra.shark.xpdl.XMLElement;/** *  Represents coresponding element from XPDL schema. *  *  @author Sasa Bojanic */public class ExternalReference extends XMLComplexElement {   public ExternalReference (XMLElement parent, boolean isRequired) {      super(parent, isRequired);      //isRequired=true;   }   protected void fillStructure () {      XMLAttribute attrXref=new XMLAttribute(this,"xref", false); // optional      XMLAttribute attrLocation=new XMLAttribute(this,"location", true); // required      XMLAttribute attrNamespace=new XMLAttribute(this,"namespace", false); // optional      add(attrXref);      add(attrLocation);      add(attrNamespace);   }   public String getLocation() {      return get("location").toValue();   }   public void setLocation(String location) {      set("location",location);   }   public String getNamespace() {      return get("namespace").toValue();   }   public void setNamespace(String namespace) {      set("namespace",namespace);   }   public String getXref() {      return get("xref").toValue();   }   public void setXref(String xref) {      set("xref",xref);   }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -