public class XmlElement extends XmlNodeContainer
Constructor and Description |
---|
XmlElement(XmlNodeContainer parent,
String name) |
Modifier and Type | Method and Description |
---|---|
XmlElement |
attribute(String name,
String value) |
List<XmlAttribute> |
getAttributes() |
protected int |
getElementDepth() |
XmlExpression |
getName() |
protected void |
writeEndImpl(ExpressionContext context,
CodeWriter writer) |
protected void |
writeStartImpl(ExpressionContext context,
CodeWriter writer) |
add, detail, element, getChildNodes, getLastChildNodeElementDepth, getNodes, hasChildNodes, text, when
isMarker, writeEnd, writeStart
public XmlElement(XmlNodeContainer parent, String name)
public XmlExpression getName()
public List<XmlAttribute> getAttributes()
public XmlElement attribute(String name, String value)
protected int getElementDepth()
getElementDepth
in class XmlNode
protected void writeStartImpl(ExpressionContext context, CodeWriter writer) throws Throwable
writeStartImpl
in class XmlNode
Throwable
protected void writeEndImpl(ExpressionContext context, CodeWriter writer) throws Throwable
writeEndImpl
in class XmlNode
Throwable
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.