org.apache.ecs
Class THead

java.lang.Object
  |
  +--org.apache.ecs.Element
        |
        +--org.apache.ecs.ElementAttributes
              |
              +--org.apache.ecs.MultiPartElement
                    |
                    +--org.apache.ecs.THead

public class THead
extends MultiPartElement

This class creates a <THEAD> object.

Version:
$Id: THead.java,v 1.4 1999/04/22 19:14:46 stephan Exp $
Author:
Stephan Nagy, Jon S. Stevens

Fields inherited from class org.apache.ecs.MultiPartElement
v_element
 
Fields inherited from class org.apache.ecs.ElementAttributes
attribute_filter, end_modifier, end_modifier_defined, filter_attribute_state, NO_ATTRIBUTE_VALUE, start_modifier, start_modifier_defined
 
Fields inherited from class org.apache.ecs.Element
case_type, codeset, element, end_element, filter, filter_state, position, VERSION
 
Constructor Summary
THead()
           
 
Method Summary
(package private)  void ()
          private initializer.
 THead addElement(Element element)
          Adds an Element to the element.
 THead addElement(java.lang.String element)
          Adds an Element to the element.
 THead setAlign(java.lang.String align)
          Sets the ALIGN="" attribute convience variables are provided in the AlignType interface
 THead setChar(java.lang.String character)
          Sets the CHAR="" attribute.
 THead setCharOff(int char_off)
          Sets the CHAROFF="" attribute.
 THead setCharOff(java.lang.String char_off)
          Sets the CHAROFF="" attribute.
 THead setSpan(int span)
          Sets the SPAN="" attribute.
 THead setSpan(java.lang.String span)
          Sets the SPAN="" attribute.
 THead setVAlign(java.lang.String valign)
          Sets the VALIGN="" attribute convience variables are provided in the AlignType interface
 THead setWidth(int width)
          Supplies user agents with a recommended cell width.
 THead setWidth(java.lang.String width)
          Supplies user agents with a recommended cell width.
 
Methods inherited from class org.apache.ecs.MultiPartElement
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry
 
Methods inherited from class org.apache.ecs.ElementAttributes
addAttribute, getAttributeFilter, getAttributeFilterState, getEndModifier, getEndModifierDefined, getStartModifier, getStartModifierDefined, hasAttribute, removeAttribute, removeEndModifier, removeStartModifier, setAttributeFilter, setAttributeFilterState, setClass, setDir, setEndModifier, setEndModifierDefined, setID, setLang, setModifier, setModifier, setStartModifier, setStartModifierDefined, setStyle, setTitle
 
Methods inherited from class org.apache.ecs.Element
alterCase, getCase, getCodeSet, getElementHashEntry, getElementType, getFilter, getFilterState, getNeedClosingTag, getTagPosition, getVersion, setCase, setCodeSet, setElementType, setFilter, setFilterState, setNeedClosingTag, setTagPosition, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

THead

public THead()
Method Detail

void ()
private initializer.
Overrides:
in class MultiPartElement

setSpan

public THead setSpan(java.lang.String span)
Sets the SPAN="" attribute.
Parameters:
span - sets the SPAN="" attribute.

setSpan

public THead setSpan(int span)
Sets the SPAN="" attribute.
Parameters:
span - sets the SPAN="" attribute.

setWidth

public THead setWidth(int width)
Supplies user agents with a recommended cell width. (Pixel Values)
Parameters:
width - how many pixels to make cell

setWidth

public THead setWidth(java.lang.String width)
Supplies user agents with a recommended cell width. (Pixel Values)
Parameters:
width - how many pixels to make cell

setAlign

public THead setAlign(java.lang.String align)
Sets the ALIGN="" attribute convience variables are provided in the AlignType interface
Parameters:
align - Sets the ALIGN="" attribute

setVAlign

public THead setVAlign(java.lang.String valign)
Sets the VALIGN="" attribute convience variables are provided in the AlignType interface
Parameters:
valign - Sets the ALIGN="" attribute

setChar

public THead setChar(java.lang.String character)
Sets the CHAR="" attribute.
Parameters:
character - the character to use for alignment.

setCharOff

public THead setCharOff(int char_off)
Sets the CHAROFF="" attribute.
Parameters:
char_off - When present this attribute specifies the offset of the first occurrence of the alignment character on each line.

setCharOff

public THead setCharOff(java.lang.String char_off)
Sets the CHAROFF="" attribute.
Parameters:
char_off - When present this attribute specifies the offset of the first occurrence of the alignment character on each line.

addElement

public THead addElement(Element element)
Adds an Element to the element.
Parameters:
element - Adds an Element to the element.

addElement

public THead addElement(java.lang.String element)
Adds an Element to the element.
Parameters:
element - Adds an Element to the element.