org.oddjob.arooa.types
Class ImportType

java.lang.Object
  extended by org.oddjob.arooa.types.ImportType
All Implemented Interfaces:
ArooaValue, ArooaSessionAware

public class ImportType
extends Object
implements ArooaValue, ArooaSessionAware

Description

Import XML which is processed as if it's in-line.
Author:
rob

Nested Class Summary
static class ImportType.Conversions
           
 
Field Summary
static ArooaElement ELEMENT
           
 
Constructor Summary
ImportType()
           
 
Method Summary
 File getFile()
           
 InputStream getInput()
           
 String getResource()
           
 String getXml()
           
 void setArooaSession(ArooaSession session)
           
 void setFile(File file)
           
 void setInput(InputStream input)
           
 void setResource(String resource)
           
 void setXml(String xml)
           
 Object toObject()
           
 
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

ImportType

public ImportType()
Method Detail

setArooaSession

public void setArooaSession(ArooaSession session)
Specified by:
setArooaSession in interface ArooaSessionAware

toObject

public Object toObject()
                throws IOException
Throws:
IOException

getResource

public String getResource()

setResource

public void setResource(String resource)

Property: resource

Description: A resource file on the classpath.

Required: No.


getFile

public File getFile()

setFile

public void setFile(File file)

Property: file

Description: A file.

Required: No.


getInput

public InputStream getInput()

setInput

public void setInput(InputStream input)

Property: input

Description: An input stream.

Required: No.


getXml

public String getXml()

setXml

public void setXml(String xml)

Property: xml

Description: XML as text.

Required: No.