Class DestObject


  • public class DestObject
    extends java.lang.Object
    Represents Dest element, a child of the link, GoTo, and GoToR elements. Corresponds to the Dest key in the link annotations dictionary. For more details see paragraph 6.5.10 in XFDF document specification. Content model: ( Named | XYZ | Fit | FitH | FitV | FitR | FitB | FitBH | FitBV )
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private FitObject fit
      Represents the Fit element, a child of the Dest element.
      private FitObject fitB
      Represents the FitB element, a child of the Dest element.
      private FitObject fitBH
      Represents the FitBH element, a child of the Dest element.
      private FitObject fitBV
      Represents the FitBV element, a child of the Dest element.
      private FitObject fitH
      Represents the FitH element, a child of the Dest element.
      private FitObject fitR
      Represents the FitR element, a child of the Dest element.
      private FitObject fitV
      Represents the FitV element, a child of the Dest element.
      private java.lang.String name
      Represents Name attribute of Named element, a child of Dest element.
      private FitObject xyz
      Represents the XYZ element, a child of the Dest element.
    • Constructor Summary

      Constructors 
      Constructor Description
      DestObject()
      Creates an instance of DestObject.
    • Field Detail

      • name

        private java.lang.String name
        Represents Name attribute of Named element, a child of Dest element. Allows a destination to be referred to indirectly by means of a name object or a byte string. For more details see paragraph 6.5.25 in XFDF document specification.
      • xyz

        private FitObject xyz
        Represents the XYZ element, a child of the Dest element. Corresponds to the XYZ key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top. For more details see paragraph 6.5.32 in XFDF document specification.
      • fit

        private FitObject fit
        Represents the Fit element, a child of the Dest element. Corresponds to the Fit key in the destination syntax. Required attributes: Page. For more details see paragraph 6.5.13 in XFDF document specification.
      • fitH

        private FitObject fitH
        Represents the FitH element, a child of the Dest element. Corresponds to the FitH key in the destination syntax. Required attributes: Page, Top. For more details see paragraph 6.5.17 in XFDF document specification.
      • fitV

        private FitObject fitV
        Represents the FitV element, a child of the Dest element. Corresponds to the FitV key in the destination syntax. Required attributes: Page, Left. For more details see paragraph 6.5.19 in XFDF document specification.
      • fitR

        private FitObject fitR
        Represents the FitR element, a child of the Dest element. Corresponds to the FitR key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top. For more details see paragraph 6.5.18 in XFDF document specification.
      • fitB

        private FitObject fitB
        Represents the FitB element, a child of the Dest element. Corresponds to the FitB key in the destination syntax. Required attributes: Page. For more details see paragraph 6.5.14 in XFDF document specification.
      • fitBH

        private FitObject fitBH
        Represents the FitBH element, a child of the Dest element. Corresponds to the FitBH key in the destination syntax. Required attributes: Page, Top. For more details see paragraph 6.5.15 in XFDF document specification.
      • fitBV

        private FitObject fitBV
        Represents the FitBV element, a child of the Dest element. Corresponds to the FitBV key in the destination syntax. Required attributes: Page, Left. For more details see paragraph 6.5.16 in XFDF document specification.
    • Constructor Detail

      • DestObject

        public DestObject()
        Creates an instance of DestObject.
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the Name attribute of Named element, a child of Dest element. Allows a destination to be referred to indirectly by means of a name object or a byte string. For more details see paragraph 6.5.25 in XFDF document specification.
        Returns:
        string value of the Name attribute.
      • setName

        public DestObject setName​(java.lang.String name)
        Sets the Name attribute of Named element, a child of Dest element. Allows a destination to be referred to indirectly by means of a name object or a byte string.
        Parameters:
        name - string value of the Name attribute
        Returns:
        this DestObject instance.
      • getXyz

        public FitObject getXyz()
        Gets the XYZ element, a child of the Dest element. Corresponds to the XYZ key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top. For more details see paragraph 6.5.32 in XFDF document specification.
        Returns:
        a FitObject that represents XYZ of Dest element.
      • setXyz

        public DestObject setXyz​(FitObject xyz)
        Sets the XYZ element, a child of the Dest element. Corresponds to the XYZ key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top.
        Parameters:
        xyz - a FitObject that represents XYZ of Dest element
        Returns:
        this DestObject instance.
      • getFit

        public FitObject getFit()
        Gets the Fit element, a child of the Dest element. Corresponds to the Fit key in the destination syntax. Required attributes: Page. For more details see paragraph 6.5.13 in XFDF document specification.
        Returns:
        a FitObject that represents Fit of Dest element.
      • setFit

        public DestObject setFit​(FitObject fit)
        Sets the Fit element, a child of the Dest element. Corresponds to the Fit key in the destination syntax. Required attributes: Page.
        Parameters:
        fit - a FitObject that represents Fit of Dest element
        Returns:
        this DestObject instance.
      • getFitH

        public FitObject getFitH()
        Gets the FitH element, a child of the Dest element. Corresponds to the FitH key in the destination syntax. Required attributes: Page, Top. For more details see paragraph 6.5.17 in XFDF document specification.
        Returns:
        a FitObject that represents FitH of Dest element.
      • setFitH

        public DestObject setFitH​(FitObject fitH)
        Sets the FitH element, a child of the Dest element. Corresponds to the FitH key in the destination syntax. Required attributes: Page, Top.
        Parameters:
        fitH - a FitObject that represents FitH of Dest element
        Returns:
        this DestObject instance.
      • getFitV

        public FitObject getFitV()
        Gets the FitV element, a child of the Dest element. Corresponds to the FitV key in the destination syntax. Required attributes: Page, Left. For more details see paragraph 6.5.19 in XFDF document specification.
        Returns:
        a FitObject that represents FitV of Dest element.
      • setFitV

        public DestObject setFitV​(FitObject fitV)
        Sets the FitV element, a child of the Dest element. Corresponds to the FitV key in the destination syntax. Required attributes: Page, Left.
        Parameters:
        fitV - a FitObject that represents FitV of Dest element
        Returns:
        this DestObject instance.
      • getFitR

        public FitObject getFitR()
        Gets the FitR element, a child of the Dest element. Corresponds to the FitR key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top. For more details see paragraph 6.5.18 in XFDF document specification.
        Returns:
        a FitObject that represents FitR of Dest element.
      • setFitR

        public DestObject setFitR​(FitObject fitR)
        Sets the FitR element, a child of the Dest element. Corresponds to the FitR key in the destination syntax. Required attributes: Page, Left, Bottom, Right, Top.
        Parameters:
        fitR - a FitObject that represents FitR of Dest element
        Returns:
        this DestObject instance.
      • getFitB

        public FitObject getFitB()
        Sets the FitB element, a child of the Dest element. Corresponds to the FitB key in the destination syntax. Required attributes: Page. For more details see paragraph 6.5.14 in XFDF document specification.
        Returns:
        a FitObject that represents FitB of Dest element.
      • setFitB

        public DestObject setFitB​(FitObject fitB)
        Gets the FitB element, a child of the Dest element. Corresponds to the FitB key in the destination syntax. Required attributes: Page. For more details see paragraph 6.5.14 in XFDF document specification.
        Parameters:
        fitB - a FitObject that represents FitB of Dest element
        Returns:
        this DestObject instance.
      • getFitBH

        public FitObject getFitBH()
        Sets the FitBH element, a child of the Dest element. Corresponds to the FitBH key in the destination syntax. Required attributes: Page, Top. For more details see paragraph 6.5.15 in XFDF document specification.
        Returns:
        a FitObject that represents FitBH of Dest element.
      • setFitBH

        public DestObject setFitBH​(FitObject fitBH)
        Gets the FitBH element, a child of the Dest element. Corresponds to the FitBH key in the destination syntax. Required attributes: Page, Top.
        Parameters:
        fitBH - a FitObject that represents FitBH of Dest element
        Returns:
        this DestObject instance.
      • getFitBV

        public FitObject getFitBV()
        Sets the FitBV element, a child of the Dest element. Corresponds to the FitBV key in the destination syntax. Required attributes: Page, Left. For more details see paragraph 6.5.16 in XFDF document specification.
        Returns:
        a FitObject that represents FitBV of Dest element.
      • setFitBV

        public DestObject setFitBV​(FitObject fitBV)
        Sets the FitBV element, a child of the Dest element. Corresponds to the FitBV key in the destination syntax. Required attributes: Page, Left.
        Parameters:
        fitBV - a FitObject that represents FitBV of Dest element
        Returns:
        this DestObject instance.