Class ComponentBuilder


  • public final class ComponentBuilder
    extends Object
    XML Builder for building the UI related portions of the component.xml file included in Carbon components
    • Method Detail

      • build

        public static Component build​(org.osgi.framework.Bundle registeredBundle,
                                      org.osgi.framework.BundleContext bundleContext)
        reads component.xml from given bundle & returns an object representation of it
        Parameters:
        registeredBundle - The bundle that is being registered
        bundleContext - The bundle context of the UI bundles
        Returns:
        Component
      • processCustomUIs

        public static void processCustomUIs​(org.apache.axiom.om.OMElement document,
                                            Component component)
      • processMenus

        public static void processMenus​(String componentName,
                                        org.apache.axiom.om.OMElement document,
                                        Component component)