org.ofbiz.base.component
Class ComponentResourceHandler
java.lang.Object
org.ofbiz.base.component.ComponentResourceHandler
- All Implemented Interfaces:
- java.io.Serializable, ResourceHandler
public class ComponentResourceHandler
- extends java.lang.Object
- implements ResourceHandler
Contains resource information and provides for loading data
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
module
public static final java.lang.String module
componentName
protected java.lang.String componentName
loaderName
protected java.lang.String loaderName
location
protected java.lang.String location
ComponentResourceHandler
public ComponentResourceHandler(java.lang.String componentName,
org.w3c.dom.Element element)
ComponentResourceHandler
public ComponentResourceHandler(java.lang.String componentName,
java.lang.String loaderName,
java.lang.String location)
getLoaderName
public java.lang.String getLoaderName()
- Specified by:
getLoaderName
in interface ResourceHandler
getLocation
public java.lang.String getLocation()
- Specified by:
getLocation
in interface ResourceHandler
getDocument
public org.w3c.dom.Document getDocument()
throws GenericConfigException
- Specified by:
getDocument
in interface ResourceHandler
- Throws:
GenericConfigException
getStream
public java.io.InputStream getStream()
throws GenericConfigException
- Specified by:
getStream
in interface ResourceHandler
- Throws:
GenericConfigException
getURL
public java.net.URL getURL()
throws GenericConfigException
- Specified by:
getURL
in interface ResourceHandler
- Throws:
GenericConfigException
isFileResource
public boolean isFileResource()
throws GenericConfigException
- Specified by:
isFileResource
in interface ResourceHandler
- Throws:
GenericConfigException
getFullLocation
public java.lang.String getFullLocation()
throws GenericConfigException
- Specified by:
getFullLocation
in interface ResourceHandler
- Throws:
GenericConfigException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object