diva.sketch.rcl
Class SceneClassBuilder

java.lang.Object
  extended by diva.util.xml.AbstractXmlBuilder
      extended by diva.sketch.rcl.SceneClassBuilder
All Implemented Interfaces:
XmlBuilder

public class SceneClassBuilder
extends AbstractXmlBuilder

Build a scene recognizer specified by the given class name that contains a single scene recognizer child. Ignore the param and config parameters--subclasses can special-case these.

Version:
$Revision: 1.3 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Constructor Summary
SceneClassBuilder()
           
 
Method Summary
 Object build(XmlElement elt, String type)
          Build a scene recognizer or a stroke recognizer given a list of child recognizers, a map of string (key, value) attribute pairs, and a string cnofiguration.
 
Methods inherited from class diva.util.xml.AbstractXmlBuilder
generate, getDelegate, setDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SceneClassBuilder

public SceneClassBuilder()
Method Detail

build

public Object build(XmlElement elt,
                    String type)
             throws Exception
Build a scene recognizer or a stroke recognizer given a list of child recognizers, a map of string (key, value) attribute pairs, and a string cnofiguration.

Specified by:
build in interface XmlBuilder
Specified by:
build in class AbstractXmlBuilder
Throws:
Exception


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.