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