📄 schematype.java
字号:
package org.enhydra.shark.xpdl.elements;import org.enhydra.shark.xpdl.XMLComplexElement;import org.enhydra.shark.xpdl.XMLElement;import org.enhydra.shark.xpdl.XMLElementChangeInfo;/** * Represents coresponding element from XPDL schema. * * @author Sasa Bojanic */public class SchemaType extends XMLComplexElement { public SchemaType (DataTypes parent) { super(parent, true); } public void makeAs (XMLElement el) { super.makeAs(el); setValue(el.toValue()); } public void setValue(String v) { if (isReadOnly) { throw new RuntimeException("Can't set the value of read only element!"); } boolean notify=false; String oldValue=value; if (!this.value.equals(v)) { notify=true; } this.value = v; if (notify && (notifyMainListeners || notifyListeners)) { XMLElementChangeInfo info=createInfo(oldValue, value, null, XMLElementChangeInfo.UPDATED); if (notifyListeners) { notifyListeners(info); } if (notifyMainListeners) { notifyMainListeners(info); } } } protected void fillStructure () {}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -