Top Description Inners Fields Constructors Methods
com.sun.xml.xsom.impl.parser

public abstract Class DelayedRef

extends Object
implements Patch
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.impl.parser.Patch
Known Direct Subclasses
com.sun.xml.xsom.impl.parser.DelayedRef.Type, com.sun.xml.xsom.impl.parser.DelayedRef.SimpleType, com.sun.xml.xsom.impl.parser.DelayedRef.ComplexType, com.sun.xml.xsom.impl.parser.DelayedRef.Element, com.sun.xml.xsom.impl.parser.DelayedRef.ModelGroup, com.sun.xml.xsom.impl.parser.DelayedRef.AttGroup, com.sun.xml.xsom.impl.parser.DelayedRef.Attribute, com.sun.xml.xsom.impl.parser.DelayedRef.IdentityConstraint
Imports
com.sun.xml.xsom.XSAttGroupDecl, .XSAttributeDecl, .XSComplexType, .XSDeclaration, .XSElementDecl, .XSIdentityConstraint, .XSModelGroupDecl, .XSSchemaSet, .XSSimpleType, .XSTerm, .XSType, com.sun.xml.xsom.impl.Ref, .SchemaImpl, .UName, org.xml.sax.Locator, .SAXException

Reference by name. UName will be later resolved to a target object, after all the schemas are parsed.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
private PatcherManager
private UName
private Object
protected final XSSchemaSet
private Locator
source

location in the source file where this reference was made.

Constructor Summary

AccessConstructor and Description
pack-priv
DelayedRef(PatcherManager _manager, Locator _source, SchemaImpl _schema, UName _name)

Method Summary

Modifier and TypeMethod and Description
protected final Object
_get()

protected abstract String
public void
redefine(XSDeclaration d)

If this reference refers to the given declaration, resolve the reference now.

private void
protected abstract Object
public void
run()

Implements com.sun.xml.xsom.impl.parser.Patch.run.

Patch implementation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

managerback to summary
private PatcherManager manager
nameback to summary
private UName name
refback to summary
private Object ref
schemaback to summary
protected final XSSchemaSet schema
sourceback to summary
private Locator source

location in the source file where this reference was made.

Constructor Detail

DelayedRefback to summary
pack-priv DelayedRef(PatcherManager _manager, Locator _source, SchemaImpl _schema, UName _name)

Method Detail

_getback to summary
protected final Object _get()
getErrorPropertyback to summary
protected abstract String getErrorProperty()
redefineback to summary
public void redefine(XSDeclaration d)

If this reference refers to the given declaration, resolve the reference now. This is used to implement redefinition.

resolveback to summary
private void resolve() throws SAXException
resolveReferenceback to summary
protected abstract Object resolveReference(UName name)
runback to summary
public void run() throws SAXException

Implements com.sun.xml.xsom.impl.parser.Patch.run.

Patch implementation. Makes sure that the name resolves to a schema component.

com.sun.xml.xsom.impl.parser back to summary

public Class DelayedRef.AttGroup

extends DelayedRef
implements AttGroup
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.impl.Ref.AttGroup

Field Summary

Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
schema

Constructor Summary

