ca.infoway.messagebuilder.marshalling.hl7.parser
Class AnyElementParser
java.lang.Object
ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractElementParser
ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractSingleElementParser<Object>
ca.infoway.messagebuilder.marshalling.hl7.parser.AnyElementParser
- All Implemented Interfaces:
- ElementParser
public class AnyElementParser
- extends AbstractSingleElementParser<Object>
ANY, ANY.LAB, ANY.CA.IZ, ANY.PATH
Each value sent over the wire must correspond to one of the
following non-abstract data type flavor specifications defined below:
ANY: all types allowed
ANY.LAB: CD.LAB, ST, PQ.LAB, IVL, INT.NONNEG, INT.POS, TS.FULLDATETIME, URG
ANY.CA.IZ: ST, PN.BASIC, INT.POS, BL
ANY.PATH: ST, PQ, ED.DOCORREF or CD.LAB
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 |
AnyElementParser
public AnyElementParser()
doCreateDataTypeInstance
protected BareANY doCreateDataTypeInstance(String typeName)
- Specified by:
doCreateDataTypeInstance
in class AbstractSingleElementParser<Object>
parseNonNullNode
protected Object parseNonNullNode(ParseContext context,
Node node,
BareANY hl7Result,
Type returnType,
XmlToModelResult xmlToModelResult)
throws XmlToModelTransformationException
- Specified by:
parseNonNullNode
in class AbstractSingleElementParser<Object>
- Throws:
XmlToModelTransformationException
Copyright © 2013. All Rights Reserved.