org.picketlink.identity.federation.core.saml.v2.writers
Class BaseWriter
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
BaseWriter
public BaseWriter(XMLStreamWriter writer)
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
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.