1 19 20 package org.netbeans.modules.web.monitor.data; 21 22 import org.w3c.dom.*; 23 import org.netbeans.modules.schema2beans.*; 24 import java.beans.*; 25 import java.util.*; 26 27 public class EngineData extends BaseBean { 28 29 static Vector comparators = new Vector(); 30 31 32 public EngineData() { 33 this(Common.USE_DEFAULT_VALUES); 34 } 35 36 37 public EngineData(int options) { 38 super(EngineData.comparators, new org.netbeans.modules.schema2beans.Version(1, 0, 6)); 39 this.initialize(options); 41 } 42 43 void initialize(int options) 45 { 46 47 } 48 49 public boolean verify() 51 { 52 return true; 53 } 54 55 static public void addComparator(BeanComparator c) 57 { 58 EngineData.comparators.add(c); 59 } 60 61 static public void removeComparator(BeanComparator c) 63 { 64 EngineData.comparators.remove(c); 65 } 66 public void addPropertyChangeListener(PropertyChangeListener l) 68 { 69 BeanProp p = this.beanProp(); 70 if (p != null) 71 p.addPCListener(l); 72 } 73 74 public void removePropertyChangeListener(PropertyChangeListener l) 76 { 77 BeanProp p = this.beanProp(); 78 if (p != null) 79 p.removePCListener(l); 80 } 81 82 public void addPropertyChangeListener(String n, PropertyChangeListener l) 84 { 85 BeanProp p = this.beanProp(n); 86 if (p != null) 87 p.addPCListener(l); 88 } 89 90 public void removePropertyChangeListener(String n, PropertyChangeListener l) 92 { 93 BeanProp p = this.beanProp(n); 94 if (p != null) 95 p.removePCListener(l); 96 } 97 98 public void dump(StringBuffer str, String indent) 100 { 101 String s; 102 BaseBean n; 103 } 104 105 public String dumpBeanNode() 106 { 107 StringBuffer str = new StringBuffer (); 108 str.append("EngineData\n"); this.dump(str, "\n "); return str.toString(); 111 } 112 } 113 114 | Popular Tags |