1 19 20 package org.netbeans.modules.xml.schema.model; 21 22 import org.netbeans.modules.xml.xam.dom.NamedComponentReference; 23 24 28 public interface Attribute extends SchemaComponent { 29 public static final String DEFAULT_PROPERTY = "default"; 30 public static final String FIXED_PROPERTY = "fixed"; 31 public static final String TYPE_PROPERTY = "type"; 32 public static final String INLINE_TYPE_PROPERTY = "inlineType"; 33 34 String getDefault(); 35 void setDefault(String defaultValue); 36 37 String getFixed(); 38 void setFixed(String fixedValue); 39 40 enum Use { 41 PROHIBITED("prohibited"), OPTIONAL("optional"), REQUIRED("required"); 42 String value; 43 Use(String s) { 44 value = s; 45 } 46 public String toString() { return value; } 47 } 48 } 49 | Popular Tags |