org.apache.ecs.vxml
Class Block
java.lang.Object
org.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.MultiPartElement
org.apache.ecs.xml.XML
org.apache.ecs.vxml.VXMLElement
org.apache.ecs.vxml.Block
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Attributes, Element, ElementRegistry, Printable
public class Block
- extends VXMLElement
This class implements the block element
- Author:
- Written by Carol Jones
- See Also:
- Serialized Form
Constructor Summary |
Block()
Basic constructor. |
Block(java.lang.String name)
This constructor creates a <block> tag. |
Block(java.lang.String name,
java.lang.String expr,
java.lang.String cond)
This constructor creates a <block> tag. |
Method Summary |
Block |
setCond(java.lang.String cond)
Sets the cond="" attribute |
Block |
setExpr(java.lang.String expr)
Sets the expr="" attribute |
Block |
setName(java.lang.String name)
Sets the name="" attribute |
Methods inherited from class org.apache.ecs.ConcreteElement |
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, keys, output, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry |
Methods inherited from class org.apache.ecs.ElementAttributes |
addAttribute, addAttribute, addAttribute, addAttribute, attributes, createStartTag, getAttribute, getAttributeEqualitySign, getAttributeFilter, getAttributeFilterState, getAttributeQuote, getAttributeQuoteChar, hasAttribute, removeAttribute, setAttributeEqualitySign, setAttributeFilter, setAttributeFilterState, setAttributeQuote, setAttributeQuoteChar, setClass, setDir, setID, setLang, setStyle, setTitle |
Methods inherited from class org.apache.ecs.GenericElement |
alterCase, createEndTag, getBeginStartModifier, getBeginStartModifierDefined, getCase, getCodeSet, getElementHashEntry, getElementType, getEndEndModifier, getEndEndModifierDefined, getEndStartModifier, getEndStartModifierDefined, getEndTagChar, getFilter, getFilterState, getPrettyPrint, getStartTagChar, getTabLevel, getTagPosition, getTagText, getVersion, putTabs, putTabs, removeBeginEndModifier, removeBeginStartModifier, removeEndEndModifier, removeEndStartModifier, setBeginEndModifier, setBeginModifier, setBeginModifier, setBeginStartModifier, setCase, setCodeSet, setElementType, setEndEndModifier, setEndModifier, setEndModifier, setEndStartModifier, setEndTagChar, setFilter, setFilterState, setNeedClosingTag, setPrettyPrint, setStartTagChar, setTabLevel, setTagPosition, setTagText, toString, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Block
public Block()
- Basic constructor. You need to set the attributes using the
set* methods.
Block
public Block(java.lang.String name,
java.lang.String expr,
java.lang.String cond)
- This constructor creates a <block> tag.
- Parameters:
name
- the name="" attributeexpr
- the expr="" attributecond
- the cond="" attribute
Block
public Block(java.lang.String name)
- This constructor creates a <block> tag.
- Parameters:
name
- the name="" attribute
setName
public Block setName(java.lang.String name)
- Sets the name="" attribute
- Parameters:
name
- the name="" attribute
setExpr
public Block setExpr(java.lang.String expr)
- Sets the expr="" attribute
- Parameters:
expr
- the expr="" attribute
setCond
public Block setCond(java.lang.String cond)
- Sets the cond="" attribute
- Parameters:
cond
- the cond="" attribute
Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.