public class WrapElement extends java.lang.Object implements Element
<code>wrapped element</code>
would have
a wrapString of code, and an element of "wrapped element"Modifier and Type | Field and Description |
---|---|
protected Element |
e
the element that gets wrapped
|
protected java.lang.String |
paramString
params for the tag open
|
protected java.lang.String |
wrapString
the html tag to "wrap" around the contained element
|
Constructor and Description |
---|
WrapElement(java.lang.String wrapString)
Construct a WrapElement with just a wrapping string
|
WrapElement(java.lang.String wrapString,
Element e)
Construct a WrapElement with a wrapping string and element
|
WrapElement(java.lang.String wrapString,
java.lang.String paramString)
Construct a WrapElement with a wrapping string and params
|
WrapElement(java.lang.String wrapString,
java.lang.String paramString,
Element e)
Construct a WrapElement with a wrapping string, params and
element
|
Modifier and Type | Method and Description |
---|---|
void |
generate(java.io.Writer out)
convert representation to html and write it out
|
Element |
getElement()
Accessor for the element attribute
|
void |
setElement(Element e)
Writer for the Element attribute
|
protected java.lang.String wrapString
protected java.lang.String paramString
protected Element e
public WrapElement(java.lang.String wrapString)
wrapString
- the html tag that gets wrapped around the
elementpublic WrapElement(java.lang.String wrapString, Element e)
wrapString
- the html tag that gets wrapped around the
elemente
- the element that gets containedpublic WrapElement(java.lang.String wrapString, java.lang.String paramString)
wrapString
- the html tag that gets wrapped around the
elementparamString
- the string that gets containedpublic WrapElement(java.lang.String wrapString, java.lang.String paramString, Element e)
wrapString
- the html tag that gets wrapped around the
elemente
- the element that gets containedCopyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details