PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.saml.v2.writers
Class BaseWriter

java.lang.Object
  extended by org.picketlink.identity.federation.core.saml.v2.writers.BaseWriter
Direct Known Subclasses:
SAMLAssertionWriter, SAMLMetadataWriter, SAMLRequestWriter, SAMLResponseWriter

public class BaseWriter
extends Object

Base Class for the Stax writers for SAML

Since:
Nov 2, 2010
Author:
Anil.Saldhana@redhat.com

Field Summary
protected static String ASSERTION_PREFIX
           
protected static PicketLinkLogger logger
           
protected static String PROTOCOL_PREFIX
           
protected  XMLStreamWriter writer
           
protected static String XACML_SAML_PREFIX
           
protected static String XACML_SAML_PROTO_PREFIX
           
protected static String XSI_PREFIX
           
 
Constructor Summary
BaseWriter(XMLStreamWriter writer)
           
 
Method Summary
 void write(AttributeType attributeType)
          Write an AttributeType to stream
 void write(NameIDType nameIDType, QName tag)
          Write NameIDType to stream
 void write(SubjectType subject)
          write an SubjectType to stream
 void writeAttributeTypeWithoutRootTag(AttributeType attributeType)
           
 void writeLocalizedNameType(LocalizedNameType localizedNameType, QName startElement)
           
 void writeStringAttributeValue(String attributeValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final PicketLinkLogger logger

PROTOCOL_PREFIX

protected static String PROTOCOL_PREFIX

ASSERTION_PREFIX

protected static String ASSERTION_PREFIX

XACML_SAML_PREFIX

protected static String XACML_SAML_PREFIX

XACML_SAML_PROTO_PREFIX

protected static String XACML_SAML_PROTO_PREFIX

XSI_PREFIX

protected static String XSI_PREFIX

writer

protected XMLStreamWriter writer
Constructor Detail

BaseWriter

public BaseWriter(XMLStreamWriter writer)
Method Detail

write

public void write(NameIDType nameIDType,
                  QName tag)
           throws ProcessingException
Write NameIDType to stream

Parameters:
nameIDType -
tag -
out -
Throws:
ProcessingException

write

public void write(AttributeType attributeType)
           throws ProcessingException
Write an AttributeType to stream

Parameters:
attributeType -
out -
Throws:
ProcessingException

writeAttributeTypeWithoutRootTag

public void writeAttributeTypeWithoutRootTag(AttributeType attributeType)
                                      throws ProcessingException
Throws:
ProcessingException

writeStringAttributeValue

public void writeStringAttributeValue(String attributeValue)
                               throws ProcessingException
Throws:
ProcessingException

writeLocalizedNameType

public void writeLocalizedNameType(LocalizedNameType localizedNameType,
                                   QName startElement)
                            throws ProcessingException
Throws:
ProcessingException

write

public void write(SubjectType subject)
           throws ProcessingException
write an SubjectType to stream

Parameters:
subject -
out -
Throws:
ProcessingException

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.