Interface Grammar

    • Method Detail

      • executeAction

        void executeAction​(Dsmlv2Container container)
                    throws org.xmlpull.v1.XmlPullParserException,
                           IOException
        This method, when called, executes an action on the current data stored in the container.
        Parameters:
        container - the DSML container
        Throws:
        org.xmlpull.v1.XmlPullParserException - when an unrecoverable error occurs
        IOException - when an IO error occurs
      • getName

        String getName()
        Get the grammar name
        Returns:
        Return the grammar's name
      • setName

        void setName​(String name)
        Set the grammar's name
        Parameters:
        name - The grammar name