1 10 11 package org.enhydra.jawe.xml.elements; 12 13 import org.enhydra.jawe.xml.*; 14 import org.enhydra.jawe.xml.panels.*; 15 import org.w3c.dom.*; 16 17 20 public class ConformanceClass extends XMLComplexElement { 21 22 private XMLAttribute attrGraphConformance=new XMLAttribute("GraphConformance", 23 new String [] { 24 "", 25 "FULL_BLOCKED", 26 "LOOP_BLOCKED", 27 "NON_BLOCKED" 28 },3); 29 30 33 public ConformanceClass () { 34 super(); 35 36 fillStructure(); 37 } 38 39 43 protected void fillStructure () { 44 complexStructure.add(attrGraphConformance); 45 attributes.add(attrGraphConformance); 46 } 47 48 54 public XMLPanel getPanel () { 55 return attrGraphConformance.getPanel(); 56 } 57 58 65 public Object clone () { 66 ConformanceClass c=(ConformanceClass)super.clone(); 67 68 c.attrGraphConformance=(XMLAttribute)this.attrGraphConformance.clone(); 69 c.fillStructure(); 70 71 return c; 72 } 73 74 } 75 | Popular Tags |