Class ReferenceInfo


  • class ReferenceInfo
    extends java.lang.Object
    Internal class used to save state for reference resolution.
    Version:
    $Revision: 0000 $ $Date:$
    Author:
    Werner Guttmann
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FieldDescriptor getDescriptor()
      Returns the field descriptor referenced by this IDREF instance.
      java.lang.String getId()
      Returns the ID value of the target object instance.
      ReferenceInfo getNext()
      Returns the next 'ReferenceInfo' instance.
      java.lang.Object getTarget()
      Returns the target object referenced by this IDREF instance.
      void setNext​(ReferenceInfo info)
      Sets a reference to the 'next' ReferenceInfo instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReferenceInfo

        public ReferenceInfo​(java.lang.String id,
                             java.lang.Object target,
                             XMLFieldDescriptor descriptor)
        Creates a new ReferenceInfo.
        Parameters:
        id - The identity of this XML ID reference instance.
        target - The target object referenced by this IDREF instance.
        descriptor - The XMLFieldDescriptor for the target object.
    • Method Detail

      • setNext

        public void setNext​(ReferenceInfo info)
        Sets a reference to the 'next' ReferenceInfo instance.
        Parameters:
        info - The 'next' ReferenceInfo instance.
      • getDescriptor

        public FieldDescriptor getDescriptor()
        Returns the field descriptor referenced by this IDREF instance.
        Returns:
        the field descriptor referenced by this IDREF instance.
      • getTarget

        public java.lang.Object getTarget()
        Returns the target object referenced by this IDREF instance.
        Returns:
        the target object referenced by this IDREF instance.
      • getNext

        public ReferenceInfo getNext()
        Returns the next 'ReferenceInfo' instance.
        Returns:
        the next 'ReferenceInfo' instance.
      • getId

        public java.lang.String getId()
        Returns the ID value of the target object instance.
        Returns:
        the ID value of the target object instance.