Class BeanMarshaller
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.marshaller.BeanMarshaller
-
public class BeanMarshaller extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_PLACEHOLDER
-
Constructor Summary
Constructors Constructor Description BeanMarshaller(PrismContext prismContext, PrismBeanInspector inspector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canProcess(Class<?> clazz)
boolean
canProcess(QName typeName)
QName
determineTypeForClass(Class<?> clazz)
PrismContext
getPrismContext()
XNodeImpl
marshall(Object inputBean, SerializationContext ctx)
<T> XNodeImpl
marshall(T bean)
<T> MapXNodeImpl
marshalProtectedDataType(Object o, SerializationContext sc)
void
revive(Object bean, PrismContext prismContext)
void
visit(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 PrismContext prismContext, @NotNull PrismBeanInspector inspector)
-
-
Method Detail
-
marshall
@Nullable public <T> XNodeImpl marshall(@Nullable T bean) throws SchemaException
- Throws:
SchemaException
-
marshall
@Nullable public XNodeImpl marshall(@Nullable Object inputBean, @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 PrismContext getPrismContext()
-
canProcess
public boolean canProcess(QName typeName)
-
canProcess
public boolean canProcess(@NotNull Class<?> clazz)
-
-