com.bbn.openmap.util.html
Class HeaderElement

java.lang.Object
  extended by com.bbn.openmap.util.html.WrapElement
      extended by com.bbn.openmap.util.html.HeaderElement
All Implemented Interfaces:
Element

public class HeaderElement
extends WrapElement

This class provides easy access to the html header tags


Field Summary
 
Fields inherited from class com.bbn.openmap.util.html.WrapElement
e, paramString, wrapString
 
Constructor Summary
HeaderElement(int headLevel, Element e)
          Construct a header
HeaderElement(int headLevel, java.lang.String s)
          Construct a header
 
Method Summary
 
Methods inherited from class com.bbn.openmap.util.html.WrapElement
generate, getElement, setElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderElement

public HeaderElement(int headLevel,
                     Element e)
Construct a header

Parameters:
headLevel - the level of the header (should be a small integer)
e - the element in the header
Throws:
java.lang.IllegalArgumentException - headLevel was invalid

HeaderElement

public HeaderElement(int headLevel,
                     java.lang.String s)
Construct a header

Parameters:
headLevel - the level of the header (should be a small integer)
s - the string in the header
Throws:
java.lang.IllegalArgumentException - headLevel was invalid


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details