org.oddjob.arooa.types
Class XMLConfigurationType
java.lang.Object
org.oddjob.arooa.types.XMLConfigurationType
- All Implemented Interfaces:
- ArooaValue, ValueFactory<ArooaConfiguration>
public class XMLConfigurationType
- extends Object
- implements ValueFactory<ArooaConfiguration>
Description
Provide Configuration in XML format.- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT
public static final ArooaElement ELEMENT
XMLConfigurationType
public XMLConfigurationType()
toValue
public ArooaConfiguration toValue()
- Description copied from interface:
ValueFactory
- Provide an instance of the type this is a factory for.
- Specified by:
toValue
in interface ValueFactory<ArooaConfiguration>
- Returns:
- An instance of the type. May be null.
getFile
public File getFile()
setFile
public void setFile(File file)
getResource
public String getResource()
setResource
public void setResource(String resource)
getXml
public String getXml()
setXml
public void setXml(String xml)
getInput
public InputStream getInput()
setInput
public void setInput(InputStream inputStream)
getClassLoader
public ClassLoader getClassLoader()
setClassLoader
@Inject
public void setClassLoader(ClassLoader classLoader)
getUrl
public URL getUrl()
setUrl
public void setUrl(URL url)