Package org.wso2.carbon.ui.deployment
Class ComponentBuilder
java.lang.Object
org.wso2.carbon.ui.deployment.ComponentBuilder
XML Builder for building the UI related portions of the component.xml file included
in Carbon components
-
Method Summary
Modifier and TypeMethodDescriptionstatic Componentbuild(InputStream componentIn, String componentName, String componentVersion, org.osgi.framework.BundleContext bundleContext) static Componentbuild(org.osgi.framework.Bundle registeredBundle, org.osgi.framework.BundleContext bundleContext) reads component.xml from given bundle invalid input: '&' returns an object representation of itstatic voidprocessCustomUIs(org.apache.axiom.om.OMElement document, Component component) static voidprocessMenus(String componentName, org.apache.axiom.om.OMElement document, Component component)
-
Method Details
-
build
public static Component build(org.osgi.framework.Bundle registeredBundle, org.osgi.framework.BundleContext bundleContext) reads component.xml from given bundle invalid input: '&' returns an object representation of it- Parameters:
registeredBundle- The bundle that is being registeredbundleContext- The bundle context of the UI bundles- Returns:
- Component
-
build
public static Component build(InputStream componentIn, String componentName, String componentVersion, org.osgi.framework.BundleContext bundleContext) throws org.wso2.carbon.CarbonException, XMLStreamException - Throws:
org.wso2.carbon.CarbonExceptionXMLStreamException
-
processCustomUIs
-
processMenus
-