Class XNodeFactoryImpl
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.xnode.XNodeFactoryImpl
-
- All Implemented Interfaces:
XNodeFactory
public class XNodeFactoryImpl extends Object implements XNodeFactory
Temporary, experimental piece of code. Clients should not try to produce XNode objects themselves.
-
-
Constructor Summary
Constructors Constructor Description XNodeFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListXNode
list(XNode... nodes)
MapXNode
map()
MapXNode
map(Map<QName,XNode> source)
MapXNode
map(QName key, XNode value)
PrimitiveXNode<?>
primitive()
<T> PrimitiveXNode<T>
primitive(ValueParser<T> valueParser)
<T> PrimitiveXNode<T>
primitive(ValueParser<T> valueParser, QName typeName, boolean explicitTypeDeclaration)
<T> PrimitiveXNode<T>
primitive(T value)
<T> PrimitiveXNode<T>
primitive(T value, QName typeName)
<T> PrimitiveXNode<T>
primitiveAttribute(T value)
RootXNode
root(QName rootElementName, XNode subnode)
-
-
-
Method Detail
-
root
public RootXNode root(QName rootElementName, XNode subnode)
- Specified by:
root
in interfaceXNodeFactory
-
primitive
public PrimitiveXNode<?> primitive()
- Specified by:
primitive
in interfaceXNodeFactory
-
primitive
public <T> PrimitiveXNode<T> primitive(T value, QName typeName)
- Specified by:
primitive
in interfaceXNodeFactory
-
primitive
public <T> PrimitiveXNode<T> primitive(T value)
- Specified by:
primitive
in interfaceXNodeFactory
-
primitiveAttribute
public <T> PrimitiveXNode<T> primitiveAttribute(T value)
- Specified by:
primitiveAttribute
in interfaceXNodeFactory
-
primitive
public <T> PrimitiveXNode<T> primitive(ValueParser<T> valueParser)
- Specified by:
primitive
in interfaceXNodeFactory
-
primitive
public <T> PrimitiveXNode<T> primitive(ValueParser<T> valueParser, QName typeName, boolean explicitTypeDeclaration)
- Specified by:
primitive
in interfaceXNodeFactory
-
map
public MapXNode map()
- Specified by:
map
in interfaceXNodeFactory
-
map
public MapXNode map(QName key, XNode value)
- Specified by:
map
in interfaceXNodeFactory
-
list
public ListXNode list(XNode... nodes)
- Specified by:
list
in interfaceXNodeFactory
-
-