org.apache.ecs
Class ElementAttributes

java.lang.Object
  |
  +--org.apache.ecs.Element
        |
        +--org.apache.ecs.ElementAttributes
Direct Known Subclasses:
MultiPartElement, SinglePartElement

public abstract class ElementAttributes
extends Element

This class provides a common set of attributes set* methods for all classes.

Version:
$Id: ElementAttributes.java,v 1.1.1.1 1999/04/20 01:18:57 jonbolt Exp $
Author:
Stephan Nagy, Jon S. Stevens

Fields inherited from class org.apache.ecs.Element
attribute_filter, case_type, codeset, element, end_element, end_modifier, end_modifier_defined, filter, filter_attribute_state, filter_state, NO_ATTRIBUTE_VALUE, start_modifier, start_modifier_defined, VERSION
 
Constructor Summary
ElementAttributes()
          Basic constructor.
 
Method Summary
 Element setClass(java.lang.String element_class)
          Set the element class for Cascading Style Sheets.
 Element setDir(java.lang.String dir)
          Sets the DIR="" attribute
 Element setID(java.lang.String id)
          Set the element id for Cascading Style Sheets.
 Element setLang(java.lang.String lang)
          Sets the LANG="" attribute
 Element setStyle(java.lang.String style)
          Sets the STYLE="" attribute
 Element setTitle(java.lang.String title)
          Sets the TITLE="" attribute
 
Methods inherited from class org.apache.ecs.Element
addAttribute, alterCase, getAttributeFilterState, getCase, getCodeSet, getElementHashEntry, getEndModifier, getEndModifierDefined, getFilter, getFilterState, getHtmlElementType, getNeedClosingTag, getStartModifier, getStartModifierDefined, getVersion, hasAttribute, output, output, removeAttribute, removeEndModifier, removeStartModifier, setAttributeFilter, setAttributeFilterState, setCase, setCodeSet, setEndModifier, setEndModifierDefined, setFilter, setFilterState, setHtmlElementType, setModifier, setModifier, setNeedClosingTag, setStartModifier, setStartModifierDefined, toString, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

ElementAttributes

public ElementAttributes()
Basic constructor. This class is abstract to prevent direct instantiation.
Method Detail

setID

public Element setID(java.lang.String id)
Set the element id for Cascading Style Sheets.

setClass

public Element setClass(java.lang.String element_class)
Set the element class for Cascading Style Sheets.

setLang

public Element setLang(java.lang.String lang)
Sets the LANG="" attribute
Parameters:
lang - the LANG="" attribute

setStyle

public Element setStyle(java.lang.String style)
Sets the STYLE="" attribute
Parameters:
style - the STYLE="" attribute

setDir

public Element setDir(java.lang.String dir)
Sets the DIR="" attribute
Parameters:
dir - the DIR="" attribute

setTitle

public Element setTitle(java.lang.String title)
Sets the TITLE="" attribute
Parameters:
title - the TITLE="" attribute