Class JDFAutoNewComment

java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.cip4.jdflib.core.KElement
org.cip4.jdflib.core.JDFElement
org.cip4.jdflib.auto.JDFAutoNewComment
All Implemented Interfaces:
Serializable, Cloneable, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo
Direct Known Subclasses:
JDFNewComment

public abstract class JDFAutoNewComment extends JDFElement
class JDFAutoNewComment : public JDFElement
See Also:
  • Constructor Details

    • JDFAutoNewComment

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

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

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

    • getTheAttributeInfo

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

      protected ElementInfo getTheElementInfo()
      Overrides:
      getTheElementInfo in class JDFElement
      Returns:
      the elementinfo
    • setAction

      public void setAction(JDFAutoNewComment.EnumAction enumVar)
      (5) set attribute Action
      Parameters:
      enumVar - the enumVar to set the attribute to
    • getAction

      public JDFAutoNewComment.EnumAction getAction()
      (9) get attribute Action
      Returns:
      the value of the attribute
    • setCommentID

      public void setCommentID(String value)
      (36) set attribute CommentID
      Parameters:
      value - the value to set the attribute to
    • getCommentID

      public String getCommentID()
      (23) get String attribute CommentID
      Returns:
      the value of the attribute
    • setrefID

      public void setrefID(String value)
      (36) set attribute refID
      Parameters:
      value - the value to set the attribute to
    • getrefID

      public String getrefID()
      (23) get String attribute refID
      Returns:
      the value of the attribute
    • getPart

      public JDFPart getPart()
      (24) const get element Part
      Returns:
      JDFPart the element
    • getCreatePart

      public JDFPart getCreatePart()
      (25) getCreatePart
      Returns:
      JDFPart the element
    • getCreatePart

      public JDFPart getCreatePart(int iSkip)
      (26) getCreatePart
      Parameters:
      iSkip - number of elements to skip
      Returns:
      JDFPart the element
    • getPart

      public JDFPart getPart(int iSkip)
      (27) const get element Part
      Parameters:
      iSkip - number of elements to skip
      Returns:
      JDFPart the element default is getPart(0)
    • getAllPart

      public Collection<JDFPart> getAllPart()
      Get all Part from the current element
      Returns:
      Collection, null if none are available
    • appendPart

      public JDFPart appendPart()
      (30) append element Part
      Returns:
      JDFPart the element