| org.eclipse.pde.internal.core.ischema.ISchemaAttribute
All known Subclasses: org.eclipse.pde.internal.core.schema.SchemaAttribute,
ISchemaAttribute | public interface ISchemaAttribute extends ISchemaObject,IMetaAttribute(Code) | | Objects that implement this interface hold data about attributes of schema
elements.
|
Field Summary | |
final public static int | BOOL_IND | final public static int | DEFAULT This attribute can be omitted by the extension element, and if it is, its
value will be set to the value defined in the "value" field. | final public static int | JAVA_IND | final public static int | OPTIONAL This attribute can be omitted by the extension element. | final public static int | REQUIRED This attribute must be defined in the extension element. | final public static int | RES_IND | final public static int | STR_IND | final public static String[] | TYPES | final public static String[] | USE_TABLE Table of the 'use' clause choices. |
Method Summary | |
public ISchemaSimpleType | getType() Returns the type of this attribute. | public int | getUse() Returns the 'use' mode of this attribute (OPTIONAL, REQUIRED or DEFAULT). | public Object | getValue() Returns the default value of this attribute when 'use' clause is DEFAULT. |
BOOL_IND | final public static int BOOL_IND(Code) | | |
DEFAULT | final public static int DEFAULT(Code) | | This attribute can be omitted by the extension element, and if it is, its
value will be set to the value defined in the "value" field.
|
JAVA_IND | final public static int JAVA_IND(Code) | | |
OPTIONAL | final public static int OPTIONAL(Code) | | This attribute can be omitted by the extension element.
|
REQUIRED | final public static int REQUIRED(Code) | | This attribute must be defined in the extension element.
|
RES_IND | final public static int RES_IND(Code) | | |
STR_IND | final public static int STR_IND(Code) | | |
USE_TABLE | final public static String[] USE_TABLE(Code) | | Table of the 'use' clause choices.
|
getType | public ISchemaSimpleType getType()(Code) | | Returns the type of this attribute. Attributes can only have simple
types.
|
getUse | public int getUse()(Code) | | Returns the 'use' mode of this attribute (OPTIONAL, REQUIRED or DEFAULT).
|
getValue | public Object getValue()(Code) | | Returns the default value of this attribute when 'use' clause is DEFAULT.
|
|
|