1 19 20 package org.netbeans.modules.schema2beans; 21 22 import java.util.*; 23 import java.io.*; 24 25 26 34 public interface BaseAttribute { 35 38 static public final int TYPE_CDATA = AttrProp.CDATA; 39 static public final int TYPE_ENUM = AttrProp.ENUM; 40 static public final int TYPE_NMTOKEN = AttrProp.NMTOKEN; 41 static public final int TYPE_ID = AttrProp.ID; 42 static public final int TYPE_IDREF = AttrProp.IDREF; 43 static public final int TYPE_IDREFS = AttrProp.IDREFS; 44 static public final int TYPE_ENTITY = AttrProp.ENTITY; 45 static public final int TYPE_ENTITIES = AttrProp.ENTITIES; 46 static public final int TYPE_NOTATION = AttrProp.NOTATION; 47 48 51 static public final int OPTION_REQUIRED = AttrProp.REQUIRED; 52 static public final int OPTION_IMPLIED = AttrProp.IMPLIED; 53 static public final int OPTION_FIXED = AttrProp.FIXED; 54 55 56 59 public String getName(); 60 61 64 public String getDtdName(); 65 66 69 public boolean hasName(String name); 70 71 74 public String [] getValues(); 75 76 79 public String getDefaultValue(); 80 81 84 public boolean isEnum(); 85 86 89 public boolean isFixed(); 90 91 98 public int getOption(); 99 100 113 public int getType(); 114 115 125 public boolean isTransient(); 126 } 127 | Popular Tags |