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.
  • Field Details

  • Method Details

    • 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.