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
- ProcessingException
public void write(AttributeType attributeType) throws ProcessingException
AttributeType
to streamattributeType
- out
- ProcessingException
public void writeAttributeTypeWithoutRootTag(AttributeType attributeType) throws ProcessingException
ProcessingException
public void writeStringAttributeValue(String attributeValue) throws ProcessingException
ProcessingException
public void writeLocalizedNameType(LocalizedNameType localizedNameType, QName startElement) throws ProcessingException
ProcessingException
public void write(SubjectType subject) throws ProcessingException
SubjectType
to streamsubject
- out
- ProcessingException
Copyright © 2018 JBoss by Red Hat. All rights reserved.