public class BeanMarshaller extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PLACEHOLDER |
Constructor and Description |
---|
BeanMarshaller(PrismContext prismContext,
PrismBeanInspector inspector) |
Modifier and Type | Method and Description |
---|---|
boolean |
canProcess(Class<?> clazz) |
boolean |
canProcess(QName typeName) |
QName |
determineTypeForClass(Class<?> clazz) |
PrismContext |
getPrismContext() |
<T> XNode |
marshall(T bean) |
<T> XNode |
marshall(T bean,
SerializationContext ctx) |
<T> MapXNode |
marshalProtectedDataType(Object o,
SerializationContext sc) |
void |
revive(Object bean,
PrismContext prismContext) |
void |
visit(Object bean,
Handler<Object> handler) |
public static final String DEFAULT_PLACEHOLDER
public BeanMarshaller(@NotNull PrismContext prismContext, @NotNull PrismBeanInspector inspector)
@Nullable public <T> XNode marshall(@Nullable T bean) throws SchemaException
SchemaException
@Nullable public <T> XNode marshall(@Nullable T bean, @Nullable SerializationContext ctx) throws SchemaException
SchemaException
public void revive(Object bean, PrismContext prismContext) throws SchemaException
SchemaException
public <T> MapXNode marshalProtectedDataType(Object o, SerializationContext sc) throws SchemaException
SchemaException
@NotNull public PrismContext getPrismContext()
public boolean canProcess(QName typeName)
public boolean canProcess(@NotNull Class<?> clazz)
Copyright © 2019 Evolveum. All rights reserved.