Package uk.ac.starlink.ttools.votlint
Class TdHandler
java.lang.Object
uk.ac.starlink.ttools.votlint.ElementHandler
uk.ac.starlink.ttools.votlint.TdHandler
Element handler for TD elements.
- Author:
- Mark Taylor (Starlink)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) Called when character content is found in the element.voidCalled when the element has ended.Methods inherited from class uk.ac.starlink.ttools.votlint.ElementHandler
configure, error, getAncestry, getAttribute, getContext, getName, getRef, info, registerChildName, setAncestry, setAttributes, startElement, toString, warning
-
Constructor Details
-
TdHandler
public TdHandler(boolean emptyMeansNull) Constructor.- Parameters:
emptyMeansNull- if true, zero-length TD content unconditionally indicates a null value; if false, zero-length TD content will be assessed without special consideration
-
-
Method Details
-
characters
public void characters(char[] ch, int start, int length) Description copied from class:ElementHandlerCalled when character content is found in the element. The default implementation does nothing.- Overrides:
charactersin classElementHandler
-
endElement
public void endElement()Description copied from class:ElementHandlerCalled when the element has ended. The default implementation does nothing.- Overrides:
endElementin classElementHandler
-