ca.infoway.messagebuilder.marshalling.hl7.formatter
Class BaseCollectionPropertyFormatter

Package class diagram package BaseCollectionPropertyFormatter
java.lang.Object
  extended by ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractPropertyFormatter
      extended by ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractNullFlavorPropertyFormatter<Collection<BareANY>>
          extended by ca.infoway.messagebuilder.marshalling.hl7.formatter.BaseCollectionPropertyFormatter
All Implemented Interfaces:
PropertyFormatter
Direct Known Subclasses:
SetPropertyFormatter

public abstract class BaseCollectionPropertyFormatter
extends AbstractNullFlavorPropertyFormatter<Collection<BareANY>>


Constructor Summary
BaseCollectionPropertyFormatter()
           
 
Method Summary
protected  FormatContext createSubContext(FormatContext context)
           
protected  Collection<BareANY> extractBareValue(BareANY hl7Value)
           
protected  String formatAllElements(FormatContext subContext, Collection<BareANY> collection, int indentLevel)
           
 
Methods inherited from class ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractNullFlavorPropertyFormatter
createMissingMandatoryWarning, createNullFlavorAttributes, format, isEmptyCollection, isMandatoryOrPopulated, toStringMap
 
Methods inherited from class ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractPropertyFormatter
addSpecializationType, createElement, createElement, createElementClosure, createSpecializationTypeAttibutesIfNecessary, createWarning, format, isNullFlavor, xmlify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseCollectionPropertyFormatter

public BaseCollectionPropertyFormatter()
Method Detail

createSubContext

protected FormatContext createSubContext(FormatContext context)

extractBareValue

protected Collection<BareANY> extractBareValue(BareANY hl7Value)
Overrides:
extractBareValue in class AbstractNullFlavorPropertyFormatter<Collection<BareANY>>

formatAllElements

protected String formatAllElements(FormatContext subContext,
                                   Collection<BareANY> collection,
                                   int indentLevel)


Copyright © 2013. All Rights Reserved.