org.apache.ecs
Class Base

java.lang.Object
  |
  +--org.apache.ecs.Element
        |
        +--org.apache.ecs.ElementAttributes
              |
              +--org.apache.ecs.SinglePartElement
                    |
                    +--org.apache.ecs.Base

public class Base
extends SinglePartElement

This class creates a <BASE> tag.

Version:
$Id: Base.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
Base()
          Basic constructor.
Base(java.lang.String href)
          Basic constructor.
Base(java.lang.String href, java.lang.String target)
          Basic constructor.
 
Method Summary
(package private)  void ()
          Private initialization routine.
 Base setHref(java.lang.String href)
          Sets the HREF="" attribute
 Base setTarget(java.lang.String target)
          Sets the TARGET="" attribute
 
Methods inherited from class org.apache.ecs.SinglePartElement
output, output
 
Methods inherited from class org.apache.ecs.ElementAttributes
setClass, setDir, setID, setLang, setStyle, setTitle
 
Methods inherited from class org.apache.ecs.Element
addAttribute, alterCase, getAttributeFilterState, getCase, getCodeSet, getElementHashEntry, getEndModifier, getEndModifierDefined, getFilter, getFilterState, getHtmlElementType, getNeedClosingTag, getStartModifier, getStartModifierDefined, getVersion, hasAttribute, 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

Base

public Base()
Basic constructor.

Base

public Base(java.lang.String href)
Basic constructor.
Parameters:
href - the URI that goes between double quotes

Base

public Base(java.lang.String href,
            java.lang.String target)
Basic constructor.
Parameters:
href - the URI that goes between double quotes
target - the target that goes between double quotes
Method Detail

void ()
Private initialization routine.
Overrides:
in class java.lang.Object

setHref

public Base setHref(java.lang.String href)
Sets the HREF="" attribute
Parameters:
href - the URI that goes between double quotes

setTarget

public Base setTarget(java.lang.String target)
Sets the TARGET="" attribute
Parameters:
target - the URI that goes between double quotes