Class BeanMarshaller
java.lang.Object
com.evolveum.midpoint.prism.impl.marshaller.BeanMarshaller
- All Implemented Interfaces:
SchemaRegistry.InvalidationListener
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBeanMarshaller
(@NotNull PrismContext prismContext, @NotNull PrismBeanInspector inspector) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canProcess
(@NotNull Class<?> clazz) determineTypeForClass
(Class<?> clazz) @NotNull PrismContext
void
@Nullable XNodeImpl
marshall
(@Nullable Object inputBean, @Nullable SerializationContext ctx) <T> @Nullable XNodeImpl
marshall
(T bean) <T> MapXNodeImpl
void
revive
(Object bean, PrismContext prismContext) void
-
Field Details
-
DEFAULT_PLACEHOLDER
- See Also:
-
-
Constructor Details
-
BeanMarshaller
public BeanMarshaller(@NotNull @NotNull PrismContext prismContext, @NotNull @NotNull PrismBeanInspector inspector)
-
-
Method Details
-
invalidate
public void invalidate()- Specified by:
invalidate
in interfaceSchemaRegistry.InvalidationListener
-
marshall
- Throws:
SchemaException
-
marshall
@Nullable public @Nullable XNodeImpl marshall(@Nullable @Nullable Object inputBean, @Nullable @Nullable SerializationContext ctx) throws SchemaException - Throws:
SchemaException
-
revive
-
visit
-
marshalProtectedDataType
public <T> MapXNodeImpl marshalProtectedDataType(Object o, SerializationContext sc) throws SchemaException - Throws:
SchemaException
-
getPrismContext
-
canProcess
-
determineTypeForClass
-