EncodedType
- the type of object created by encoding the attributepublic abstract class AbstractScopedAttributeEncoder<EncodedType> extends AbstractAttributeEncoder<EncodedType>
Modifier and Type | Field and Description |
---|---|
private String |
scopeAttribute
Attribute name used for "attribute" scopeType.
|
private String |
scopeDelimiter
Delimeter used for "inline" scopeType.
|
private String |
scopeType
Type of scoping to use.
|
private XMLObjectBuilder<ShibbolethScopedValue> |
shibScopeValueBuilder
Builder of Shibboleth scoped value XMLObjects.
|
private XMLObjectBuilder<XSString> |
stringValueBuilder
Builder of string XMLObjects.
|
Constructor and Description |
---|
AbstractScopedAttributeEncoder() |
Modifier and Type | Method and Description |
---|---|
protected List<XMLObject> |
encodeAttributeValues(QName objectName,
BaseAttribute<ScopedAttributeValue> attribute)
Encodes attributes whose values are scoped.
|
String |
getScopeAttribute()
Get the scope attribute.
|
String |
getScopeDelimiter()
Get the scope delimiter.
|
String |
getScopeType()
Get the scope type.
|
void |
setScopeAttribute(String newScopeAttribute)
Set the scope attribute.
|
void |
setScopeDelimiter(String newScopeDelimiter)
Set the scope delimiter.
|
void |
setScopeType(String newScopeType)
Set the scope type.
|
getAttributeName, setAttributeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode
private final XMLObjectBuilder<ShibbolethScopedValue> shibScopeValueBuilder
private final XMLObjectBuilder<XSString> stringValueBuilder
private String scopeType
private String scopeDelimiter
private String scopeAttribute
public String getScopeAttribute()
public String getScopeDelimiter()
public String getScopeType()
public void setScopeAttribute(String newScopeAttribute)
newScopeAttribute
- The scopeAttribute to set.public void setScopeDelimiter(String newScopeDelimiter)
newScopeDelimiter
- The scopeDelimiter to set.public void setScopeType(String newScopeType)
newScopeType
- The scopeType to set.protected List<XMLObject> encodeAttributeValues(QName objectName, BaseAttribute<ScopedAttributeValue> attribute)
objectName
- name of the attribute value element to create for each valueattribute
- the attribute whose values will be encodedCopyright © 1999-2012. All Rights Reserved.