1 19 package org.netbeans.tax.decl; 20 21 import org.netbeans.tax.*; 22 23 24 public class ANYType extends LeafType { 25 26 30 public ANYType () { 31 super (); 32 } 33 34 public ANYType (ANYType anyType) { 35 super (anyType); 36 } 37 38 39 43 45 public Object clone () { 46 return new ANYType (this); 47 } 48 49 53 55 public boolean allowElements () { 56 return true; 57 } 58 59 61 public boolean allowText () { 62 return true; 63 } 64 65 67 public String getName () { 68 return Util.THIS.getString ("NAME_ANY"); 69 } 70 71 73 public String toString () { 74 return "ANY"; } 76 77 } 78 | Popular Tags |