Package com.sun.xml.xsom.impl.parser
Class DelayedRef
- java.lang.Object
-
- com.sun.xml.xsom.impl.parser.DelayedRef
-
- All Implemented Interfaces:
Patch
- Direct Known Subclasses:
DelayedRef.AttGroup,DelayedRef.Attribute,DelayedRef.ComplexType,DelayedRef.Element,DelayedRef.IdentityConstraint,DelayedRef.ModelGroup,DelayedRef.SimpleType,DelayedRef.Type
public abstract class DelayedRef extends Object implements Patch
Reference by name. UName will be later resolved to a target object, after all the schemas are parsed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDelayedRef.AttGroupstatic classDelayedRef.Attributestatic classDelayedRef.ComplexTypestatic classDelayedRef.Elementstatic classDelayedRef.IdentityConstraintstatic classDelayedRef.ModelGroupstatic classDelayedRef.SimpleTypestatic classDelayedRef.Type
-
Field Summary
Fields Modifier and Type Field Description protected XSSchemaSetschema
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Object_get()protected abstract StringgetErrorProperty()voidredefine(XSDeclaration d)If this reference refers to the given declaration, resolve the reference now.protected abstract ObjectresolveReference(UName name)voidrun()Patch implementation.
-
-
-
Field Detail
-
schema
protected final XSSchemaSet schema
-
-
Method Detail
-
run
public void run() throws SAXExceptionPatch implementation. Makes sure that the name resolves to a schema component.- Specified by:
runin interfacePatch- Throws:
SAXException
-
getErrorProperty
protected abstract String getErrorProperty()
-
_get
protected final Object _get()
-
redefine
public void redefine(XSDeclaration d)
If this reference refers to the given declaration, resolve the reference now. This is used to implement redefinition.
-
-