public class DOMElement extends TemplateNode
| Constructor and Description |
|---|
DOMElement(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(TemplateNodeVisitor visitor) |
DOMAttribute |
createAttribute(String name) |
DOMAttribute |
createAttribute(String name,
Location location) |
void |
deleteAttribute(String name) |
DOMAttribute |
getAttribute(String name) |
List<AttributeComponentBinding> |
getAttributeComponents() |
List<DOMAttribute> |
getAttributes() |
List<TemplateNode> |
getChildNodes() |
String |
getName() |
void |
setAttribute(String name,
String value) |
void |
setAttribute(String name,
String value,
Location location) |
void |
setName(String name) |
getLocation, setLocationpublic DOMElement(String name)
public String getName()
public void setName(String name)
public List<TemplateNode> getChildNodes()
public DOMAttribute getAttribute(String name)
public DOMAttribute createAttribute(String name)
public DOMAttribute createAttribute(String name, Location location)
public void deleteAttribute(String name)
public List<DOMAttribute> getAttributes()
public List<AttributeComponentBinding> getAttributeComponents()
public void acceptVisitor(TemplateNodeVisitor visitor)
acceptVisitor in class TemplateNodeCopyright © 2019. All rights reserved.