Package de.hybris.platform.b2b.punchout
Class PunchOutUtils
java.lang.Object
de.hybris.platform.b2b.punchout.PunchOutUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringmarshallFromBeanTree(CXML cxml) static voidremoveStandalone(javax.xml.bind.Marshaller marshaller) static voidsetHeader(javax.xml.bind.Marshaller m) static StringtransformCXMLToBase64(CXML cxml) Transforms a CXML into a Base64 String.static CXMLunmarshallCXMLFromFile(String relativeFilePath)
-
Field Details
-
LOAD_EXTERNAL_DTD
- See Also:
-
EXTERNAL_GENERAL_ENTITIES
- See Also:
-
EXTERNAL_PARAMETER_ENTITIES
- See Also:
-
SUPPORTED_TRANSACTION_URL_PATHS
- See Also:
-
-
Method Details
-
unmarshallCXMLFromFile
- Throws:
FileNotFoundException
-
marshallFromBeanTree
-
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
Transforms a CXML into a Base64 String.- Parameters:
cxml- the cxml object.- Returns:
- Base64 String
-