java.lang.Object | |
↳ | org.rrd4j.core.XmlTemplate |
![]() |
Class used as a base class for various XML template related classes. Class provides
methods for XML source parsing and XML tree traversing. XML source may have unlimited
number of placeholders (variables) in the format ${variable_name}
.
Methods are provided to specify variable values at runtime.
Note that this class has limited functionality: XML source gets parsed, and variable
values are collected. You have to extend this class to do something more useful.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
root |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Removes all placeholder-value mappings.
| |||||||||||
Returns the list of variables that should be set in this template.
| |||||||||||
Searches the XML template to see if there are variables in there that
will need to be set.
| |||||||||||
Sets value for a single XML template variable.
| |||||||||||
Sets value for a single XML template variable.
| |||||||||||
Sets value for a single XML template variable.
| |||||||||||
Sets value for a single XML template variable.
| |||||||||||
Sets value for a single XML template variable.
| |||||||||||
Sets value for a single XML template variable.
| |||||||||||
Sets value for a single XML template variable.
| |||||||||||
Sets value for a single XML template variable.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Removes all placeholder-value mappings.
Returns the list of variables that should be set in this template.
Searches the XML template to see if there are variables in there that will need to be set.
Sets value for a single XML template variable. Variable name should be specified
without leading '${' and ending '}' placeholder markers. For example, for a placeholder
${start}
, specify start for the
name
parameter.
name | variable name |
---|---|
value | value to be set in the XML template |
Sets value for a single XML template variable. Variable name should be specified
without leading '${' and ending '}' placeholder markers. For example, for a placeholder
${start}
, specify start for the
name
parameter.
name | variable name |
---|---|
value | value to be set in the XML template |
Sets value for a single XML template variable. Variable name should be specified
without leading '${' and ending '}' placeholder markers. For example, for a placeholder
${start}
, specify start for the
name
parameter.
name | variable name |
---|---|
value | value to be set in the XML template |
Sets value for a single XML template variable. Variable name should be specified
without leading '${' and ending '}' placeholder markers. For example, for a placeholder
${start}
, specify start for the
name
parameter.
name | variable name |
---|---|
value | value to be set in the XML template |
Sets value for a single XML template variable. Variable name should be specified
without leading '${' and ending '}' placeholder markers. For example, for a placeholder
${start}
, specify start for the
name
parameter.
name | variable name |
---|---|
value | value to be set in the XML template |
Sets value for a single XML template variable. Variable name should be specified
without leading '${' and ending '}' placeholder markers. For example, for a placeholder
${start}
, specify start for the
name
parameter.
name | variable name |
---|---|
value | value to be set in the XML template |
Sets value for a single XML template variable. Variable name should be specified
without leading '${' and ending '}' placeholder markers. For example, for a placeholder
${start}
, specify start for the
name
parameter.
name | variable name |
---|---|
value | value to be set in the XML template |
Sets value for a single XML template variable. Variable name should be specified
without leading '${' and ending '}' placeholder markers. For example, for a placeholder
${start}
, specify start for the
name
parameter.
name | variable name |
---|---|
value | value to be set in the XML template |