AccessConstructor and Description
public
AttGroup(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Summary

Modifier and TypeMethod and Description
public XSAttGroupDecl
protected String
protected Object
Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
_getredefinerun

Constructor Detail

AttGroupback to summary
public AttGroup(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Detail

getback to summary
public XSAttGroupDecl get()

Implements com.sun.xml.xsom.impl.Ref.AttGroup.get.

getErrorPropertyback to summary
protected String getErrorProperty()

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.getErrorProperty.

resolveReferenceback to summary
protected Object resolveReference(UName name)

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.resolveReference.

com.sun.xml.xsom.impl.parser back to summary

public Class DelayedRef.Attribute

extends DelayedRef
implements Attribute
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.impl.Ref.Attribute

Field Summary

Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
schema

Constructor Summary

AccessConstructor and Description
public
Attribute(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Summary

Modifier and TypeMethod and Description
public XSAttributeDecl
protected String
protected Object
Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
_getredefinerun

Constructor Detail

Attributeback to summary
public Attribute(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Detail

getAttributeback to summary
public XSAttributeDecl getAttribute()

Implements com.sun.xml.xsom.impl.Ref.Attribute.getAttribute.

getErrorPropertyback to summary
protected String getErrorProperty()

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.getErrorProperty.

resolveReferenceback to summary
protected Object resolveReference(UName name)

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.resolveReference.

com.sun.xml.xsom.impl.parser back to summary

public Class DelayedRef.ComplexType

extends DelayedRef
implements ComplexType
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.impl.Ref.ComplexType, com.sun.xml.xsom.impl.Ref.Type

Field Summary

Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
schema

Constructor Summary

AccessConstructor and Description
public
ComplexType(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Summary

Modifier and TypeMethod and Description
protected String
public XSComplexType
getType()

Implements com.sun.xml.xsom.impl.Ref.ComplexType.getType.

Obtains a reference as a type.

protected Object
Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
_getredefinerun

Constructor Detail

ComplexTypeback to summary
public ComplexType(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Detail

getErrorPropertyback to summary
protected String getErrorProperty()

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.getErrorProperty.

getTypeback to summary
public XSComplexType getType()

Implements com.sun.xml.xsom.impl.Ref.ComplexType.getType.

Doc from com.sun.xml.xsom.impl.Ref.Type.getType.

Obtains a reference as a type.

resolveReferenceback to summary
protected Object resolveReference(UName name)

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.resolveReference.

com.sun.xml.xsom.impl.parser back to summary

public Class DelayedRef.Element

extends DelayedRef
implements Element
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.impl.Ref.Element, com.sun.xml.xsom.impl.Ref.Term

Field Summary

Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
schema

Constructor Summary

AccessConstructor and Description
public
Element(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Summary

Modifier and TypeMethod and Description
public XSElementDecl
protected String
public XSTerm
getTerm()

Implements com.sun.xml.xsom.impl.Ref.Term.getTerm.

Obtains a reference as a term.

protected Object
Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
_getredefinerun

Constructor Detail

Elementback to summary
public Element(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Detail

getback to summary
public XSElementDecl get()

Implements com.sun.xml.xsom.impl.Ref.Element.get.

getErrorPropertyback to summary
protected String getErrorProperty()

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.getErrorProperty.

getTermback to summary
public XSTerm getTerm()

Implements com.sun.xml.xsom.impl.Ref.Term.getTerm.

Doc from com.sun.xml.xsom.impl.Ref.Term.getTerm.

Obtains a reference as a term.

resolveReferenceback to summary
protected Object resolveReference(UName name)

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.resolveReference.

com.sun.xml.xsom.impl.parser back to summary

public Class DelayedRef.IdentityConstraint

extends DelayedRef
implements IdentityConstraint
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.impl.Ref.IdentityConstraint

Field Summary

Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
schema

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public XSIdentityConstraint
protected String
protected Object
Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
_getredefinerun

Constructor Detail

IdentityConstraintback to summary
public IdentityConstraint(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Detail

getback to summary
public XSIdentityConstraint get()

Implements com.sun.xml.xsom.impl.Ref.IdentityConstraint.get.

getErrorPropertyback to summary
protected String getErrorProperty()

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.getErrorProperty.

resolveReferenceback to summary
protected Object resolveReference(UName name)

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.resolveReference.

com.sun.xml.xsom.impl.parser back to summary

public Class DelayedRef.ModelGroup

extends DelayedRef
implements Term
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.impl.Ref.Term

Field Summary

Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
schema

Constructor Summary

AccessConstructor and Description
public
ModelGroup(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Summary

Modifier and TypeMethod and Description
public XSModelGroupDecl
get()

protected String
public XSTerm
getTerm()

Implements com.sun.xml.xsom.impl.Ref.Term.getTerm.

Obtains a reference as a term.

protected Object
Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
_getredefinerun

Constructor Detail

ModelGroupback to summary
public ModelGroup(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Detail

getback to summary
public XSModelGroupDecl get()
getErrorPropertyback to summary
protected String getErrorProperty()

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.getErrorProperty.

getTermback to summary
public XSTerm getTerm()

Implements com.sun.xml.xsom.impl.Ref.Term.getTerm.

Doc from com.sun.xml.xsom.impl.Ref.Term.getTerm.

Obtains a reference as a term.

resolveReferenceback to summary
protected Object resolveReference(UName name)

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.resolveReference.

com.sun.xml.xsom.impl.parser back to summary

public Class DelayedRef.SimpleType

extends DelayedRef
implements SimpleType
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.impl.Ref.SimpleType, com.sun.xml.xsom.impl.Ref.Type

Field Summary

Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
schema

Constructor Summary

AccessConstructor and Description
public
SimpleType(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Summary

Modifier and TypeMethod and Description
protected String
public XSSimpleType
getType()

Implements com.sun.xml.xsom.impl.Ref.SimpleType.getType.

Obtains a reference as a type.

protected Object
Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
_getredefinerun

Constructor Detail

SimpleTypeback to summary
public SimpleType(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Detail

getErrorPropertyback to summary
protected String getErrorProperty()

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.getErrorProperty.

getTypeback to summary
public XSSimpleType getType()

Implements com.sun.xml.xsom.impl.Ref.SimpleType.getType.

Doc from com.sun.xml.xsom.impl.Ref.Type.getType.

Obtains a reference as a type.

resolveReferenceback to summary
protected Object resolveReference(UName name)

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.resolveReference.

com.sun.xml.xsom.impl.parser back to summary

public Class DelayedRef.Type

extends DelayedRef
implements Type
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.impl.Ref.Type

Field Summary

Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
schema

Constructor Summary

AccessConstructor and Description
public
Type(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Summary

Modifier and TypeMethod and Description
protected String
public XSType
getType()

Implements com.sun.xml.xsom.impl.Ref.Type.getType.

Obtains a reference as a type.

protected Object
Inherited from com.sun.xml.xsom.impl.parser.DelayedRef:
_getredefinerun

Constructor Detail

Typeback to summary
public Type(PatcherManager manager, Locator loc, SchemaImpl schema, UName name)

Method Detail

getErrorPropertyback to summary
protected String getErrorProperty()

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.getErrorProperty.

getTypeback to summary
public XSType getType()

Implements com.sun.xml.xsom.impl.Ref.Type.getType.

Doc from com.sun.xml.xsom.impl.Ref.Type.getType.

Obtains a reference as a type.

resolveReferenceback to summary
protected Object resolveReference(UName name)

Implements abstract com.sun.xml.xsom.impl.parser.DelayedRef.resolveReference.