org.apache.xmlbeans
Class SchemaComponent.Ref

java.lang.Object
  extended by org.apache.xmlbeans.SchemaComponent.Ref
Direct Known Subclasses:
SchemaAttributeGroup.Ref, SchemaGlobalAttribute.Ref, SchemaGlobalElement.Ref, SchemaIdentityConstraint.Ref, SchemaModelGroup.Ref, SchemaType.Ref
Enclosing interface:
SchemaComponent

public abstract static class SchemaComponent.Ref
extends java.lang.Object

A lazy reference to a component. Used by SchemaTypeLoaders to avoid loading components until they are actually needed.


Field Summary
 java.lang.String _handle
           
 
Constructor Summary
protected SchemaComponent.Ref(SchemaComponent schemaComponent)
           
protected SchemaComponent.Ref(SchemaTypeSystem schemaTypeSystem, java.lang.String handle)
           
 
Method Summary
 SchemaComponent getComponent()
           
abstract  int getComponentType()
           
 SchemaTypeSystem getTypeSystem()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_handle

public java.lang.String _handle
Constructor Detail

SchemaComponent.Ref

protected SchemaComponent.Ref(SchemaComponent schemaComponent)

SchemaComponent.Ref

protected SchemaComponent.Ref(SchemaTypeSystem schemaTypeSystem,
                              java.lang.String handle)
Method Detail

getComponentType

public abstract int getComponentType()

getTypeSystem

public final SchemaTypeSystem getTypeSystem()

getComponent

public final SchemaComponent getComponent()