Class OptionalContentOrderLeaf

java.lang.Object
com.datalogics.PDFL.OptionalContentOrderNode
com.datalogics.PDFL.OptionalContentOrderLeaf

public class OptionalContentOrderLeaf extends OptionalContentOrderNode
Leaf node class for items in the OptionalContentConfig Order array. Items in the Order array can be arranged into a tree structure. Each 'leaf' on this tree would be an OptionalContentOrderLeaf that contains a reference to an OptionalContentGroup in this document.
  • Constructor Details

    • OptionalContentOrderLeaf

      public OptionalContentOrderLeaf(OptionalContentGroup ocg)
      Create an OptionalContentOrderLeaf that refers to the OptionalContentGroup.

      Parameters:
      ocg - The OptionalContentGroup this object will refer to.
  • Method Details

    • delete

      public void delete()
      Overrides:
      delete in class OptionalContentOrderNode
    • getOptionalContentGroup

      public OptionalContentGroup getOptionalContentGroup()
      Gets the OptionalContentGroup refered to by this OptionalContentOrderLeaf.

      Returns:
      The OptionalContentGroup this object refers to.