ca.infoway.messagebuilder.marshalling.hl7.parser
Class AnyElementParser

Package class diagram package AnyElementParser
java.lang.Object
  extended by ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractElementParser
      extended by ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractSingleElementParser<Object>
          extended by 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


Field Summary
 
Fields inherited from class ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractSingleElementParser
EMPTY_STRING
 
Fields inherited from class ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractElementParser
SPECIALIZATION_TYPE
 
Constructor Summary
AnyElementParser()
           
 
Method Summary
protected  BareANY doCreateDataTypeInstance(String typeName)
           
protected  Object parseNonNullNode(ParseContext context, Node node, BareANY hl7Result, Type returnType, 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 ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractElementParser
getAttributeValue, getAttributeValue, getReturnType, getXsiType, getXsiType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnyElementParser

public AnyElementParser()
Method Detail

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.