org.oddjob.values.properties
Class PropertiesType

java.lang.Object
  extended by org.oddjob.values.properties.PropertiesBase
      extended by org.oddjob.values.properties.PropertiesType
All Implemented Interfaces:
ArooaValue, ArooaContextAware

public class PropertiesType
extends PropertiesBase
implements ArooaValue

Description

A type that evaluates to a java Properties object.

For more information on configuring this please see PropertiesJob as they share the same underlying mechanisms.

Example

Defining a single property.
 <variables id="vars">
   <props>
     <properties>
      <values>
       <value key="snack.fruit" value="apple"/>
      </values>
     </properties>
   <props/>
 </variables>
 
Author:
Rob Gordon.

Nested Class Summary
static class PropertiesType.Conversions
           
 
Constructor Summary
PropertiesType()
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.oddjob.values.properties.PropertiesBase
getExtract, getPrefix, getSets, getSource, isFromXML, isSubstitute, setArooaContext, setExtract, setFromXML, setInput, setPrefix, setSets, setSource, setSubstitute, setValues, toProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertiesType

public PropertiesType()
Method Detail

toString

public String toString()
Overrides:
toString in class Object