|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.xml.AbstractXmlNode
org.jvoicexml.xml.vxml.Data
public final class Data
Copyright © 2005-2006 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_ENCTYPE
The media encoding type of the submitted document. |
static String |
ATTRIBUTE_FETCHAUDIO
This defaults to the fetchaudio property. |
static String |
ATTRIBUTE_FETCHINT
This defaults to the datafetchhint property. |
static String |
ATTRIBUTE_FETCHTIMEOUT
This defaults to the fetchtimeout property. |
static String |
ATTRIBUTE_MAXAGE
This defaults to the datamaxage property. |
static String |
ATTRIBUTE_MAXSTALE
This defaults to the datamaxstale property. |
static String |
ATTRIBUTE_METHOD
The request method: get (the default) or post. |
static String |
ATTRIBUTE_NAME
The name of the variable that exposes the DOM. |
static String |
ATTRIBUTE_NAMELIST
The list of variables to submit. |
protected static ArrayList<String> |
ATTRIBUTE_NAMES
Supported attribute names for this node. |
static String |
ATTRIBUTE_SRC
The URI specifying the location of the XML data to retrieve. |
static String |
ATTRIBUTE_SRCEXPR
Like src, except that the URI is dynamically determined by evaluating the given ECMAScript expression when the data needs to be fetched. |
static String |
TAG_NAME
Name of the tag. |
| Constructor Summary | |
|---|---|
Data()
Construct a new data object without a node. |
|
| Method Summary | |
|---|---|
protected boolean |
canContainChild(String tagName)
Can the specified sub-tag be contained within this node? |
Collection<String> |
getAttributeNames()
Returns a collection of permitted attribute names for the node. |
NodeList |
getChildNodes()
A NodeList that contains all children of this node. |
String |
getEnctype()
Retrieve the enctype attribute. |
String |
getFetchaudio()
Retrieve the fetchaudio attribute. |
String |
getFetchint()
Retrieve the fetchint attribute. |
String |
getFetchtimeout()
Retrieve the fetchtimeout attribute. |
String |
getMaxage()
Retrieve the maxage attribute. |
String |
getMaxstale()
Retrieve the maxstale attribute. |
String |
getMethod()
Retrieve the method attribute. |
String |
getName()
Retrieve the name attribute. |
String |
getNamelist()
Retrieve the namelist attribute. |
String |
getSrc()
Retrieve the src attribute. |
String |
getSrcexpr()
Retrieve the srcexpr attribute. |
String |
getTagName()
Get the name of the tag for the derived node. |
XmlNode |
newInstance(Node n)
Create a new instance for the given node. |
void |
setEnctype(String enctype)
Set the enctype attribute. |
void |
setFetchaudio(String fetchaudio)
Set the fetchaudio attribute. |
void |
setFetchint(String fetchint)
Set the fetchint attribute. |
void |
setFetchtimeout(String fetchtimeout)
Set the fetchtimeout attribute. |
void |
setMaxage(String maxage)
Set the maxage attribute. |
void |
setMaxstale(String maxstale)
Set the maxstale attribute. |
void |
setMethod(String method)
Set the method attribute. |
void |
setName(String name)
Set the name attribute. |
void |
setNamelist(String namelist)
Set the namelist attribute. |
void |
setSrc(String src)
Set the src attribute. |
void |
setSrcexpr(String srcexpr)
Set the srcexpr attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jvoicexml.xml.XmlNode |
|---|
addChild, getAttribute, getChildNodes, getNode, setAttribute |
| Methods inherited from interface org.jvoicexml.xml.XmlWritable |
|---|
writeChildrenXml, writeXml |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, 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, setUserData |
| Field Detail |
|---|
public static final String TAG_NAME
public static final String ATTRIBUTE_NAME
public static final String ATTRIBUTE_SRC
public static final String ATTRIBUTE_SRCEXPR
public static final String ATTRIBUTE_FETCHAUDIO
public static final String ATTRIBUTE_METHOD
public static final String ATTRIBUTE_ENCTYPE
public static final String ATTRIBUTE_NAMELIST
public static final String ATTRIBUTE_FETCHINT
public static final String ATTRIBUTE_FETCHTIMEOUT
public static final String ATTRIBUTE_MAXAGE
public static final String ATTRIBUTE_MAXSTALE
protected static final ArrayList<String> ATTRIBUTE_NAMES
| Constructor Detail |
|---|
public Data()
This is necessary for the node factory.
VoiceXmlNodeFactory| Method Detail |
|---|
public String getTagName()
public XmlNode newInstance(Node n)
n - The node to encapsulate.
XmlNodeFactorypublic String getName()
ATTRIBUTE_NAMEpublic void setName(String name)
name - Value of the name attribute.ATTRIBUTE_NAMEpublic String getSrc()
ATTRIBUTE_SRCpublic void setSrc(String src)
src - Value of the src attribute.ATTRIBUTE_SRCpublic String getSrcexpr()
ATTRIBUTE_SRCEXPRpublic void setSrcexpr(String srcexpr)
srcexpr - Value of the srcexpr attribute.ATTRIBUTE_SRCEXPRpublic String getFetchaudio()
ATTRIBUTE_FETCHAUDIOpublic void setFetchaudio(String fetchaudio)
fetchaudio - Value of the fetchaudio attribute.ATTRIBUTE_FETCHAUDIOpublic String getMethod()
ATTRIBUTE_METHODpublic void setMethod(String method)
method - Value of the method attribute.ATTRIBUTE_METHODpublic String getEnctype()
ATTRIBUTE_ENCTYPEpublic void setEnctype(String enctype)
enctype - Value of the enctype attribute.ATTRIBUTE_ENCTYPEpublic String getNamelist()
ATTRIBUTE_NAMELISTpublic void setNamelist(String namelist)
namelist - Value of the namelist attribute.ATTRIBUTE_NAMELISTpublic String getFetchint()
ATTRIBUTE_FETCHINTpublic void setFetchint(String fetchint)
fetchint - Value of the fetchint attribute.ATTRIBUTE_FETCHINTpublic String getFetchtimeout()
ATTRIBUTE_FETCHTIMEOUTpublic void setFetchtimeout(String fetchtimeout)
fetchtimeout - Value of the fetchtimeout attribute.ATTRIBUTE_FETCHTIMEOUTpublic String getMaxage()
ATTRIBUTE_MAXAGEpublic void setMaxage(String maxage)
maxage - Value of the maxage attribute.ATTRIBUTE_MAXAGEpublic String getMaxstale()
ATTRIBUTE_MAXSTALEpublic void setMaxstale(String maxstale)
maxstale - Value of the maxstale attribute.ATTRIBUTE_MAXSTALEprotected boolean canContainChild(String tagName)
canContainChild in class AbstractXmlNodetagName - Name of child.
public Collection<String> getAttributeNames()
getAttributeNames in interface XmlNodegetAttributeNames in class AbstractXmlNodepublic final NodeList getChildNodes()
NodeList that contains all children of this node.
getChildNodes in interface Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||