public class PunchOutUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
EXTERNAL_GENERAL_ENTITIES |
protected static java.lang.String |
EXTERNAL_PARAMETER_ENTITIES |
protected static java.lang.String |
LOAD_EXTERNAL_DTD |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
marshallFromBeanTree(CXML cxml) |
static void |
removeStandalone(javax.xml.bind.Marshaller marshaller) |
static void |
setHeader(javax.xml.bind.Marshaller m) |
static java.lang.String |
transformCXMLToBase64(CXML cxml)
Transforms a CXML into a Base64 String.
|
static CXML |
unmarshallCXMLFromFile(java.lang.String relativeFilePath) |
protected static final java.lang.String LOAD_EXTERNAL_DTD
protected static final java.lang.String EXTERNAL_GENERAL_ENTITIES
protected static final java.lang.String EXTERNAL_PARAMETER_ENTITIES
public static CXML unmarshallCXMLFromFile(java.lang.String relativeFilePath) throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic static java.lang.String marshallFromBeanTree(CXML cxml)
public static void removeStandalone(javax.xml.bind.Marshaller marshaller)
throws javax.xml.bind.PropertyException
javax.xml.bind.PropertyExceptionpublic static void setHeader(javax.xml.bind.Marshaller m)
throws javax.xml.bind.PropertyException
javax.xml.bind.PropertyExceptionpublic static java.lang.String transformCXMLToBase64(CXML cxml)
cxml - the cxml object.Copyright © 2018 SAP SE. All Rights Reserved.