org.opensaml.artifact
Class SAMLArtifactType0002.RemainingArtifact

java.lang.Object
  extended byorg.opensaml.artifact.SAMLArtifact.RemainingArtifact
      extended byorg.opensaml.artifact.SAMLArtifactType0002.RemainingArtifact
All Implemented Interfaces:
Artifact.RemainingArtifact, ByteSizedSequence
Enclosing class:
SAMLArtifactType0002

public static final class SAMLArtifactType0002.RemainingArtifact
extends SAMLArtifact.RemainingArtifact

An implementation of Artifact.RemainingArtifact for type 0x0002 artifacts (via extension of SAMLArtifact.RemainingArtifact). This class defines two properties (assertionHandle and sourceLocation).


Constructor Summary
SAMLArtifactType0002.RemainingArtifact(byte[] assertionHandle, URI sourceLocation)
          This constructor initializes the properties of this RemainingArtifact object to the given values.
SAMLArtifactType0002.RemainingArtifact(URI sourceLocation)
          This constructor initializes the sourceLocation property of this RemainingArtifact object to the given value.
 
Method Summary
 byte[] getAssertionHandle()
          Get the assertionHandle property of this Artifact.RemainingArtifact object.
 byte[] getBytes()
          Get the actual bytes of this sequence of bytes.
 URI getSourceLocation()
          Get the sourceLocation property of this Artifact.RemainingArtifact object.
 int hashCode()
          Compute the hashcode of this sequences of bytes.
 int size()
          Get the size of this sequence of bytes.
 
Methods inherited from class org.opensaml.artifact.SAMLArtifact.RemainingArtifact
equals, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SAMLArtifactType0002.RemainingArtifact

public SAMLArtifactType0002.RemainingArtifact(URI sourceLocation)
This constructor initializes the sourceLocation property of this RemainingArtifact object to the given value. The assertionHandle property is initialized to a sequence of random bytes.

Parameters:
sourceLocation - a source location

SAMLArtifactType0002.RemainingArtifact

public SAMLArtifactType0002.RemainingArtifact(byte[] assertionHandle,
                                              URI sourceLocation)
This constructor initializes the properties of this RemainingArtifact object to the given values.

This constructor throws a NullArgumentException or InvalidArgumentException if any of its arguments are null or invalid, respectively. These exceptions are unchecked.

Parameters:
assertionHandle - an assertion handle
sourceLocation - a source location
See Also:
NullArgumentException, InvalidArgumentException
Method Detail

getAssertionHandle

public byte[] getAssertionHandle()
Get the assertionHandle property of this Artifact.RemainingArtifact object. return the assertionHandle property


getSourceLocation

public URI getSourceLocation()
Get the sourceLocation property of this Artifact.RemainingArtifact object. return the sourceLocation property


size

public int size()
Description copied from interface: ByteSizedSequence
Get the size of this sequence of bytes.

Returns:
the size of the sequence

getBytes

public byte[] getBytes()
Description copied from interface: ByteSizedSequence
Get the actual bytes of this sequence of bytes.

Returns:
the actual sequence of bytes

hashCode

public int hashCode()
Description copied from interface: ByteSizedSequence
Compute the hashcode of this sequences of bytes.



Copyright ? 2005 UCAID. All Rights Reserved.