ca.infoway.messagebuilder.marshalling.hl7.parser
Class AbstractRtoElementParser<N,D>
java.lang.Object
ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractElementParser
ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractSingleElementParser<Ratio<N,D>>
ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractRtoElementParser<N,D>
- All Implemented Interfaces:
- ElementParser
public abstract class AbstractRtoElementParser<N,D>
- extends AbstractSingleElementParser<Ratio<N,D>>
Method Summary |
protected BareANY |
doCreateDataTypeInstance(String typeName)
|
protected abstract D |
getDenominatorValue(Element element,
String type,
ParseContext context,
XmlToModelResult xmlToModelResult)
|
protected abstract N |
getNumeratorValue(Element element,
String type,
ParseContext context,
XmlToModelResult xmlToModelResult)
|
protected Ratio<N,D> |
parseNonNullNode(ParseContext context,
Node node,
BareANY parseResult,
Type expectedReturnType,
XmlToModelResult xmlToModelResult)
|
Methods inherited from class ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractSingleElementParser |
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 |
AbstractRtoElementParser
public AbstractRtoElementParser()
parseNonNullNode
protected Ratio<N,D> parseNonNullNode(ParseContext context,
Node node,
BareANY parseResult,
Type expectedReturnType,
XmlToModelResult xmlToModelResult)
- Specified by:
parseNonNullNode
in class AbstractSingleElementParser<Ratio<N,D>>
getNumeratorValue
protected abstract N getNumeratorValue(Element element,
String type,
ParseContext context,
XmlToModelResult xmlToModelResult)
getDenominatorValue
protected abstract D getDenominatorValue(Element element,
String type,
ParseContext context,
XmlToModelResult xmlToModelResult)
doCreateDataTypeInstance
protected BareANY doCreateDataTypeInstance(String typeName)
- Specified by:
doCreateDataTypeInstance
in class AbstractSingleElementParser<Ratio<N,D>>
Copyright © 2013. All Rights Reserved.