org.writersforge.catalan.process.properties
Class EmptyProperties

java.lang.Object
  extended byorg.writersforge.catalan.process.properties.BaseWorkProperties
      extended byorg.writersforge.catalan.process.properties.EmptyProperties
All Implemented Interfaces:
IWorkProperties

public class EmptyProperties
extends BaseWorkProperties

IWorkProperties implementation with no properties set.

Author:
jsheets

Constructor Summary
EmptyProperties()
           
 
Method Summary
 java.lang.Object getProperty(java.lang.String name)
          Retrieves the value of a named config property.
 java.lang.String[] getPropertyNames()
          Retrieves the names of all properties currently set on this holder.
 
Methods inherited from class org.writersforge.catalan.process.properties.BaseWorkProperties
asMap, asMap, getPropertyAsBoolean, getPropertyAsDatum, getPropertyAsMap, getPropertyAsNumber, getPropertyAsString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyProperties

public EmptyProperties()
Method Detail

getPropertyNames

public java.lang.String[] getPropertyNames()
Retrieves the names of all properties currently set on this holder. This method will always return an empty String array.

Returns:
array of all property names

getProperty

public java.lang.Object getProperty(java.lang.String name)
Retrieves the value of a named config property. This method will always return a null.

Parameters:
name - property name
Returns:
the value of the property, or null if not set