edu.nyu.cs.pdsg.drbac
Class DelegationXML

java.lang.Object
  extended byedu.nyu.cs.pdsg.drbac.DelegationXML
All Implemented Interfaces:
java.io.Serializable

public class DelegationXML
extends java.lang.Object
implements java.io.Serializable

An XML represention of a Delegation

See Also:
Serialized Form

Field Summary
private  byte[] bytes
           
 
Constructor Summary
DelegationXML(byte[] _bytes)
          Instantiate a DelegationXML with a byte array
 
Method Summary
 boolean equals(java.lang.Object dxmlo)
          Compare this DelegationXML to another object
 byte[] getBytes()
           
 DelegationWithXML getDelegationWithXML()
           
 int hashCode()
           
 int length()
           
 java.lang.String toShortString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

bytes

private byte[] bytes
Constructor Detail

DelegationXML

public DelegationXML(byte[] _bytes)
Instantiate a DelegationXML with a byte array

Parameters:
_bytes - the XML data to base the delegation on
Method Detail

getDelegationWithXML

public DelegationWithXML getDelegationWithXML()

length

public int length()
Returns:
the length of the delegation in bytes

equals

public boolean equals(java.lang.Object dxmlo)
Compare this DelegationXML to another object

Returns:
true if the object being compared is the same delegation

getBytes

public byte[] getBytes()
Returns:
the bytes of this DelegationXML

hashCode

public int hashCode()
Returns:
the hash code of this DelegationXML

toString

public java.lang.String toString()

toShortString

public java.lang.String toShortString()


Copyright (c) 2002-2003 New York University RLAB