SchemaLocalAttribute Interface
com.bea.xml
SchemaLocalAttribute Interface
- public interface SchemaLocalAttribute
extends SchemaField
Represents a local or global attribute definition.
-
All Superinterfaces
-
SchemaField
-
All Known Subinterfaces
-
SchemaGlobalAttribute
public static final int |
-
OPTIONAL
- An optional attribute.
|
public static final int |
-
PROHIBITED
- A prohibited attribute.
|
public static final int |
-
REQUIRED
- A required attribute.
|
OPTIONAL
public static final int OPTIONAL
- An optional attribute. See
SchemaLocalAttribute.getUse().
PROHIBITED
public static final int PROHIBITED
- A prohibited attribute. See
SchemaLocalAttribute.getUse().
REQUIRED
public static final int REQUIRED
- A required attribute. See
SchemaLocalAttribute.getUse().
getUse() Method
public int getUse()
Returns SchemaLocalAttribute.PROHIBITED, SchemaLocalAttribute.OPTIONAL, or SchemaLocalAttribute.REQUIRED.
(Actually, never returns PROHIBITED because the schema specificaion
states that a prohibited attribute is equivalent to no attribute
at all, so a prohibited attribute will never be present in the compiled
model.)