Class PrismUnmarshaller
java.lang.Object
com.evolveum.midpoint.prism.impl.marshaller.PrismUnmarshaller
-
Constructor Summary
ConstructorDescriptionPrismUnmarshaller
(@NotNull PrismContext prismContext, @NotNull BeanUnmarshaller beanUnmarshaller, @NotNull SchemaRegistryImpl schemaRegistry, @NotNull DefinitionFactoryImpl definitionFactory) -
Method Summary
Modifier and TypeMethodDescriptionstatic Long
getContainerId
(MapXNodeImpl xmap, PrismContainerDefinition<?> containerDef) static String
getOid
(MapXNodeImpl xmap) static String
getVersion
(MapXNodeImpl xmap) locateItemDefinition
(@NotNull ItemDefinition<?> containerDefinition, @NotNull QName itemName, @Nullable XNode xnode) <C extends Containerable>
PrismContainerValue<C>parseRealContainerValueFromMap
(@NotNull MapXNodeImpl map, @NotNull PrismContainerDefinition<C> containerDef, @NotNull ParsingContext pc)
-
Constructor Details
-
PrismUnmarshaller
public PrismUnmarshaller(@NotNull @NotNull PrismContext prismContext, @NotNull @NotNull BeanUnmarshaller beanUnmarshaller, @NotNull @NotNull SchemaRegistryImpl schemaRegistry, @NotNull @NotNull DefinitionFactoryImpl definitionFactory)
-
-
Method Details
-
getOid
- Throws:
SchemaException
-
getVersion
- Throws:
SchemaException
-
getContainerId
public static Long getContainerId(MapXNodeImpl xmap, PrismContainerDefinition<?> containerDef) throws SchemaException - Throws:
SchemaException
-
parseRealContainerValueFromMap
public <C extends Containerable> PrismContainerValue<C> parseRealContainerValueFromMap(@NotNull @NotNull MapXNodeImpl map, @NotNull @NotNull PrismContainerDefinition<C> containerDef, @NotNull @NotNull ParsingContext pc) throws SchemaException - Throws:
SchemaException
-
locateItemDefinition
public ItemDefinition<?> locateItemDefinition(@NotNull @NotNull ItemDefinition<?> containerDefinition, @NotNull @NotNull QName itemName, @Nullable @Nullable XNode xnode)
-