org.moremotion.page
Class NodeSelector

java.lang.Object
  extended by org.moremotion.page.NodeSelector

public class NodeSelector
extends java.lang.Object

Version:
$Id: NodeSelector.java 165 2008-07-01 15:29:42Z erkan $

Method Summary
 ADOMNode processNode(ADOMNode adomNode)
          Checks the given ADOMNode agains the nodelist of the PageDataRequest and performs the following actions: If the node name is in the list and "encrypt" is specified, encrypts the node and returns it.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

processNode

public ADOMNode processNode(ADOMNode adomNode)
                     throws ConfigParameterException
Checks the given ADOMNode agains the nodelist of the PageDataRequest and performs the following actions:
  1. If the node name is in the list and "encrypt" is specified, encrypts the node and returns it. If "newName" is also specified returned node will have the defined new name
  2. If the node name is in the list and "newName" is specified, a new node is returned with the new name
  3. If the node name is in the list, the given node is returned as it is
  4. If "selectAll" is specified in the PageDataRequest then the given node is returned as it is
  5. otherwise null is returned

Throws:
ConfigParameterException


Copyright © 2002-2008 MOR YAZILIM. All Rights Reserved.