| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a global Schema Component. That is, a type, element, attribute, model group, attribute group, or identity constraint.
Note that not all types, elements, and attributes are global; local types, element, and attributes do not appear in the global lookup table. Also note that other information items such as particles, facets, and so on are not globally indexed, so are not SchemaComponents.
SchemaType, 
SchemaGlobalElement, 
SchemaGlobalAttribute, 
SchemaAttributeGroup, 
SchemaModelGroup, 
SchemaIdentityConstraint| Nested Class Summary | |
| static class | SchemaComponent.RefA lazy reference to a component. | 
| Field Summary | |
| static int | ANNOTATIONAn annotation. | 
| static int | ATTRIBUTEAn attribute definition. | 
| static int | ATTRIBUTE_GROUPAn attribute group definition. | 
| static int | ELEMENTAn element definition. | 
| static int | IDENTITY_CONSTRAINTAn identity constraint definition. | 
| static int | MODEL_GROUPA model group definition. | 
| static int | NOTATIONA notation definition. | 
| static int | TYPEA type definition. | 
| Method Summary | |
|  SchemaComponent.Ref | getComponentRef()Used for on-demand loading of schema components. | 
|  int | getComponentType()Returns the type code for the schema object, either TYPE,ELEMENT,ATTRIBUTE,ATTRIBUTE_GROUP,MODEL_GROUP,IDENTITY_CONSTRAINT, orNOTATION. | 
|  QName | getName()The name of the schema component | 
|  String | getSourceName()The name of the source .xsd in which this component was defined (if known) | 
|  SchemaTypeSystem | getTypeSystem()Returns the typesystem within which this component definition resides | 
| Field Detail | 
public static final int TYPE
getComponentType()
public static final int ELEMENT
getComponentType()
public static final int ATTRIBUTE
getComponentType()
public static final int ATTRIBUTE_GROUP
getComponentType()
public static final int IDENTITY_CONSTRAINT
getComponentType()
public static final int MODEL_GROUP
getComponentType()
public static final int NOTATION
getComponentType()
public static final int ANNOTATION
getComponentType()
| Method Detail | 
public int getComponentType()
TYPE,
 ELEMENT, ATTRIBUTE, ATTRIBUTE_GROUP,
 MODEL_GROUP, IDENTITY_CONSTRAINT, or NOTATION.
public SchemaTypeSystem getTypeSystem()
public QName getName()
public String getSourceName()
public SchemaComponent.Ref getComponentRef()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||