public abstract class AbstractCatchElement extends AbstractXmlNode
<catch> element associates a catch with a document,
dialog, or form item (except for blocks). It contains executable content.
Main purpose of this call is to unify the commonalities of all
<catch> tags.
Form,
VoiceXmlDocument| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_COND
An expression which must evaluate to true after conversion to boolean in
order for the event to be caught.
|
static java.lang.String |
ATTRIBUTE_COUNT
The occurrence of the event (default is 1).
|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCatchElement(org.w3c.dom.Node n,
XmlNodeFactory<? extends XmlNode> factory)
Construct a new object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCond()
Retrieve the cond attribute.
|
java.lang.String |
getCount()
Retrieve the count attribute.
|
abstract TokenList |
getEventList()
Retrieve a list with all events, caught by this catch element.
|
void |
setCond(java.lang.String cond)
Set the cond attribute.
|
void |
setCount(java.lang.String count)
Set the count attribute.
|
addChild, addChild, appendChild, appendChild, appendDeepClone, canContainChild, cloneNode, compareDocumentPosition, equals, getAttribute, getAttributeNames, getAttributes, getBaseURI, getChildNodes, getChildNodes, getChildren, getDefinedAttributeNames, getFeature, getFirstChild, getFirstLevelTextContent, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeFactory, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getOwnerXmlDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttribute, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setAttribute, setNodeValue, setPrefix, setTextContent, setUserData, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddChild, getAttribute, getAttributeNames, getChildNodes, getChildren, getNode, getTagName, newInstance, setAttributeappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic static final java.lang.String ATTRIBUTE_COUNT
public static final java.lang.String ATTRIBUTE_COND
protected AbstractCatchElement(org.w3c.dom.Node n,
XmlNodeFactory<? extends XmlNode> factory)
n - The encapsulated node.factory - The node factory to use.public final java.lang.String getCount()
ATTRIBUTE_COUNTpublic final void setCount(java.lang.String count)
count - Value of the count attribute.ATTRIBUTE_COUNTpublic final java.lang.String getCond()
ATTRIBUTE_CONDpublic final void setCond(java.lang.String cond)
cond - Value of the cond attribute.ATTRIBUTE_CONDpublic abstract TokenList getEventList()