Package | Description |
---|---|
eu.eidas.auth.commons.attribute | |
eu.eidas.auth.commons.attribute.impl |
Modifier and Type | Method and Description |
---|---|
<T> AttributeValue<T> |
ImmutableAttributeMap.getFirstAttributeValue(AttributeDefinition<T> attributeDefinition)
Returns the first
AttributeValue for the given AttributeDefinition or returns null if no
attribute in this map matches the given AttributeDefinition . |
AttributeValue<T> |
AttributeDefinition.unmarshal(String value,
boolean isNonLatinScriptAlternateVersion) |
AttributeValue<T> |
AttributeValueMarshaller.unmarshal(String value,
boolean isNonLatinScriptAlternateVersion)
Unmarshals the given
String as a typed value. |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<AttributeDefinition<?>,com.google.common.collect.ImmutableSet<? extends AttributeValue<?>>> |
ImmutableAttributeMap.getAttributeMap()
Returns the content of this object as an
ImmutableMap where keys are AttributeDefinition s and
values are ImmutableSet s of AttributeValue s. |
<T> com.google.common.collect.ImmutableSet<? extends AttributeValue<T>> |
ImmutableAttributeMap.getAttributeValues(AttributeDefinition<T> attributeDefinition)
Returns the
AttributeValue s for the given AttributeDefinition as an ImmutableSet or
returns null if no attribute in this map matches the given AttributeDefinition . |
<T> com.google.common.collect.ImmutableSet<? extends AttributeValue<T>> |
ImmutableAttributeMap.getAttributeValuesByNameUri(String name) |
<T> com.google.common.collect.ImmutableSet<? extends AttributeValue<T>> |
ImmutableAttributeMap.getAttributeValuesByNameUri(URI name) |
com.google.common.collect.ImmutableSet<? extends AttributeValue<T>> |
ImmutableAttributeMap.ImmutableAttributeEntry.getValues()
Returns the value corresponding to this entry.
|
Modifier and Type | Method and Description |
---|---|
String |
AttributeDefinition.marshal(AttributeValue<T> value) |
String |
AttributeValueMarshaller.marshal(AttributeValue<T> value)
Marshals the given typed value as a
String . |
static <T> ImmutableAttributeMap |
ImmutableAttributeMap.of(AttributeDefinition<T> attributeDefinition,
AttributeValue<T>... values) |
<T> ImmutableAttributeMap.Builder |
ImmutableAttributeMap.Builder.put(AttributeDefinition<T> attribute,
AttributeValue<T>... values) |
Modifier and Type | Method and Description |
---|---|
static ImmutableAttributeMap.Builder |
ImmutableAttributeMap.builder(Map<AttributeDefinition<?>,? extends Iterable<? extends AttributeValue<?>>> copy) |
static ImmutableAttributeMap |
ImmutableAttributeMap.copyOf(Map<AttributeDefinition<?>,? extends Iterable<? extends AttributeValue<?>>> map) |
static <T> ImmutableAttributeMap |
ImmutableAttributeMap.of(AttributeDefinition<T> attributeDefinition,
Iterable<? extends AttributeValue<T>> values) |
<T> ImmutableAttributeMap.Builder |
ImmutableAttributeMap.Builder.put(AttributeDefinition<T> attribute,
Iterable<? extends AttributeValue<T>> values) |
ImmutableAttributeMap.Builder |
ImmutableAttributeMap.Builder.putAll(Map<AttributeDefinition<?>,? extends Iterable<? extends AttributeValue<?>>> attributeMap) |
static ImmutableValueMap |
ImmutableAttributeMap.toValueMap(Map<AttributeDefinition<?>,com.google.common.collect.ImmutableSet<? extends AttributeValue<?>>> map) |
static <T> com.google.common.collect.ImmutableSet<? extends T> |
ImmutableAttributeMap.toValues(Iterable<? extends AttributeValue<T>> attributeValues) |
Constructor and Description |
---|
Builder(Map<AttributeDefinition<?>,? extends Iterable<? extends AttributeValue<?>>> copy) |
ImmutableAttributeEntry(AttributeDefinition<T> attributeDefinition,
com.google.common.collect.ImmutableSet<? extends AttributeValue<T>> attributeValues) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAttributeValue<T extends Serializable>
Abstract AttributeValue
|
class |
BooleanAttributeValue
Boolean AttributeValue
|
class |
DateTimeAttributeValue
DateTime AttributeValue
|
class |
IntegerAttributeValue
Integer AttributeValue
|
class |
LiteralStringAttributeValue
An
AttributeValue for "literal" String s which must not be
transliterated. |
class |
StringAttributeValue
String AttributeValue.
|
Modifier and Type | Method and Description |
---|---|
AttributeValue<String> |
StringAttributeValueMarshaller.unmarshal(String value,
boolean isNonLatinScriptAlternateVersion) |
AttributeValue<String> |
LiteralStringAttributeValueMarshaller.unmarshal(String value,
boolean isNonLatinScriptAlternateVersion) |
AttributeValue<Integer> |
IntegerAttributeValueMarshaller.unmarshal(String value,
boolean isNonLatinScriptAlternateVersion) |
AttributeValue<Boolean> |
BooleanAttributeValueMarshaller.unmarshal(String value,
boolean isNonLatinScriptAlternateVersion) |
AttributeValue<org.joda.time.DateTime> |
DateTimeAttributeValueMarshaller.unmarshal(String value,
boolean isNonLatinScriptAlternateVersion) |
Modifier and Type | Method and Description |
---|---|
String |
BooleanAttributeValueMarshaller.marshal(AttributeValue<Boolean> value) |
String |
DateTimeAttributeValueMarshaller.marshal(AttributeValue<org.joda.time.DateTime> value) |
String |
IntegerAttributeValueMarshaller.marshal(AttributeValue<Integer> value) |
String |
StringAttributeValueMarshaller.marshal(AttributeValue<String> value) |
String |
LiteralStringAttributeValueMarshaller.marshal(AttributeValue<String> value) |
Copyright © 2020. All Rights Reserved.