org.opensaml.saml1.binding.artifact
Class SAML1ArtifactType0002Builder

java.lang.Object
  extended by org.opensaml.saml1.binding.artifact.SAML1ArtifactType0002Builder
All Implemented Interfaces:
SAMLArtifactBuilder<SAML1ArtifactType0002>

public class SAML1ArtifactType0002Builder
extends java.lang.Object
implements SAMLArtifactBuilder<SAML1ArtifactType0002>

SAML 1, type 0x0002, artifact builder.


Constructor Summary
SAML1ArtifactType0002Builder()
           
 
Method Summary
 SAML1ArtifactType0002 buildArtifact(byte[] artifact)
          Builds a populated artifact given the artifact's byte-array representation.
 SAML1ArtifactType0002 buildArtifact(java.lang.String relyingParty)
          Builds an empty artifact of a specific type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAML1ArtifactType0002Builder

public SAML1ArtifactType0002Builder()
Method Detail

buildArtifact

public SAML1ArtifactType0002 buildArtifact(java.lang.String relyingParty)
Builds an empty artifact of a specific type.

Specified by:
buildArtifact in interface SAMLArtifactBuilder<SAML1ArtifactType0002>
Parameters:
relyingParty - the relying party the artifact is for
Returns:
the artifact

buildArtifact

public SAML1ArtifactType0002 buildArtifact(byte[] artifact)
Builds a populated artifact given the artifact's byte-array representation.

Specified by:
buildArtifact in interface SAMLArtifactBuilder<SAML1ArtifactType0002>
Parameters:
artifact - the byte representation of the artifact
Returns:
populated artifact