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

Package class diagram package AbstractElementParser
java.lang.Object
  extended by ca.infoway.messagebuilder.marshalling.hl7.parser.AbstractElementParser
All Implemented Interfaces:
ElementParser
Direct Known Subclasses:
AbstractSingleElementParser

public abstract class AbstractElementParser
extends Object
implements ElementParser


Field Summary
protected static String SPECIALIZATION_TYPE
           
 
Constructor Summary
AbstractElementParser()
           
 
Method Summary
protected  String getAttributeValue(Element node, String attributeName)
           
protected  String getAttributeValue(Node node, String attributeName)
           
protected  Type getReturnType(ParseContext context)
           
protected  String getXsiType(Element element)
           
protected  String getXsiType(Node node)
           
abstract  BareANY parse(ParseContext context, List<Node> node, XmlToModelResult xmlToModelResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPECIALIZATION_TYPE

protected static final String SPECIALIZATION_TYPE
See Also:
Constant Field Values
Constructor Detail

AbstractElementParser

public AbstractElementParser()
Method Detail

parse

public abstract BareANY parse(ParseContext context,
                              List<Node> node,
                              XmlToModelResult xmlToModelResult)
                       throws XmlToModelTransformationException
Specified by:
parse in interface ElementParser
Throws:
XmlToModelTransformationException

getAttributeValue

protected String getAttributeValue(Node node,
                                   String attributeName)

getAttributeValue

protected String getAttributeValue(Element node,
                                   String attributeName)

getXsiType

protected String getXsiType(Node node)

getXsiType

protected String getXsiType(Element element)

getReturnType

protected Type getReturnType(ParseContext context)


Copyright © 2013. All Rights Reserved.