uk.ac.starlink.ttools.votlint
Class ParamHandler

java.lang.Object
  extended by uk.ac.starlink.ttools.votlint.ElementHandler
      extended by 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
static class ParamHandler.ValueChecker
          Attribute checker which can check attributes which contain strings of the type described by this element.
 
Constructor Summary
ParamHandler()
           
 
Method Summary
 ValueParser getParser()
          Returns a parser which knows how to check values associated with this element.
 void setAttributes(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParamHandler

public ParamHandler()
Method Detail

setAttributes

public void setAttributes(Map atts)
Description copied from class: ElementHandler
Sets this handler's attributes.

Overrides:
setAttributes in class ElementHandler
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


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