com.northconcepts.datapipeline.xml.builder
Class XmlTemplate

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.XmlFragment
              extended by com.northconcepts.datapipeline.xml.builder.XmlTemplate

public class XmlTemplate
extends XmlFragment


Constructor Summary
XmlTemplate()
           
 
Method Summary
 void buildDetail(Record record, Writer writer)
           
 void buildFooter(Writer writer)
           
 void buildHeader(Writer writer)
           
 String getDeclaration()
           
 XmlTemplate setDeclaration(String declaration)
           
 void setValue(String name, Object value)
           
 void setValue(String name, Object value, Class<?> type)
           
 
Methods inherited from class com.northconcepts.datapipeline.xml.builder.XmlFragment
writeEndImpl, writeStartImpl
 
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

XmlTemplate

public XmlTemplate()
Method Detail

getDeclaration

public String getDeclaration()

setDeclaration

public XmlTemplate setDeclaration(String declaration)

setValue

public void setValue(String name,
                     Object value)

setValue

public void setValue(String name,
                     Object value,
                     Class<?> type)

buildHeader

public void buildHeader(Writer writer)
                 throws IOException
Throws:
IOException

buildDetail

public void buildDetail(Record record,
                        Writer writer)
                 throws IOException
Throws:
IOException

buildFooter

public void buildFooter(Writer writer)
                 throws IOException
Throws:
IOException


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