Class AssociationTransformer

java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.AssociationTransformer

public class AssociationTransformer extends Object
Transforms an Association to its ebXML representation.
Author:
Jens Riemschneider
  • Constructor Details

    • AssociationTransformer

      public AssociationTransformer(EbXMLFactory factory)
      Constructs the transformer
      Parameters:
      factory - factory for version independent ebXML objects.
  • Method Details

    • toEbXML

      public EbXMLAssociation toEbXML(Association association, EbXMLObjectLibrary objectLibrary)
      Transforms the given association to its ebXML representation.
      Parameters:
      association - the association to transform. Can be null.
      objectLibrary - the object library.
      Returns:
      the ebXML representation. null if the input was null.
    • fromEbXML

      public Association fromEbXML(EbXMLAssociation association)
      Transforms the given ebXML representation into an Association.
      Parameters:
      association - the ebXML association. Can be null.
      Returns:
      the created Association instance. null if the input was null.