Uses of Class
edu.umd.cfar.lamp.viper.util.BadDataException

Packages that use BadDataException
edu.umd.cfar.lamp.viper.geometry A set of classes for manipulating geometric data, usually used for ViPER attribute data
edu.umd.cfar.lamp.viper.util Provides miscellanious utility classes for the ViPER suite.  
viper.comparison Provides the classes necessary to compare Descriptors, including a simple command line application useful for generating graphs between a large number of cases.  
viper.descriptors Provides the classes necessary to read comparable Descriptors in from a file.  
viper.descriptors.attributes Provides the classes necessary to read Attributes in from a file and compare them.  
viper.filters   
 

Uses of BadDataException in edu.umd.cfar.lamp.viper.geometry
 

Methods in edu.umd.cfar.lamp.viper.geometry that throw BadDataException
 boolean PolyList.addVertex(Pnt p)
          Adds the vertex to the polygon this represents; this is unimplemented in this root class.
 boolean ConvexPolygon.addVertex(Pnt point)
          Adds a single point to the polygon.
 

Constructors in edu.umd.cfar.lamp.viper.geometry that throw BadDataException
Squiggle(java.lang.String S)
          Constructs a new squiggle from the given list of parenthesized points.
PolyLine(java.lang.String S)
          Constructs the polyline from the string list of points.
Polygon(java.lang.String S)
          Constructs a polygon from a list of points.
OrientedBox(java.lang.String S)
          Creates a new Oriented Box from a string representation.
ConvexPolygon(CountingStringTokenizer input)
          Creates a new convex polygon from the given set of tokens.
BoundingBox(java.lang.String S)
          Creates a new Box from a string representation.
 

Uses of BadDataException in edu.umd.cfar.lamp.viper.util
 

Methods in edu.umd.cfar.lamp.viper.util that throw BadDataException
static java.util.List StringHelp.getQuotedList(java.lang.String str)
          Converts a comma seperated list of quoted strings to a list of debackslashified strings.
 

Uses of BadDataException in viper.comparison
 

Methods in viper.comparison that throw BadDataException
 void ViperPE.setProperties(java.util.Properties props)
          Sets the properties associated with this run of the performance evaluator.
static DescriptorConfigs ViperPE.parseDescriptorConfig(java.lang.String configFileName, java.lang.String dataFileName)
          Reads in config information from a gtf file.
static DescriptorData ViperPE.parseDescriptorData(DescriptorConfigs cfgs, java.lang.String dataFileName, EvaluationParameters epf, java.io.PrintWriter log)
          Reads in data information from a gtf file.
 double Comparison.compareTo(java.lang.Object o)
          Sorts comparisons in order of quality.
 

Uses of BadDataException in viper.descriptors
 

Subclasses of BadDataException in viper.descriptors
 class ImproperDescriptorException
          Indicates a descriptor was attempted to be used that was not defined in the descriptor config section.
 

Methods in viper.descriptors that throw BadDataException
static boolean ImportExport.exportSourcefileAsGTF(Sourcefile sf, java.io.File target)
          Saves the file as a gtf file.
static boolean ImportExport.exportSourcefileAsGTF(Sourcefile sf)
          Asks the user where, then saves the file as a gtf file.
 Descriptor DescSingle.compose(Descriptor D, EvaluationParameters.ScopeRules scope)
           
 void DescSingle.setAttribute(java.lang.String name, Attribute attribute)
          Sets the named attribute to the given value
 void DescriptorData.parseData(org.xml.sax.InputSource input, Equivalencies map, RuleHolder limits, DescriptorConfigs cfgs, java.io.PrintWriter logfile)
          Reads in Descriptor data from the specified XML input source.
 boolean DescriptorConfigs.addDesConfig(org.xml.sax.InputSource input)
          Adds the descriptor schema from the given xml input source.
 Descriptor DescriptorConfigs.addFromGtf(VReader reader, DescVector relativeVector)
          Reads in the next Descriptor from a VReader.
 Descriptor DescriptorConfigs.addFromGtf(org.w3c.dom.Element curr, DescVector relativeVector)
          Parses the given descriptor instance element.
static DescPrototype Descriptor.parseDescriptorConfig(org.w3c.dom.Element desc)
          parses the given descriptor config
static Descriptor Descriptor.composeThese(java.util.Iterator L, EvaluationParameters.ScopeRules scope)
          Turns a list of Descriptors into a single Descriptor in order.
abstract  Descriptor Descriptor.compose(Descriptor D, EvaluationParameters.ScopeRules scope)
          Composes this descriptor with the given descriptor under the given set of scope and composition rules.
 void DescPrototype.addAttribute(java.lang.String name, java.lang.String type)
          Adds a new attribute with the given type information.
 void DescPrototype.addAttribute(java.lang.String name, java.lang.String type, java.lang.String extra)
          Adds the given attribute with the specified parameters.
 Descriptor DescPrototype.parseDescriptorData(VReader reader, DescVector relativeVector)
          Reads in Descriptor data filtered through this Descriptor's config information.
 Descriptor DescPrototype.parseDescriptorData(org.w3c.dom.Element myElement, DescVector relativeVector)
          Reads in the data in xml format.
 void DescHolder.parseData(org.xml.sax.InputSource input, Equivalencies map, RuleHolder limits, DescriptorConfigs cfgs, java.io.PrintWriter logfile)
          Parses data from an XML file.
 void DescHolder.parseData(org.w3c.dom.Document document, Equivalencies map, RuleHolder limits, DescriptorConfigs cfgs, java.io.PrintWriter logfile, java.lang.String filename)
          Parses data from an XML DOM document root.
 Descriptor DescAggregate.compose(Descriptor D, EvaluationParameters.ScopeRules scope)
          Returns a new descriptor eqiuvalent to this+D.
