📄 namespace.java
字号:
package org.enhydra.shark.xpdl.elements;import org.enhydra.shark.xpdl.XMLAttribute;import org.enhydra.shark.xpdl.XMLComplexElement;/** * Helper class to properly write namespaces in XML. * * @author Sasa Bojanic */public class Namespace extends XMLComplexElement { public Namespace (Namespaces parent) { super(parent, true); } protected void fillStructure () { XMLAttribute attrName=new XMLAttribute(this,"Name", true); // required XMLAttribute attrLocation=new XMLAttribute(this,"location", true); //required add(attrName); add(attrLocation); } public String getName() { return get("Name").toValue(); } public void setName(String name) { set("Name",name); } public String getLocation() { return get("location").toValue(); } public void setLocation(String location) { set("location",location); } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -