org.apache.xmlbeans
Class SchemaComponent.Ref

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

public abstract static class SchemaComponent.Ref
extends Object

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


Field Summary
 String _handle
           
 
Constructor Summary
protected SchemaComponent.Ref(SchemaComponent schemaComponent)
           
protected SchemaComponent.Ref(SchemaTypeSystem schemaTypeSystem, 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 String _handle
Constructor Detail

SchemaComponent.Ref

protected SchemaComponent.Ref(SchemaComponent schemaComponent)

SchemaComponent.Ref

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

getComponentType

public abstract int getComponentType()

getTypeSystem

public final SchemaTypeSystem getTypeSystem()

getComponent

public final SchemaComponent getComponent()