static DescriptorConfigs Converter.getConfigs(org.w3c.dom.Document root)
          Gets the descriptor schema described in the give viper xml file.
 

Constructors in viper.descriptors that throw BadDataException
DescSingle(java.lang.String category)
          Constructs a new object with the given category.
DescSingle(java.lang.String category, java.lang.String name)
          Constructs a new descriptor with the given category and type name.
Descriptor(java.lang.String designation)
          This constructor takes in the type of Descriptor to create.
DescPrototype(java.lang.String category, java.lang.String name)
          Constructs a new descriptor definition.
DescAggregate(java.lang.String designation)
          Constructs a new aggregate descriptor with the given category, e.g.
DescAggregate(DescSingle D)
          Constructs a new aggregate descriptor that contains the contents of the given single descriptor.
 

Uses of BadDataException in viper.descriptors.attributes
 

Methods in viper.descriptors.attributes that throw BadDataException
static FrameSpan FrameSpan.parseFrameSpan(java.lang.String S)
          Reads a String in and parses it.
 Filterable.Rule FrameSpan.convertRule(java.lang.String unparsedRule, java.util.List unparsedValues, ErrorWriter err)
           
 void AttributePrototype.setType(java.lang.String type)
          Sets the attribute type.
static AttributePrototype AttributePrototype.createAttributePrototype(java.lang.String type, java.lang.String name, boolean dynamic)
          Creates a new attribute configuration.
static AttributePrototype AttributePrototype.parseAttributeConfig(org.w3c.dom.Element reader, boolean dynamic)
          Reads in the attribute prototype from the XML DOM node.
static AttributePrototype AttributePrototype.parseAttributeConfig(VReader reader, boolean mobile)
          Parses an Attribute configuration line.
 Attribute AttributePrototype.create(Attribute old)
          Create a new attribute of the specified type using its constructor that takes an Attribute value (copy-constructor?).
protected  void AttributePrototype.setDefaultValue(java.lang.String defaultValue)
          Some attributes may have a default value.
protected  void AttributePrototype.setDefaultValue(org.w3c.dom.Element defaultValue)
           
 void AttributePrototype.setArchetype(org.w3c.dom.Element E)
           
 void AttributePrototype.setArchetype(java.lang.String S)
           
 Filterable.Rule Attribute_svalue.convertRule(java.lang.String unparsedRule, java.util.List unparsedValues, ErrorWriter err)
           
 void Attribute_polygon.setArchetype(java.lang.String value)
           
 void Attribute_polygon.setArchetype(org.w3c.dom.Element E)
           
 Filterable.Rule Attribute_polygon.convertRule(java.lang.String unparsedRule, java.util.List unparsedValues, ErrorWriter err)
          This converts a string into a rule, writing out errors in the format to err.
 Filterable.Rule Attribute_obox.convertRule(java.lang.String unparsedRule, java.util.List unparsedValues, ErrorWriter err)
           
 Filterable.Rule Attribute_number.convertRule(java.lang.String unparsedRule, java.util.List unparsedValues, ErrorWriter err)
           
 void Attribute_lvalue.setArchetype(java.lang.String value)
           
 void Attribute_lvalue.setArchetype(org.w3c.dom.Element E)
           
 Filterable.Rule Attribute_bbox.convertRule(java.lang.String unparsedRule, java.util.List unparsedValues, ErrorWriter err)
           
 void Attribute.setValue(java.lang.String s)
          Sets the attribute to the given string value.
 void Attribute.setStaticValue(AttributeValue v)
          Sets the value of this static attribute.
 void Attribute.setValue(org.w3c.dom.Element el, FrameSpan span, DescVector neighbors)
          Sets the value of the attribute from the given DOM node.
 void Attribute.setValue(org.w3c.dom.Element el, FrameSpan span)
          Sets the value of the attribute from the given DOM node.
 Filterable.Rule Attribute.convertRule(java.lang.String unparsedRule, java.util.List unparsedValues, ErrorWriter err)
          This converts a rule into the proper format for the data type.
 void Attribute.setExtraConfig(java.util.Map list)
          Sets the extra config information.
 java.util.Map Attribute.parseExtraConfig(java.lang.String value)
          Reads in the extended information string.
protected  void Attribute.setDefaultValue(java.lang.String defaultValue)
           
protected  void Attribute.setDefaultValue(org.w3c.dom.Element defaultValue)
           
protected abstract  void AbstractAttribute.setDefaultValue(java.lang.String defaultValue)
          Some attributes may have a default value.
protected abstract  void AbstractAttribute.setDefaultValue(org.w3c.dom.Element defaultValue)
           
 void AbstractAttribute.setArchetype(org.w3c.dom.Element E)
          Sets the archetype associated with this descriptor.
 void AbstractAttribute.setArchetype(java.lang.String S)
          Sets the archetype associated with this descriptor.
protected static int AbstractAttribute.parseAnInt(org.w3c.dom.Element domEl, java.lang.String name)
          Gets the int value of an XML attribute of the given XML element.
 

Uses of BadDataException in viper.filters
 

Methods in viper.filters that throw BadDataException
static Filterable.Rule Rules.getComparisonRelation(java.lang.Object o, java.lang.String relation)
          Gets a relation operation.
 void RuleHolder.addRule(java.lang.String descriptor, java.lang.String attribute_name, Filterable.Rule rule)
          Adds the attribute and the rule for that attribute to the descriptors list of attributes/rules.
 Filterable.Rule Filterable.convertRule(java.lang.String unparsedRule, java.util.List unparsedValues, ErrorWriter err)
          This converts a string into a rule, writing out errors in the format to err.