Class Main

java.lang.Object
com.hp.gagawa.java.Node
com.hp.gagawa.java.FertileNode
de.xima.fc.form.common.Main

public class Main extends com.hp.gagawa.java.FertileNode
DOM node representing the main element.
Since:
8.2.0
  • Field Summary

    Fields inherited from class com.hp.gagawa.java.FertileNode

    children

    Fields inherited from class com.hp.gagawa.java.Node

    attributes_, parent_, tag_
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    appendChild(int index, com.hp.gagawa.java.Node child)
    Appends a child node at the given index
    appendChild(com.hp.gagawa.java.Node child)
    Appends a child node to the end of this element's DOM tree
    appendChild(com.hp.gagawa.java.Node... children)
    Appends the given children in the order given
    appendChild(List<com.hp.gagawa.java.Node> children)
    Appends a list of children in the order given in the list.
    Convenience method which appends a text node to this element.
    Gets the value of the class attribute, raw (unescaped).
    Gets the value of the dir attribute, raw (unescaped).
    Gets the value of the id attribute, raw (unescaped).
    Gets the value of the lang attribute, raw (unescaped).
    Gets the value of the style attribute, raw (unescaped).
    Gets the value of the title attribute, raw (unescaped).
    removeChild(com.hp.gagawa.java.Node child)
    Removes the given child node
    Removes all child nodes
    boolean
    Removes the class attribute.
    boolean
    Removes the dir attribute.
    boolean
    Removes the ID attribute.
    boolean
    Removes the lang attribute.
    boolean
    Removes the style attribute.
    boolean
    Removes the title attribute.
    Sets the value of the class attribute, raw (unescaped).
    setDir(String value)
    Sets the value of the dir attribute, raw (unescaped).
    setId(String value)
    Sets the value of the ID attribute, raw (unescaped).
    setLang(String value)
    Sets the value of the lang attribute, raw (unescaped).
    Sets the value of the style attribute, raw (unescaped).
    Sets the value of the title attribute, raw (unescaped).

    Methods inherited from class com.hp.gagawa.java.FertileNode

    getChild, getChildren, write

    Methods inherited from class com.hp.gagawa.java.Node

    getAttribute, getParent, removeAttribute, setAttribute, setParent, writeClose, writeOpen

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • appendChild

      public Main appendChild(com.hp.gagawa.java.Node child)
      Appends a child node to the end of this element's DOM tree
      Parameters:
      child - The node to be appended
      Returns:
      This node for chaining method calls.
    • appendChild

      public Main appendChild(int index, com.hp.gagawa.java.Node child)
      Appends a child node at the given index
      Parameters:
      index - Insertion point
      child - The node to be appended
      Returns:
      This node for chaining method calls.
    • appendChild

      public Main appendChild(List<com.hp.gagawa.java.Node> children)
      Appends a list of children in the order given in the list.
      Parameters:
      children - Nodes to be appended
      Returns:
      This node for chaining method calls.
    • appendChild

      public Main appendChild(com.hp.gagawa.java.Node... children)
      Appends the given children in the order given
      Parameters:
      children - The nodes to be appended
      Returns:
      This node for chaining method calls.
    • appendText

      public Main appendText(String text)
      Convenience method which appends a text node to this element. The text is appended raw, without escaping. You must ensure the text is correctly escaped.
      Parameters:
      text - The raw text to be appended
      Returns:
      This node for chaining method calls.
    • getCSSClass

      public String getCSSClass()
      Gets the value of the class attribute, raw (unescaped).
      Returns:
      The value of the class attribute, raw (unescaped).
    • setCSSClass

      public Main setCSSClass(String value)
      Sets the value of the class attribute, raw (unescaped).
      Parameters:
      value - The value of the class attribute, raw (unescaped).
      Returns:
      This node for chaining method calls.
    • getDir

      public String getDir()
      Gets the value of the dir attribute, raw (unescaped).
      Returns:
      The value of the dir attribute, raw (unescaped).
    • setDir

      public Main setDir(String value)
      Sets the value of the dir attribute, raw (unescaped).
      Parameters:
      value - The value of the dir attribute, raw (unescaped).
      Returns:
      This node for chaining method calls.
    • getId

      public String getId()
      Gets the value of the id attribute, raw (unescaped).
      Returns:
      The value of the id attribute, raw (unescaped).
    • setId

      public Main setId(String value)
      Sets the value of the ID attribute, raw (unescaped).
      Parameters:
      value - The value of the ID attribute, raw (unescaped).
      Returns:
      This node for chaining method calls.
    • getLang

      public String getLang()
      Gets the value of the lang attribute, raw (unescaped).
      Returns:
      The value of the lang attribute, raw (unescaped).
    • setLang

      public Main setLang(String value)
      Sets the value of the lang attribute, raw (unescaped).
      Parameters:
      value - The value of the lang attribute, raw (unescaped).
      Returns:
      This node for chaining method calls.
    • getStyle

      public String getStyle()
      Gets the value of the style attribute, raw (unescaped).
      Returns:
      The value of the style attribute, raw (unescaped).
    • setStyle

      public Main setStyle(String value)
      Sets the value of the style attribute, raw (unescaped).
      Parameters:
      value - The value of the style attribute, raw (unescaped).
      Returns:
      This node for chaining method calls.
    • getTitle

      public String getTitle()
      Gets the value of the title attribute, raw (unescaped).
      Returns:
      The value of the title attribute, raw (unescaped).
    • setTitle

      public Main setTitle(String value)
      Sets the value of the title attribute, raw (unescaped).
      Parameters:
      value - The value of the title attribute, raw (unescaped).
      Returns:
      This node for chaining method calls.
    • removeCSSClass

      public boolean removeCSSClass()
      Removes the class attribute.
      Returns:
      Whether the attribute was removed (i.e. whether it was present).
    • removeChild

      public Main removeChild(com.hp.gagawa.java.Node child)
      Removes the given child node
      Parameters:
      child - The node to be removed
      Returns:
      This node for chaining method calls.
    • removeChildren

      public Main removeChildren()
      Removes all child nodes
      Returns:
      This node for chaining method calls.
    • removeDir

      public boolean removeDir()
      Removes the dir attribute.
      Returns:
      Whether the attribute was removed (i.e. whether it was present).
    • removeId

      public boolean removeId()
      Removes the ID attribute.
      Returns:
      Whether the attribute was removed (i.e. whether it was present).
    • removeLang

      public boolean removeLang()
      Removes the lang attribute.
      Returns:
      Whether the attribute was removed (i.e. whether it was present).
    • removeStyle

      public boolean removeStyle()
      Removes the style attribute.
      Returns:
      Whether the attribute was removed (i.e. whether it was present).
    • removeTitle

      public boolean removeTitle()
      Removes the title attribute.
      Returns:
      Whether the attribute was removed (i.e. whether it was present).