public class PatchXml extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PatchXml.Namespace |
static class |
PatchXml.Result<T> |
Modifier and Type | Field and Description |
---|---|
static String |
PATCH_XML |
static String |
ROLLBACK_XML |
Modifier and Type | Method and Description |
---|---|
static void |
marshal(OutputStream os,
Patch patch) |
protected static void |
marshal(OutputStream os,
Patch patch,
org.jboss.staxmapper.XMLElementWriter<? extends Patch> xmlWriter) |
static void |
marshal(OutputStream os,
RollbackPatch patch) |
static void |
marshal(Writer writer,
Patch patch) |
static PatchMetadataResolver |
parse(File patchXml) |
static PatchMetadataResolver |
parse(File patchXml,
InstalledIdentity original) |
static PatchMetadataResolver |
parse(InputStream stream) |
static PatchMetadataResolver |
parse(InputStream stream,
InstalledIdentity originalIdentity) |
static PatchMetadataResolver |
parse(Reader stream) |
static PatchMetadataResolver |
parse(Reader reader,
InstalledIdentity originalIdentity) |
protected static PatchMetadataResolver |
parse(XMLStreamReader reader,
InstalledIdentity originalIdentity) |
public static final String PATCH_XML
public static final String ROLLBACK_XML
public static void marshal(Writer writer, Patch patch) throws XMLStreamException
XMLStreamException
public static void marshal(OutputStream os, Patch patch) throws XMLStreamException
XMLStreamException
public static void marshal(OutputStream os, RollbackPatch patch) throws XMLStreamException
XMLStreamException
protected static void marshal(OutputStream os, Patch patch, org.jboss.staxmapper.XMLElementWriter<? extends Patch> xmlWriter) throws XMLStreamException
XMLStreamException
public static PatchMetadataResolver parse(InputStream stream) throws XMLStreamException
XMLStreamException
public static PatchMetadataResolver parse(InputStream stream, InstalledIdentity originalIdentity) throws XMLStreamException
XMLStreamException
public static PatchMetadataResolver parse(Reader stream) throws XMLStreamException
XMLStreamException
public static PatchMetadataResolver parse(Reader reader, InstalledIdentity originalIdentity) throws XMLStreamException
XMLStreamException
protected static PatchMetadataResolver parse(XMLStreamReader reader, InstalledIdentity originalIdentity) throws XMLStreamException
XMLStreamException
public static PatchMetadataResolver parse(File patchXml) throws IOException, XMLStreamException
IOException
XMLStreamException
public static PatchMetadataResolver parse(File patchXml, InstalledIdentity original) throws IOException, XMLStreamException
IOException
XMLStreamException
Copyright © 2023 JBoss by Red Hat. All rights reserved.