Class SchemaProcessorUtil
java.lang.Object
com.evolveum.midpoint.prism.impl.schema.SchemaProcessorUtil
Class to be used by schema processor but also by SchemaDefinitionFactory subclasses.
- Author:
- Radovan Semancik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tstatic StringdumpAnnotation(com.sun.xml.xsom.XSAnnotation annotation) static com.sun.xml.xsom.XSAnnotationgetAnnotation(com.sun.xml.xsom.XSComponent component) static BooleangetAnnotationBoolean(com.sun.xml.xsom.XSAnnotation annotation, QName qname) static <T> TgetAnnotationConverted(Object source, QName qname, Class<T> type) static <T> TgetAnnotationConvertedInherited(com.sun.xml.xsom.XSType xsType, QName qname, Class<T> type) static @Nullable ElementgetAnnotationElement(@Nullable Object sourceObject, @NotNull QName name) static ElementgetAnnotationElement(com.sun.xml.xsom.XSAnnotation annotation, QName qname) static ElementgetAnnotationElement(com.sun.xml.xsom.XSComponent component, QName qname) static ElementgetAnnotationElementCheckingAncestors(@Nullable com.sun.xml.xsom.XSType type, QName annotationElementName) getAnnotationElements(@Nullable com.sun.xml.xsom.XSAnnotation annotation, @NotNull QName qname) getAnnotationElements(@Nullable com.sun.xml.xsom.XSComponent component, @NotNull QName qname) getAnnotationElements(@Nullable Object sourceObject, @NotNull QName name) static QNamegetAnnotationQName(Object object, QName qname) getAnnotationQNameList(Object object, QName qname)
-
Constructor Details
-
SchemaProcessorUtil
public SchemaProcessorUtil()
-
-
Method Details
-
getAnnotationElementCheckingAncestors
-
getAnnotationElement
-
getAnnotationElement
-
getAnnotationElements
-
getAnnotationElements
-
getAnnotationQName
-
getAnnotationQNameList
-
getAnnotationConverted
public static <T> T getAnnotationConverted(Object source, QName qname, Class<T> type) throws SchemaException - Throws:
SchemaException
-
getAnnotationConvertedInherited
public static <T> T getAnnotationConvertedInherited(com.sun.xml.xsom.XSType xsType, QName qname, Class<T> type) throws SchemaException - Throws:
SchemaException
-
convert
- Throws:
SchemaException
-
getAnnotationBoolean
public static Boolean getAnnotationBoolean(com.sun.xml.xsom.XSAnnotation annotation, QName qname) throws SchemaException - Throws:
SchemaException
-
dumpAnnotation
-
getAnnotationElement
-
getAnnotationElements
-
getAnnotation
public static com.sun.xml.xsom.XSAnnotation getAnnotation(com.sun.xml.xsom.XSComponent component)
-