Package uk.ac.starlink.ttools.votlint
Class ParamHandler
- java.lang.Object
-
- uk.ac.starlink.ttools.votlint.ElementHandler
-
- uk.ac.starlink.ttools.votlint.ParamHandler
-
- Direct Known Subclasses:
FieldHandler
public class ParamHandler extends ElementHandler
Element handler for elements which describe values - this is FIELD and PARAM type ones.- Since:
- 7 Apr 2005
- Author:
- Mark Taylor (Starlink)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ParamHandler.ValueChecker
Attribute checker which can check attributes which contain strings of the type described by this element.
-
Constructor Summary
Constructors Constructor Description ParamHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueParser
getParser()
Returns a parser which knows how to check values associated with this element.void
setAttributes(java.util.Map atts)
Sets this handler's attributes.-
Methods inherited from class uk.ac.starlink.ttools.votlint.ElementHandler
characters, configure, endElement, error, getAncestry, getAttribute, getContext, getName, getRef, info, registerChildName, setAncestry, startElement, toString, warning
-
-
-
-
Method Detail
-
setAttributes
public void setAttributes(java.util.Map atts)
Description copied from class:ElementHandler
Sets this handler's attributes.- Overrides:
setAttributes
in classElementHandler
- Parameters:
atts
- name -> value map representing this element's attributes
-
getParser
public ValueParser getParser()
Returns a parser which knows how to check values associated with this element.- Returns:
- parser
-
-