com.northconcepts.datapipeline.xml.builder
Class XmlElement

java.lang.Object
  extended by com.northconcepts.datapipeline.xml.builder.XmlNode
      extended by com.northconcepts.datapipeline.xml.builder.XmlNodeContainer
          extended by com.northconcepts.datapipeline.xml.builder.XmlElement

public class XmlElement
extends XmlNodeContainer


Constructor Summary
XmlElement(String name)
           
 
Method Summary
 XmlElement attribute(String name, String value)
           
 List<XmlAttribute> getAttributes()
           
 XmlExpression getName()
           
protected  void writeEndImpl(ExpressionContext context, Writer writer)
           
protected  void writeStartImpl(ExpressionContext context, Writer writer)
           
 
Methods inherited from class com.northconcepts.datapipeline.xml.builder.XmlNodeContainer
add, detail, element, getChildNodes, getNodes, hasChildNodes, text, when
 
Methods inherited from class com.northconcepts.datapipeline.xml.builder.XmlNode
isMarker, writeEnd, writeStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlElement

public XmlElement(String name)
Method Detail

getName

public XmlExpression getName()

getAttributes

public List<XmlAttribute> getAttributes()

attribute

public XmlElement attribute(String name,
                            String value)

writeStartImpl

protected void writeStartImpl(ExpressionContext context,
                              Writer writer)
                       throws Throwable
Specified by:
writeStartImpl in class XmlNode
Throws:
Throwable

writeEndImpl

protected void writeEndImpl(ExpressionContext context,
                            Writer writer)
                     throws Throwable
Specified by:
writeEndImpl in class XmlNode
Throws:
Throwable


Copyright (c) 2007-2012 North Concepts Inc. All Rights Reserved.