ca.infoway.messagebuilder.marshalling.hl7.parser
Class AbstractPivlElementParser
java.lang.Object
ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractElementParser
ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractSingleElementParser<PeriodicIntervalTime>
ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractPivlElementParser
- All Implemented Interfaces:
- ElementParser
public abstract class AbstractPivlElementParser
- extends AbstractSingleElementParser<PeriodicIntervalTime>
PIVL - Periodic Interval of Time
An interval of time that recurs periodically. Periodic intervals have two
properties, phase and period. The phase specifies the "interval prototype"
that is repeated every period.
http://www.hl7.org/v3ballot/html/infrastructure/itsxml/datatypes-its-xml.htm#dtimpl-PIVL
Methods inherited from class ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractSingleElementParser |
doCreateDataTypeInstance, getMandatoryAttributeValue, getNamedChildNode, getNamePartType, hasValidNullFlavorAttribute, parse, parse, parseNullNode, setDataType, validateMaxChildCount, validateNoChildren, validateUnallowedAttributes, validateUnallowedChildNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPivlElementParser
public AbstractPivlElementParser()
parseNonNullNode
protected PeriodicIntervalTime parseNonNullNode(ParseContext context,
Node node,
BareANY result,
Type expectedReturnType,
XmlToModelResult xmlToModelResult)
throws XmlToModelTransformationException
- Specified by:
parseNonNullNode
in class AbstractSingleElementParser<PeriodicIntervalTime>
- Throws:
XmlToModelTransformationException
createPeriodType
protected abstract DateDiff createPeriodType(ParseContext context,
Element element,
XmlToModelResult xmlToModelResult)
throws ParseException,
XmlToModelTransformationException
- Throws:
ParseException
XmlToModelTransformationException
createPhaseType
protected abstract Interval<Date> createPhaseType(ParseContext context,
Element element,
XmlToModelResult xmlToModelResult)
throws ParseException,
XmlToModelTransformationException
- Throws:
ParseException
XmlToModelTransformationException
Copyright © 2013. All Rights Reserved.