diva.sketch.rcl
Class VotingSceneBuilder
java.lang.Object
diva.util.xml.AbstractXmlBuilder
diva.sketch.rcl.VotingSceneBuilder
- All Implemented Interfaces:
- XmlBuilder
public class VotingSceneBuilder
- extends AbstractXmlBuilder
Build a voting scene recognizer that votes among the children of
the given element.
- Version:
- $Revision: 1.3 $
- Author:
- Michael Shilman (michaels@eecs.berkeley.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
N_HIGHEST
public static final String N_HIGHEST
- The n-highest attribute tag.
- See Also:
- Constant Field Values
MIN_CONFIDENCE
public static final String MIN_CONFIDENCE
- The min-confidence attribute tag.
- See Also:
- Constant Field Values
VotingSceneBuilder
public VotingSceneBuilder()
build
public Object build(XmlElement elt,
String type)
throws Exception
- Build a voting scene recognizer that votes among the children
of the given element. If the given element has no children,
throw an IllegalArgumentException.
- Specified by:
build
in interface XmlBuilder
- Specified by:
build
in class AbstractXmlBuilder
- Throws:
Exception
generate
public XmlElement generate(Object in)
throws Exception
- Generate an XML element for the given VotingSceneRecognizer
- Specified by:
generate
in interface XmlBuilder
- Overrides:
generate
in class AbstractXmlBuilder
- Throws:
Exception
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.