org.apache.turbine.services.intake
Class IntakeTool.PullHelper

java.lang.Object
  |
  +--org.apache.turbine.services.intake.IntakeTool.PullHelper
Enclosing class:
IntakeTool

public class IntakeTool.PullHelper
extends java.lang.Object

Inner class to present a nice interface to the template designer


Field Summary
(package private)  java.lang.String groupName
           
 
Constructor Summary
private IntakeTool.PullHelper(java.lang.String groupName)
           
 
Method Summary
 Group getDefault()
          populates the object with the default values from the XML File
 Group mapTo(Retrievable obj)
          maps an Intake Group to the values from a Retrievable object.
 Group setKey(java.lang.String key)
           
 Group setKey(java.lang.String key, boolean create)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

groupName

java.lang.String groupName
Constructor Detail

IntakeTool.PullHelper

private IntakeTool.PullHelper(java.lang.String groupName)
Method Detail

getDefault

public Group getDefault()
                 throws java.lang.Exception
populates the object with the default values from the XML File
Returns:
a Group object with the default values

setKey

public Group setKey(java.lang.String key)
             throws java.lang.Exception

setKey

public Group setKey(java.lang.String key,
                    boolean create)
             throws java.lang.Exception

mapTo

public Group mapTo(Retrievable obj)
            throws java.lang.Exception
maps an Intake Group to the values from a Retrievable object.
Parameters:
obj - A retrievable object
Returns:
an Intake Group


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.