public class BaseWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
BaseWriter(XMLStreamWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected static final PicketLinkLogger logger
protected static String PROTOCOL_PREFIX
protected static String ASSERTION_PREFIX
protected static String XACML_SAML_PREFIX
protected static String XACML_SAML_PROTO_PREFIX
protected static String XSI_PREFIX
protected XMLStreamWriter writer
public BaseWriter(XMLStreamWriter writer)
public void write(NameIDType nameIDType, QName tag) throws ProcessingException
NameIDType to streamnameIDType - tag - out - ProcessingExceptionpublic void write(AttributeType attributeType) throws ProcessingException
AttributeType to streamattributeType - out - ProcessingExceptionpublic void writeAttributeTypeWithoutRootTag(AttributeType attributeType) throws ProcessingException
ProcessingExceptionpublic void writeStringAttributeValue(String attributeValue) throws ProcessingException
ProcessingExceptionpublic void writeLocalizedNameType(LocalizedNameType localizedNameType, QName startElement) throws ProcessingException
ProcessingExceptionpublic void write(SubjectType subject) throws ProcessingException
SubjectType to streamsubject - out - ProcessingExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.