java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
All Implemented Interfaces:
Serializable, Cloneable, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo
Direct Known Subclasses:
JDFSurface

public class JDFSheet extends JDFSignature
See Also:
  • Constructor Details

    • JDFSheet

      public JDFSheet(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName)
      Constructor for JDFSheet
      Parameters:
      myOwnerDocument -
      qualifiedName -
    • JDFSheet

      public JDFSheet(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName)
      Constructor for JDFSheet
      Parameters:
      myOwnerDocument -
      myNamespaceURI -
      qualifiedName -
    • JDFSheet

      public JDFSheet(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName)
      Constructor for JDFSheet
      Parameters:
      myOwnerDocument -
      myNamespaceURI -
      qualifiedName -
      myLocalName -
  • Method Details

    • getTheAttributeInfo

      protected AttributeInfo getTheAttributeInfo()
      Overrides:
      getTheAttributeInfo in class JDFSignature
      Returns:
    • getTheElementInfo

      protected ElementInfo getTheElementInfo()
      Overrides:
      getTheElementInfo in class JDFSignature
      Returns:
      the elementinfo
    • toString

      public String toString()
      Description copied from class: JDFSignature
      toString()
      Overrides:
      toString in class JDFSignature
      Returns:
      String
      See Also:
    • getCreateFrontSurface

      public JDFSurface getCreateFrontSurface()
      Returns:
    • getSurface

      public JDFSurface getSurface(JDFAutoPart.EnumSide side)
      const get surface with the correct partition key
    • getFrontSurface

      @Deprecated public JDFSurface getFrontSurface()
      Deprecated.
      use getSurface(EnumSide side)
      const get first element
    • appendFrontSurface

      public JDFSurface appendFrontSurface()
    • removeFrontSurface

      public void removeFrontSurface()
      remove first element Surface
    • getSheetName

      public String getSheetName()
      if this is a new layout, return the partition key signaturename else return Signature/@Name of this or its appropriate parent
      Overrides:
      getSheetName in class JDFResource
      Returns:
      the name of the signature
    • hasFrontSurface

      public boolean hasFrontSurface()
      test element Surface existance
      Returns:
      boolean true if a matching element exists
    • refFrontSurface

      public void refFrontSurface(JDFSurface refTarget)
      create inter-resource link to refTarget
      Parameters:
      JDFSurface - refTarget the element that is referenced
    • getCreateBackSurface

      public JDFSurface getCreateBackSurface()
    • getBackSurface

      @Deprecated public JDFSurface getBackSurface()
      Deprecated.
      use getSurface(EnumSide side)
      const get first element
    • appendBackSurface

      public JDFSurface appendBackSurface()
    • removeBackSurface

      public void removeBackSurface()
      remove back element Surface
    • hasBackSurface

      public boolean hasBackSurface()
      test element Surface existance
      Returns:
      boolean true if a matching element exists
    • refBackSurface

      public void refBackSurface(JDFSurface refTarget)
      create inter-resource link to refTarget
      Parameters:
      JDFSurface - refTarget the element that is referenced
    • getCreateSurface

      public JDFSurface getCreateSurface(int iSkip)
      gets or appends a signature in both old and new Layouts if old: a element if new: a Side partition leaf
      Parameters:
      iSkip - the number of signatures to skip
    • getSurface

      public JDFSurface getSurface(int iSkip)
      gets a Surface in both old and new Layouts if old: a element if new: a Side partition leaf
      Parameters:
      iSkip - the number of signatures to skip
    • appendSurface

      public JDFSurface appendSurface() throws JDFException
      appends a Surface in both old and new Layouts if old: a element if new: a Side partition leaf
      Throws:
      JDFException
    • numSurfaces

      public int numSurfaces()
      counts the number of Surfaces in both old and new Layouts if old: the number of elements if new: the number of Side partition leaves
      Returns:
      the number of Surfaces
    • getSurfaceVector

      @Deprecated public VElement getSurfaceVector(JDFAttributeMap mAttrib, boolean bAnd)
      Deprecated.
      use getChildElementVector() instead
      (28) get vector of all direct child elements Surface
      Parameters:
      JDFAttributeMap - mAttrib the map of attributes to select
      boolean - bAnd if true all attributes in the map are AND'ed, else they are OR'ed
    • getSurfaceVector

      public VElement getSurfaceVector()
      get the vector of surfaces in this sheet
      Returns:
      VElement the vector of surfaces in this
    • refSurface

      public void refSurface(JDFSurface refTarget)
      (31) create inter-resource link to refTarget
      Parameters:
      JDFSurface - refTarget the element that is referenced