public class XNodeProcessor extends Object
Constructor and Description |
---|
XNodeProcessor() |
XNodeProcessor(PrismContext prismContext) |
public XNodeProcessor()
public XNodeProcessor(PrismContext prismContext)
public SchemaRegistry getSchemaRegistry()
public PrismContext getPrismContext()
public void setPrismContext(PrismContext prismContext)
public <O extends Objectable> PrismObject<O> parseObject(XNode xnode) throws SchemaException
SchemaException
public <O extends Objectable> PrismObject<O> parseObject(RootXNode rootXnode) throws SchemaException
SchemaException
public <O extends Objectable> PrismObject<O> parseObject(MapXNode xmap) throws SchemaException
SchemaException
public <C extends Containerable> PrismContainer<C> parseContainer(XNode xnode) throws SchemaException
SchemaException
public <C extends Containerable> PrismContainer<C> parseContainer(RootXNode rootXnode) throws SchemaException
SchemaException
public <C extends Containerable> PrismContainer<C> parseContainer(XNode xnode, Class<C> type) throws SchemaException
SchemaException
public <C extends Containerable> PrismContainer<C> parseContainer(XNode xnode, PrismContainerDefinition<C> definition) throws SchemaException
SchemaException
public <C extends Containerable> PrismContainerValue<C> parsePrismContainerValue(XNode xnode, PrismContainerDefinition<C> containerDef) throws SchemaException
SchemaException
public <T> T parsePrismPropertyRealValue(XNode xnode, PrismPropertyDefinition<T> propertyDef) throws SchemaException
SchemaException
public <T> T parseAtomicValue(XNode xnode, QName typeName) throws SchemaException
SchemaException
public PrismPropertyValue parsePrismPropertyFromGlobalXNodeValue(Map.Entry<QName,XNode> entry) throws SchemaException
SchemaException
public static <T> PrismProperty<T> parsePrismPropertyRaw(XNode xnode, QName itemName) throws SchemaException
SchemaException
public PrismReference parsePrismReference(XNode xnode, QName itemName, PrismReferenceDefinition referenceDefinition) throws SchemaException
SchemaException
public PrismReferenceValue parseReferenceValue(XNode xnode, PrismReferenceDefinition referenceDefinition) throws SchemaException
SchemaException
public PrismReferenceValue parseReferenceValue(MapXNode xmap, PrismReferenceDefinition referenceDefinition) throws SchemaException
SchemaException
public <T extends Containerable> ItemDefinition locateItemDefinition(PrismContainerDefinition<T> containerDefinition, QName elementQName, XNode xnode) throws SchemaException
SchemaException
public <V extends PrismValue> Item<V> parseItem(XNode xnode, QName itemName, ItemDefinition itemDef) throws SchemaException
SchemaException
public Object parseAnyData(XNode node) throws SchemaException
node
- SchemaException
public <T> T parseAnyValue(XNode node) throws SchemaException
SchemaException
public <O extends Objectable> RootXNode serializeObject(PrismObject<O> object) throws SchemaException
SchemaException
public <O extends Objectable> RootXNode serializeObject(PrismObject<O> object, boolean serializeCompositeObjects) throws SchemaException
SchemaException
public <V extends PrismValue> XNode serializeItem(Item<V> item) throws SchemaException
SchemaException
public RootXNode serializeItemValueAsRoot(PrismValue pval, QName elementName) throws SchemaException
SchemaException
public XNode serializeItemValue(PrismValue pval) throws SchemaException
SchemaException
public <V extends PrismValue> RootXNode serializeItemAsRoot(Item<V> item) throws SchemaException
SchemaException
public XNodeSerializer createSerializer()
public RootXNode serializeAnyData(Object object) throws SchemaException
SchemaException
public RootXNode serializeAnyData(Object object, QName defaultRootElementName) throws SchemaException
SchemaException
public RootXNode serializeAtomicValue(Object object, QName elementName) throws SchemaException
SchemaException
public RootXNode serializeAtomicValue(JAXBElement<?> element) throws SchemaException
SchemaException
public boolean canSerialize(Object object)
Copyright © 2014 evolveum. All rights reserved.