XSOM 20110809-redhat-3

com.sun.xml.xsom.impl.parser
Class DelayedRef

java.lang.Object
  extended by 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
static class DelayedRef.AttGroup
           
static class DelayedRef.Attribute
           
static class DelayedRef.ComplexType
           
static class DelayedRef.Element
           
static class DelayedRef.IdentityConstraint
           
static class DelayedRef.ModelGroup
           
static class DelayedRef.SimpleType
           
static class DelayedRef.Type
           
 
Field Summary
protected  XSSchemaSet schema
           
 
Method Summary
protected  Object _get()
           
protected abstract  String getErrorProperty()
           
 void redefine(XSDeclaration d)
          If this reference refers to the given declaration, resolve the reference now.
protected abstract  Object resolveReference(UName name)
           
 void run()
          Patch implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

schema

protected final XSSchemaSet schema
Method Detail

run

public void run()
         throws SAXException
Patch implementation. Makes sure that the name resolves to a schema component.

Specified by:
run in interface Patch
Throws:
SAXException

resolveReference

protected abstract Object resolveReference(UName name)

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.


XSOM 20110809-redhat-3

Copyright © 2012 Oracle. All Rights Reserved.