public class NetworkFormatter extends Template implements NetworkTemplate
| Constructor and Description |
|---|
NetworkFormatter(org.w3c.dom.Element el) |
NetworkFormatter(org.w3c.dom.Element el,
NetworkGroupTemplate ngt) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getResult(NetworkAttr network)
Method getResult
|
protected java.lang.Object |
getTemplate(java.lang.String tag,
org.w3c.dom.Element el)
if this class has an template for this tag, it creates it using the
passed in element and returns it.
|
protected java.lang.Object |
textTemplate(java.lang.String text)
returns an object of the template type that this class uses, and returns
the passed in text when the getResult method of that template type is
called
|
getCommonTemplate, parse, parse, setUppublic NetworkFormatter(org.w3c.dom.Element el)
throws ConfigurationException
ConfigurationExceptionpublic NetworkFormatter(org.w3c.dom.Element el,
NetworkGroupTemplate ngt)
throws ConfigurationException
ConfigurationExceptionpublic java.lang.String getResult(NetworkAttr network)
getResult in interface NetworkTemplatenetwork - a NetworkAccessprotected java.lang.Object textTemplate(java.lang.String text)
textTemplate in class Templateprotected java.lang.Object getTemplate(java.lang.String tag,
org.w3c.dom.Element el)
getTemplate in class Template