| java.lang.Object org.ofbiz.service.ModelServiceReader
ModelServiceReader | public class ModelServiceReader (Code) | | Generic Service - Service Definition Reader
author: Andy Zeneski author: David E. Jones version: $Revision: 1.8 $ since: 2.0 |
Method Summary | |
protected void | createAttrDefs(Element baseElement, ModelService service) | protected void | createAutoAttrDef(Element autoElement, ModelService service) | protected void | createAutoAttrDefs(Element baseElement, ModelService service) | protected void | createImplDefs(Element baseElement, ModelService service) | protected ModelService | createModelService(Element serviceElement) | protected void | createOverrideDefs(Element baseElement, ModelService service) | protected void | createPermGroups(Element baseElement, ModelService model) | protected void | createPermissions(Element baseElement, ModelPermGroup group, ModelService service) | protected String | getCDATADef(Element baseElement, String tagName) | protected Document | getDocument(URL url) | public ModelService | getModelService(String serviceName) Gets an Service object based on a definition from the specified XML Service descriptor file.
Parameters: serviceName - The serviceName of the Service definition to use. | public static ModelServiceReader | getModelServiceReader(URL readerURL, DispatchContext dctx) | public static ModelServiceReader | getModelServiceReader(ResourceHandler handler, DispatchContext dctx) | public Map | getModelServices() | public Collection | getServiceNames() Creates a Collection with the serviceName of each Service defined in the specified XML Service Descriptor file. | public Iterator | getServiceNamesIterator() Creates a Iterator with the serviceName of each Service defined in the specified XML Service Descriptor file. |
isFromURL | protected boolean isFromURL(Code) | | is either from a URL or from a ResourceLoader (through the ResourceHandler)
|
modelServices | protected Map modelServices(Code) | | |
getModelService | public ModelService getModelService(String serviceName)(Code) | | Gets an Service object based on a definition from the specified XML Service descriptor file.
Parameters: serviceName - The serviceName of the Service definition to use. An Service object describing the specified service of the specified descriptor file. |
getModelServices | public Map getModelServices()(Code) | | |
getServiceNames | public Collection getServiceNames()(Code) | | Creates a Collection with the serviceName of each Service defined in the specified XML Service Descriptor file.
A Collection of serviceName Strings |
getServiceNamesIterator | public Iterator getServiceNamesIterator()(Code) | | Creates a Iterator with the serviceName of each Service defined in the specified XML Service Descriptor file.
A Iterator of serviceName Strings |
|
|