Class JDFRegisterMark

  • 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

    public class JDFRegisterMark
    extends JDFAutoRegisterMark
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFRegisterMark

        public JDFRegisterMark​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                               java.lang.String qualifiedName)
                        throws org.w3c.dom.DOMException
        Constructor for JDFRegisterMark
        Parameters:
        myOwnerDocument -
        qualifiedName -
        Throws:
        org.w3c.dom.DOMException
      • JDFRegisterMark

        public JDFRegisterMark​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                               java.lang.String myNamespaceURI,
                               java.lang.String qualifiedName)
                        throws org.w3c.dom.DOMException
        Constructor for JDFRegisterMark
        Parameters:
        ownerDocument -
        namespaceURI -
        qualifiedName -
        Throws:
        org.w3c.dom.DOMException
      • JDFRegisterMark

        public JDFRegisterMark​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                               java.lang.String myNamespaceURI,
                               java.lang.String qualifiedName,
                               java.lang.String myLocalName)
                        throws org.w3c.dom.DOMException
        Constructor for JDFRegisterMark
        Parameters:
        ownerDocument -
        namespaceURI -
        qualifiedName -
        localName -
        Throws:
        org.w3c.dom.DOMException
    • Method Detail

      • toString

        public java.lang.String toString()
        Description copied from class: KElement
        this to string, used for debug purpose mostly
        Overrides:
        toString in class KElement
        Returns:
        string representativ of this
        See Also:
        Object.toString()
      • appendSeparation

        public void appendSeparation​(java.lang.String sep)
        append a separationspec with a given name to this
        Parameters:
        sep - the separation name
      • getSeparation

        public java.lang.String getSeparation​(int iSkip)
        Get the n'th separation name in the SeparationSpec elements
        Parameters:
        iSkip - the index of the SeparationSpec
        Returns:
        separation names, null if iSkip > nSeparations
      • getSeparations

        public VString getSeparations()
        Get a list of all separation names in the SeparationSpec elements
        Returns:
        the vector of separation names
      • removeSeparation

        public int removeSeparation​(java.lang.String sep)
        remove a separationspec with a given name from this
        Parameters:
        sep - the separation name
        Returns:
        int the index of the removed separation; -1 if none found
      • setSeparations

        public void setSeparations​(VString vSeps)
        set all separation names in the SeparationSpec elements, remove any prior elements
        Parameters:
        vSeps - the vector of separation names to set
      • setMarkType

        public void setMarkType​(java.lang.String value)
        legacy method to allow setting a single value as string
        Parameters:
        value - the value to set the attribute to
      • setCenter

        public void setCenter​(double x,
                              double y)