Package org.apache.ivy.osgi.obr.xml
Class OBRXMLWriter
java.lang.Object
org.apache.ivy.osgi.obr.xml.OBRXMLWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentHandler
newHandler
(OutputStream out, String encoding, boolean indent) static void
writeBundles
(Iterable<BundleInfo> bundleInfos, ContentHandler handler) static void
writeManifests
(Iterable<ManifestAndLocation> manifestAndLocations, ContentHandler handler, boolean quiet)
-
Constructor Details
-
OBRXMLWriter
public OBRXMLWriter()
-
-
Method Details
-
newHandler
public static ContentHandler newHandler(OutputStream out, String encoding, boolean indent) throws TransformerConfigurationException -
writeManifests
public static void writeManifests(Iterable<ManifestAndLocation> manifestAndLocations, ContentHandler handler, boolean quiet) throws SAXException - Throws:
SAXException
-
writeBundles
public static void writeBundles(Iterable<BundleInfo> bundleInfos, ContentHandler handler) throws SAXException - Throws:
SAXException
-