public class PrismBeanConverter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PLACEHOLDER |
Constructor and Description |
---|
PrismBeanConverter(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(ProtectedDataType<T> protectedType) |
protected boolean |
processSchemaException(SchemaException e,
XNode xsubnode,
ParsingContext pc) |
void |
revive(Object bean,
PrismContext prismContext) |
<T> T |
unmarshall(MapXNode xnode,
Class<T> beanClass,
ParsingContext pc) |
<T> T |
unmarshall(MapXNode xnode,
QName typeQName,
ParsingContext pc) |
<T> T |
unmarshall(XNode xnode,
Class<T> beanClass,
ParsingContext pc) |
<T> T |
unmarshallPrimitive(PrimitiveXNode<?> xprim,
QName typeQName,
ParsingContext pc) |
SchemaDefinitionType |
unmarshalSchemaDefinitionType(SchemaXNode xsub) |
void |
visit(Object bean,
Handler<Object> handler) |
public static final String DEFAULT_PLACEHOLDER
public PrismBeanConverter(PrismContext prismContext, PrismBeanInspector inspector)
public PrismContext getPrismContext()
public boolean canProcess(QName typeName)
public boolean canProcess(Class<?> clazz)
public <T> T unmarshall(MapXNode xnode, QName typeQName, ParsingContext pc) throws SchemaException
SchemaException
public <T> T unmarshall(XNode xnode, Class<T> beanClass, ParsingContext pc) throws SchemaException
SchemaException
public <T> T unmarshall(MapXNode xnode, Class<T> beanClass, ParsingContext pc) throws SchemaException
SchemaException
protected boolean processSchemaException(SchemaException e, XNode xsubnode, ParsingContext pc) throws SchemaException
SchemaException
public <T> T unmarshallPrimitive(PrimitiveXNode<?> xprim, QName typeQName, ParsingContext pc) throws SchemaException
SchemaException
public <T> XNode marshall(T bean) throws SchemaException
SchemaException
public <T> XNode marshall(T bean, SerializationContext ctx) throws SchemaException
SchemaException
public void revive(Object bean, PrismContext prismContext) throws SchemaException
SchemaException
public <T> MapXNode marshalProtectedDataType(ProtectedDataType<T> protectedType) throws SchemaException
SchemaException
public SchemaDefinitionType unmarshalSchemaDefinitionType(SchemaXNode xsub) throws SchemaException
SchemaException
Copyright © 2016 evolveum. All rights reserved.