Class XMLXSDMarshaller
- java.lang.Object
-
- org.processmining.servicelevelagreements.model.xml.XMLXSDMarshaller
-
public class XMLXSDMarshaller extends java.lang.ObjectUnmarshaller that converts an input XML stream to aDocumentusing XSD schema validation.- Author:
- B.F.A. Hompes
-
-
Constructor Summary
Constructors Constructor Description XMLXSDMarshaller()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.dom4j.DocumentimportFromStream(java.io.InputStream inputXML, java.lang.String inputXSD)Import an XML file as a org.dom4j.Document while validating it against an XSD Schemastatic org.dom4j.DocumentimportFromStream(org.processmining.framework.plugin.PluginContext context, java.io.InputStream inputXML, java.lang.String inputXSD)Import an XML file as a org.dom4j.Document while validating it against an XSD Schema.
-
-
-
Method Detail
-
importFromStream
public static org.dom4j.Document importFromStream(java.io.InputStream inputXML, java.lang.String inputXSD)Import an XML file as a org.dom4j.Document while validating it against an XSD Schema- Parameters:
inputXML- The input XML as a stream.inputXSD- The input XSD Schema location.- Returns:
- The document.
-
importFromStream
public static org.dom4j.Document importFromStream(org.processmining.framework.plugin.PluginContext context, java.io.InputStream inputXML, java.lang.String inputXSD)Import an XML file as a org.dom4j.Document while validating it against an XSD Schema.- Parameters:
context- The plugincontext (nullable).inputXML- The input XML as a stream.inputXSD- The input XSD Schema location.- Returns:
- The document.
-
-