org.jvoicexml.implementation.grammar.transformer
Class SrgsXml2SrgsAbnfGrammarTransformer

java.lang.Object
  extended by org.jvoicexml.implementation.grammar.transformer.XsltGrammarTransformer
      extended by org.jvoicexml.implementation.grammar.transformer.SrgsXml2SrgsAbnfGrammarTransformer
All Implemented Interfaces:
GrammarTransformer

public final class SrgsXml2SrgsAbnfGrammarTransformer
extends XsltGrammarTransformer

This class implements the GrammarTransformer interface. An instance of this class is able to transform a SRGS grammar with XML format into an ABNF grammar instance. The mime type of the accepted grammar is application/srgs.

Version:
$Revision: 2592 $
Author:
Christoph Buente, Dirk Schnelle-Walka
See Also:
GrammarTransformer

Constructor Summary
SrgsXml2SrgsAbnfGrammarTransformer()
          Standard constructor to instantiate as much GrammarHandler as you need.
 
Method Summary
 GrammarType getSourceType()
          Returns the supported source media type.
protected  String getStylesheetResourceName()
          Retrieves the resource name of the style sheet to use for the transformation.
 GrammarType getTargetType()
          Returns the supported result media type.
 
Methods inherited from class org.jvoicexml.implementation.grammar.transformer.XsltGrammarTransformer
transformGrammar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SrgsXml2SrgsAbnfGrammarTransformer

public SrgsXml2SrgsAbnfGrammarTransformer()
Standard constructor to instantiate as much GrammarHandler as you need.

Method Detail

getSourceType

public GrammarType getSourceType()
Returns the supported source media type.

Returns:
the supported source media type.

getTargetType

public GrammarType getTargetType()
Returns the supported result media type.

Returns:
the supported result media type.

getStylesheetResourceName

protected String getStylesheetResourceName()
Retrieves the resource name of the style sheet to use for the transformation.

Specified by:
getStylesheetResourceName in class XsltGrammarTransformer
Returns:
name of the resource


Copyright © 2005-2010JVoiceXML group.