public class XMLElement extends Object implements Expression
LanguageObject.Util
Constructor and Description |
---|
XMLElement(String name,
List<Expression> content) |
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
XMLElement |
clone()
Implement clone to make objects cloneable.
|
boolean |
equals(Object obj) |
XMLAttributes |
getAttributes() |
List<Expression> |
getContent() |
String |
getName() |
XMLNamespaces |
getNamespaces() |
Class<?> |
getType()
Get the return type of this expression.
|
int |
hashCode() |
void |
setAttributes(XMLAttributes attributes) |
void |
setContent(List<Expression> args) |
void |
setName(String name) |
void |
setNamespaces(XMLNamespaces namespaces) |
String |
toString() |
public XMLElement(String name, List<Expression> content)
public XMLAttributes getAttributes()
public XMLNamespaces getNamespaces()
public void setAttributes(XMLAttributes attributes)
public void setNamespaces(XMLNamespaces namespaces)
public List<Expression> getContent()
public String getName()
public void setName(String name)
public void setContent(List<Expression> args)
public Class<?> getType()
Expression
getType
in interface Expression
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
visitor
- Visitor being usedpublic XMLElement clone()
LanguageObject
clone
in interface LanguageObject
clone
in class Object
Copyright © 2018 JBoss by Red Hat. All rights reserved.