Class JDFSheet

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, IStreamWriter, org.w3c.dom.Element, org.w3c.dom.ElementTraversal, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo
    Direct Known Subclasses:
    JDFSurface

    public class JDFSheet
    extends JDFSignature
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFSheet

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

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

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

      • getCreateFrontSurface

        public JDFSurface getCreateFrontSurface()
        Returns:
      • 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 java.lang.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