Knopflerfish OSGi 5.2.0

org.knopflerfish.util.metatype
Class OsgiMetaTypeXmlParser

java.lang.Object
  extended by org.knopflerfish.util.metatype.OsgiMetaTypeXmlParser

public class OsgiMetaTypeXmlParser
extends java.lang.Object

Helper class which loads OSGi Metatype XML.

This implementation uses kXML for the parsing.


Constructor Summary
OsgiMetaTypeXmlParser()
           
 
Method Summary
protected static void endElement(java.lang.String element, java.lang.String content)
           
static BundleMetaTypeResource loadBMTIfromUrl(BundleContext bc, Bundle b, java.net.URL url)
           
protected static void startElement(java.lang.String element, java.net.URL sourceURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsgiMetaTypeXmlParser

public OsgiMetaTypeXmlParser()
Method Detail

loadBMTIfromUrl

public static BundleMetaTypeResource loadBMTIfromUrl(BundleContext bc,
                                                     Bundle b,
                                                     java.net.URL url)
                                              throws java.io.IOException
Throws:
java.io.IOException

startElement

protected static void startElement(java.lang.String element,
                                   java.net.URL sourceURL)
                            throws java.lang.Exception
Throws:
java.lang.Exception

endElement

protected static void endElement(java.lang.String element,
                                 java.lang.String content)
                          throws java.lang.Exception
Throws:
java.lang.Exception

Knopflerfish OSGi 5.2.0