org.jvoicexml.interpreter.formitem
Class FormItemNameFactory

java.lang.Object
  extended by org.jvoicexml.interpreter.formitem.FormItemNameFactory

public final class FormItemNameFactory
extends Object

Name factory to find a name for a form item.

Version:
$Revision: 154 $

Copyright © 2005-2006 JVoiceXML group - http://jvoicexml.sourceforge.net/

Author:
Dirk Schnelle
See Also:
FormItem

Method Summary
static String getName(VoiceXmlNode node)
          Get a name for the given node using the ATTRIBUTE_NAME attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public static String getName(VoiceXmlNode node)
Get a name for the given node using the ATTRIBUTE_NAME attribute. If the node is nameless an internal name is generated like this:

F<Long.toHexString(System.currentTimeMillis()) >S<6-digit sequence number>

Parameters:
node - VoiceXmlNode
Returns:
Name for the node.
See Also:
ATTRIBUTE_NAME


Copyright © 2005-2007 JVoiceXML group.