Class Element
java.lang.Object
cruise.umple.compiler.Element
- Direct Known Subclasses:
TextContents
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAttribute(AttributeElement aAttribute) booleanbooleanaddChildAt(Element aChild, int index) booleanaddOrMoveChildAt(Element aChild, int index) appendText(String text) appendText(String... texts) appendTextContents(boolean newLine, String... texts) voiddelete()getAttribute(int index) getAttribute(String name) getAttributeElement(String name) getChild(int index) getChildByPath(String... path) getChildByPath(List<String> attributesObjects, String... path) getChildrenByPath(String... path) getChildrenByPath(List<String> path) getChildrenByPath(List<String> attributesObjects, String... path) booleanbooleanbooleanprotected StringintindexOfAttribute(AttributeElement aAttribute) intindexOfChild(Element aChild) static intintintbooleanremoveAttribute(AttributeElement aAttribute) booleanremoveChild(Element aChild) booleansetElement(Element aElement) booleanbooleansetTagName(String aTagName) toString()
-
Constructor Details
-
Element
-
-
Method Details
-
setTagName
-
setParent
-
addAttribute
-
removeAttribute
-
getTagName
-
getParent
-
getAttribute
-
getAttributes
-
numberOfAttributes
public int numberOfAttributes() -
hasAttributes
public boolean hasAttributes() -
indexOfAttribute
-
getChild
-
getChildren
-
numberOfChildren
public int numberOfChildren() -
hasChildren
public boolean hasChildren() -
indexOfChild
-
getElement
-
hasElement
public boolean hasElement() -
minimumNumberOfChildren
public static int minimumNumberOfChildren() -
addChild
-
removeChild
-
addChildAt
-
addOrMoveChildAt
-
setElement
-
delete
public void delete() -
getAttributeElement
-
getAttribute
-
appendText
-
appendTextContents
-
appendText
-
getChildByPath
-
getChildByPath
-
getChildrenByPath
-
getChildrenByPath
-
getChildrenByPath
-
toString
-
htmlString
-