Class BeanMarshaller
- java.lang.Object
 - 
- com.evolveum.midpoint.prism.impl.marshaller.BeanMarshaller
 
 
- 
- All Implemented Interfaces:
 SchemaRegistry.InvalidationListener
public class BeanMarshaller extends Object implements SchemaRegistry.InvalidationListener
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_PLACEHOLDER 
- 
Constructor Summary
Constructors Constructor Description BeanMarshaller(@NotNull PrismContext prismContext, @NotNull PrismBeanInspector inspector) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanProcess(@NotNull Class<?> clazz)QNamedetermineTypeForClass(Class<?> clazz)@NotNull PrismContextgetPrismContext()voidinvalidate()@Nullable XNodeImplmarshall(@Nullable Object inputBean, @Nullable SerializationContext ctx)<T> @Nullable XNodeImplmarshall(T bean)<T> MapXNodeImplmarshalProtectedDataType(Object o, SerializationContext sc)voidrevive(Object bean, PrismContext prismContext)voidvisit(Object bean, Handler<Object> handler) 
 - 
 
- 
- 
Field Detail
- 
DEFAULT_PLACEHOLDER
public static final String DEFAULT_PLACEHOLDER
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
BeanMarshaller
public BeanMarshaller(@NotNull @NotNull PrismContext prismContext, @NotNull @NotNull PrismBeanInspector inspector) 
 - 
 
- 
Method Detail
- 
invalidate
public void invalidate()
- Specified by:
 invalidatein interfaceSchemaRegistry.InvalidationListener
 
- 
marshall
@Nullable public <T> @Nullable XNodeImpl marshall(@Nullable T bean) throws SchemaException
- Throws:
 SchemaException
 
- 
marshall
@Nullable public @Nullable XNodeImpl marshall(@Nullable @Nullable Object inputBean, @Nullable @Nullable SerializationContext ctx) throws SchemaException
- Throws:
 SchemaException
 
- 
revive
public void revive(Object bean, PrismContext prismContext) throws SchemaException
- Throws:
 SchemaException
 
- 
marshalProtectedDataType
public <T> MapXNodeImpl marshalProtectedDataType(Object o, SerializationContext sc) throws SchemaException
- Throws:
 SchemaException
 
- 
getPrismContext
@NotNull public @NotNull PrismContext getPrismContext()
 
- 
canProcess
public boolean canProcess(@NotNull @NotNull Class<?> clazz) 
 - 
 
 -