issrg.utils.handler
Class Merge

java.lang.Object
  extended by issrg.utils.handler.Merge

public class Merge
extends java.lang.Object

this class defines a merging operation, which merges two XACML request context togetehr. In each section, every node should be unique.

Author:
Linying Su

Constructor Summary
Merge()
          Creates a new instance of Merge
 
Method Summary
 org.w3c.dom.Element merge(org.w3c.dom.Element e1, org.w3c.dom.Element e2)
          this is the method to perform the merging operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Merge

public Merge()
Creates a new instance of Merge

Method Detail

merge

public org.w3c.dom.Element merge(org.w3c.dom.Element e1,
                                 org.w3c.dom.Element e2)
                          throws HandlerServiceException
this is the method to perform the merging operation.

Parameters:
e1 - the first XACML request context.
e2 - the second XACML request context.
Returns:
the result context.
Throws:
HandlerServiceException