org.oddjob.arooa.types
Class XMLConfigurationType

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.oddjob.arooa.types.ValueFactory
ValueFactory.Conversions
 
Field Summary
static ArooaElement ELEMENT
           
 
Constructor Summary
XMLConfigurationType()
           
 
Method Summary
 ClassLoader getClassLoader()
           
 File getFile()
           
 InputStream getInput()
           
 String getResource()
           
 URL getUrl()
           
 String getXml()
           
 void setClassLoader(ClassLoader classLoader)
           
 void setFile(File file)
           
 void setInput(InputStream inputStream)
           
 void setResource(String resource)
           
 void setUrl(URL url)
           
 void setXml(String xml)
           
 ArooaConfiguration toValue()
          Provide an instance of the type this is a factory for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT

public static final ArooaElement ELEMENT
Constructor Detail

XMLConfigurationType

public XMLConfigurationType()
Method Detail

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)