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 |
Constructor and Description |
---|
BaseWriter(XMLStreamWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
write(AttributeType attributeType)
Write an
AttributeType to stream |
void |
write(ExtensionsType extensions) |
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 |
writeNameIDTypeAttributeValue(NameIDType attributeValue) |
void |
writeStringAttributeValue(String attributeValue) |
protected static final PicketLinkLogger logger
protected static String PROTOCOL_PREFIX
protected static String ASSERTION_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 writeNameIDTypeAttributeValue(NameIDType attributeValue) 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
public void write(ExtensionsType extensions) throws ProcessingException
ProcessingException
Copyright © 2020 JBoss by Red Hat. All rights reserved.