Class IsAnyXsomParser
java.lang.Object
com.evolveum.midpoint.prism.impl.schema.features.IsAnyXsomParser
- All Implemented Interfaces:
DefinitionFeatureParser<IsAnyXsomParser.IsAny,
com.sun.xml.xsom.XSType>
public class IsAnyXsomParser
extends Object
implements DefinitionFeatureParser<IsAnyXsomParser.IsAny,com.sun.xml.xsom.XSType>
Parser for "is any" definition feature.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.schema.DefinitionFeatureParser
DefinitionFeatureParser.Marker<X>, DefinitionFeatureParser.NonNull<V,
X> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
applicableTo
(Object sourceComponent) @Nullable IsAnyXsomParser.IsAny
getValue
(@Nullable com.sun.xml.xsom.XSType xsType) Returns the value of the definition feature for the given (usually XSOM) source.static IsAnyXsomParser
instance()
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
getValueIfApplicable, restrictToSource
-
Constructor Details
-
IsAnyXsomParser
public IsAnyXsomParser()
-
-
Method Details
-
instance
-
getValue
@Nullable public @Nullable IsAnyXsomParser.IsAny getValue(@Nullable @Nullable com.sun.xml.xsom.XSType xsType) 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<IsAnyXsomParser.IsAny,
com.sun.xml.xsom.XSType> - Throws:
SchemaException
-
applicableTo
- Specified by:
applicableTo
in interfaceDefinitionFeatureParser<IsAnyXsomParser.IsAny,
com.sun.xml.xsom.XSType>
-