public class MoaXMLUtils extends Object
Constructor and Description |
---|
MoaXMLUtils() |
Modifier and Type | Method and Description |
---|---|
static Document |
createNewDocument() |
static void |
initialize() |
static void |
serialize(Document doc,
OutputStream outputStream,
boolean addXMLHeader,
boolean ident) |
static void |
serialize(Element element,
OutputStream outputStream,
boolean addXMLHeader,
boolean ident) |
static byte[] |
serializeToByteArray(Document doc,
boolean addXMLHeader) |
static byte[] |
serializeToByteArray(Element doc,
boolean addXMLHeader) |
static String |
serializeToString(Element doc,
boolean addXMLHeader) |
static boolean |
validateMZS(Element element) |
static boolean |
validateZUSE(Element element) |
public static void initialize()
public static boolean validateMZS(Element element) throws MoaException
MoaException
public static boolean validateZUSE(Element element) throws MoaException
MoaException
public static void serialize(Document doc, OutputStream outputStream, boolean addXMLHeader, boolean ident) throws IOException
IOException
public static String serializeToString(Element doc, boolean addXMLHeader) throws IOException
IOException
public static byte[] serializeToByteArray(Element doc, boolean addXMLHeader) throws IOException
IOException
public static byte[] serializeToByteArray(Document doc, boolean addXMLHeader) throws IOException
IOException
public static void serialize(Element element, OutputStream outputStream, boolean addXMLHeader, boolean ident) throws IOException
IOException
public static Document createNewDocument() throws ParserConfigurationException
ParserConfigurationException
Copyright 2008 EGIZ. All Rights Reserved.