org.apache.ecs
Class Q

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

public class Q
extends MultiPartElement

This class creates a <Q> tag.

Version:
$Id: Q.java,v 1.3 1999/04/22 01:35:06 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
Q()
          Basic constructor.
Q(Element element)
          Basic constructor.
Q(Element element, Element cite)
          Basic constructor.
Q(Element element, java.lang.String cite)
          Basic constructor.
Q(java.lang.String element)
          Basic constructor.
Q(java.lang.String element, Element cite)
          Basic constructor.
Q(java.lang.String element, java.lang.String cite)
          Basic constructor.
 
Method Summary
(package private)  void ()
          Private initialization routine.
 Q addElement(Element element)
          Adds an Element to the element.
 Q addElement(java.lang.String element)
          Adds an Element to the element.
 Q setCite(Element cite)
          Sets the CITE="" attribute.
 Q setCite(java.lang.String cite)
          Sets the CITE="" attribute.
 
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, clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

Q

public Q()
Basic constructor.

Q

public Q(Element element)
Basic constructor.
Parameters:
element - Adds an Element to the element.

Q

public Q(java.lang.String element)
Basic constructor.
Parameters:
element - Adds an Element to the element.

Q

public Q(Element element,
         java.lang.String cite)
Basic constructor.
Parameters:
element - Adds an Element to the element.
cite - sets the CITE="" attribute.

Q

public Q(java.lang.String element,
         java.lang.String cite)
Basic constructor.
Parameters:
element - Adds an Element to the element.
cite - sets the CITE="" attribute.

Q

public Q(Element element,
         Element cite)
Basic constructor.
Parameters:
element - Adds an Element to the element.
cite - sets the CITE="" attribute.

Q

public Q(java.lang.String element,
         Element cite)
Basic constructor.
Parameters:
element - Adds an Element to the element.
cite - sets the CITE="" attribute.
Method Detail

void ()
Private initialization routine.
Overrides:
in class MultiPartElement

setCite

public Q setCite(java.lang.String cite)
Sets the CITE="" attribute.
Parameters:
cite - sets the CITE="" attribute.

setCite

public Q setCite(Element cite)
Sets the CITE="" attribute.
Parameters:
cite - sets the CITE="" attribute.

addElement

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

addElement

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