public class GMLOutputTemplate
extends java.lang.Object
GMLWriter
class.Constructor and Description |
---|
GMLOutputTemplate()
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(java.lang.String header,
java.lang.String coding)
for input like :
<feature> <PROPERTY type=name> <%=NAME></property> <PROPERTY type=address> <%=ADDRESS> </property> use addItem("<feature> <PROPERTY type=name>","=NAME") addItem("</property> <PROPERTY type=address>", "%=ADDRESS") |
java.lang.String |
asString()
For debugging - return a human readable version of the parsed outputtemplate
|
void |
load(java.io.Reader r)
Calls the main load() method with the stream name as "Unknown Stream"
|
void |
load(java.io.Reader r,
java.lang.String readerName)
Main function - parse a GMLOuputTemplate.
|
void |
setFeatureFooter(java.lang.String text)
sets the Footer text for the bottom of the feature
|
void |
setFooterText(java.lang.String text)
sets the FooterText for the Outputtemplate
|
void |
setHeaderText(java.lang.String text)
sets the HeaderText for the Outputtemplate
|
public void setHeaderText(java.lang.String text)
public void setFooterText(java.lang.String text)
public void setFeatureFooter(java.lang.String text)
public void addItem(java.lang.String header, java.lang.String coding)
public void load(java.io.Reader r) throws java.lang.Exception
java.lang.Exception
public void load(java.io.Reader r, java.lang.String readerName) throws java.lang.Exception
r
- actual reader to read fromreaderName
- name of the stream (for error reporting)java.lang.Exception
public java.lang.String asString()