Class PunchOutUtils

java.lang.Object
de.hybris.platform.b2b.punchout.PunchOutUtils

public class PunchOutUtils extends Object
  • Field Details

  • Method Details

    • unmarshallCXMLFromFile

      public static CXML unmarshallCXMLFromFile(String relativeFilePath) throws FileNotFoundException
      Throws:
      FileNotFoundException
    • marshallFromBeanTree

      public static String marshallFromBeanTree(CXML cxml)
    • removeStandalone

      public static void removeStandalone(javax.xml.bind.Marshaller marshaller) throws javax.xml.bind.PropertyException
      Throws:
      javax.xml.bind.PropertyException
    • setHeader

      public static void setHeader(javax.xml.bind.Marshaller m) throws javax.xml.bind.PropertyException
      Throws:
      javax.xml.bind.PropertyException
    • transformCXMLToBase64

      public static String transformCXMLToBase64(CXML cxml)
      Transforms a CXML into a Base64 String.
      Parameters:
      cxml - the cxml object.
      Returns:
      Base64 String