org.opensaml.common.binding.artifact
Interface SAMLArtifactBuilder<ArtifactType extends SAMLArtifact>

All Known Implementing Classes:
SAML1ArtifactType0001Builder, SAML1ArtifactType0002Builder, SAML2ArtifactType0004Builder

public interface SAMLArtifactBuilder<ArtifactType extends SAMLArtifact>

Builder for typed SAML artifacts. Builders must be thread safe and reusable.


Method Summary
 ArtifactType buildArtifact(byte[] artifact)
          Builds a populated artifact given the artifact's byte-array representation.
 ArtifactType buildArtifact(java.lang.String relyingParty)
          Builds an empty artifact of a specific type.
 

Method Detail

buildArtifact

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

Parameters:
relyingParty - the relying party the artifact is for
Returns:
the artifact

buildArtifact

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

Parameters:
artifact - the byte representation of the artifact
Returns:
populated artifact