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
childrenFields inherited from class com.hp.gagawa.java.Node
attributes_, parent_, tag_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendChild(int index, com.hp.gagawa.java.Node child) Appends a child node at the given indexappendChild(com.hp.gagawa.java.Node child) Appends a child node to the end of this element's DOM treeappendChild(com.hp.gagawa.java.Node... children) Appends the given children in the order givenappendChild(List<com.hp.gagawa.java.Node> children) Appends a list of children in the order given in the list.appendText(String text) Convenience method which appends a text node to this element.Gets the value of the class attribute, raw (unescaped).getDir()Gets the value of the dir attribute, raw (unescaped).getId()Gets the value of the id attribute, raw (unescaped).getLang()Gets the value of the lang attribute, raw (unescaped).getStyle()Gets the value of the style attribute, raw (unescaped).getTitle()Gets the value of the title attribute, raw (unescaped).removeChild(com.hp.gagawa.java.Node child) Removes the given child nodeRemoves all child nodesbooleanRemoves the class attribute.booleanRemoves the dir attribute.booleanremoveId()Removes the ID attribute.booleanRemoves the lang attribute.booleanRemoves the style attribute.booleanRemoves the title attribute.setCSSClass(String value) Sets the value of the class attribute, raw (unescaped).Sets the value of the dir attribute, raw (unescaped).Sets the value of the ID attribute, raw (unescaped).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, writeMethods inherited from class com.hp.gagawa.java.Node
getAttribute, getParent, removeAttribute, setAttribute, setParent, writeClose, writeOpen
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
appendChild
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
Appends a child node at the given index- Parameters:
index- Insertion pointchild- The node to be appended- Returns:
- This node for chaining method calls.
-
appendChild
-
appendChild
Appends the given children in the order given- Parameters:
children- The nodes to be appended- Returns:
- This node for chaining method calls.
-
appendText
-
getCSSClass
Gets the value of the class attribute, raw (unescaped).- Returns:
- The value of the class attribute, raw (unescaped).
-
setCSSClass
-
getDir
Gets the value of the dir attribute, raw (unescaped).- Returns:
- The value of the dir attribute, raw (unescaped).
-
setDir
-
getId
Gets the value of the id attribute, raw (unescaped).- Returns:
- The value of the id attribute, raw (unescaped).
-
setId
-
getLang
Gets the value of the lang attribute, raw (unescaped).- Returns:
- The value of the lang attribute, raw (unescaped).
-
setLang
-
getStyle
Gets the value of the style attribute, raw (unescaped).- Returns:
- The value of the style attribute, raw (unescaped).
-
setStyle
-
getTitle
Gets the value of the title attribute, raw (unescaped).- Returns:
- The value of the title attribute, raw (unescaped).
-
setTitle
-
removeCSSClass
public boolean removeCSSClass()Removes the class attribute.- Returns:
- Whether the attribute was removed (i.e. whether it was present).
-
removeChild
Removes the given child node- Parameters:
child- The node to be removed- Returns:
- This node for chaining method calls.
-
removeChildren
-
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).
-