|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrobin.core.XmlTemplate
org.jrobin.graph.RrdExportDefTemplate
Class used to create a RrdExportDef (export) object from a single XML template. XML template can be supplied as an XML InputSource, XML file or XML formatted string.
Below is an exmple XML template, not all options are required:
Note: for more information on JRobin XML templates in general, refer to the RrdGraphDefTemplate
Note: the RrdExportDefTemplate datasources section can contain all the same options
as the corresponding section in RrdGraphDefTemplate
| Field Summary |
| Fields inherited from class org.jrobin.core.XmlTemplate |
root |
| Constructor Summary | |
RrdExportDefTemplate(java.io.File xmlFile)
Creates template object from the file containing XML template code |
|
RrdExportDefTemplate(org.xml.sax.InputSource inputSource)
Creates template object from any parsable XML source |
|
RrdExportDefTemplate(java.lang.String xmlString)
Creates template object from the string containing XML template code |
|
| Method Summary | |
RrdExportDef |
getRrdExportDef()
Creates RrdExportDef object which can be used to create RrdExport object (actual JRobin export). |
| Methods inherited from class org.jrobin.core.XmlTemplate |
clearValues, getChildNodes, getChildNodes, getChildValue, getChildValue, getChildValueAsBoolean, getChildValueAsDouble, getChildValueAsInt, getChildValueAsLong, getFirstChildNode, getValue, getValue, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsLong, getVariables, hasChildNode, hasVariables, isEmptyNode, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, validateTagsOnlyOnce |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RrdExportDefTemplate(org.xml.sax.InputSource inputSource)
throws java.io.IOException,
RrdException
inputSource - XML source
java.io.IOException - thrown in case of I/O error
RrdException - usually thrown in case of XML related error
public RrdExportDefTemplate(java.io.File xmlFile)
throws java.io.IOException,
RrdException
xmlFile - file containing XML template
java.io.IOException - thrown in case of I/O error
RrdException - usually thrown in case of XML related error
public RrdExportDefTemplate(java.lang.String xmlString)
throws java.io.IOException,
RrdException
xmlString - string containing XML template
java.io.IOException - thrown in case of I/O error
RrdException - usually thrown in case of XML related error| Method Detail |
public RrdExportDef getRrdExportDef()
throws RrdException
setVariable() method information to
understand how to supply values for template variables.
RrdException - Thrown if parsed XML template contains invalid (unrecognized) tags
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||