Class AccessXsomProcessor
java.lang.Object
com.evolveum.midpoint.prism.impl.schema.features.AccessXsomProcessor
- All Implemented Interfaces:
DefinitionFeatureParser<PrismItemAccessDefinition.Info,
,com.sun.xml.xsom.XSAnnotation> DefinitionFeatureParser.NonNull<PrismItemAccessDefinition.Info,
,com.sun.xml.xsom.XSAnnotation> DefinitionFeatureSerializer<PrismItemAccessDefinition.Info>
public class AccessXsomProcessor
extends Object
implements DefinitionFeatureParser.NonNull<PrismItemAccessDefinition.Info,com.sun.xml.xsom.XSAnnotation>, DefinitionFeatureSerializer<PrismItemAccessDefinition.Info>
XSOM parser and serializer for (canAdd, canModify, canRead) access control triples.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.schema.DefinitionFeatureParser
DefinitionFeatureParser.Marker<X>, DefinitionFeatureParser.NonNull<V,
X> Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.schema.DefinitionFeatureSerializer
DefinitionFeatureSerializer.SerializationTarget
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable PrismItemAccessDefinition.Info
getValue
(@Nullable com.sun.xml.xsom.XSAnnotation source) Returns the value of the definition feature for the given (usually XSOM) source.void
serialize
(@NotNull PrismItemAccessDefinition.Info value, @NotNull DefinitionFeatureSerializer.SerializationTarget target) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.schema.DefinitionFeatureParser
applicableTo, getValueIfApplicable, restrictToSource
Methods inherited from interface com.evolveum.midpoint.prism.schema.DefinitionFeatureParser.NonNull
getValueRequired
-
Constructor Details
-
AccessXsomProcessor
public AccessXsomProcessor()
-
-
Method Details
-
getValue
@Nullable public @Nullable PrismItemAccessDefinition.Info getValue(@Nullable @Nullable com.sun.xml.xsom.XSAnnotation source) throws SchemaException Description copied from interface:DefinitionFeatureParser
Returns the value of the definition feature for the given (usually XSOM) source. The source is intentionally nullable, because there are situations where this method is called with annotations that are often missing.- Specified by:
getValue
in interfaceDefinitionFeatureParser<PrismItemAccessDefinition.Info,
com.sun.xml.xsom.XSAnnotation> - Throws:
SchemaException
-
serialize
public void serialize(@NotNull @NotNull PrismItemAccessDefinition.Info value, @NotNull @NotNull DefinitionFeatureSerializer.SerializationTarget target) - Specified by:
serialize
in interfaceDefinitionFeatureSerializer<PrismItemAccessDefinition.Info>
-