Interface XNodeFactory
-
- All Known Implementing Classes:
XNodeFactoryImpl
public interface XNodeFactory
Temporary, experimental API. Clients should not try to produce XNode objects themselves.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListXNode
list(XNode... nodes)
MapXNode
map()
MapXNode
map(Map<QName,XNode> source)
MapXNode
map(QName key, XNode value)
<T> PrimitiveXNode<T>
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
-
primitive
<T> PrimitiveXNode<T> primitive()
-
primitive
<T> PrimitiveXNode<T> primitive(T value, QName typeName)
-
primitive
<T> PrimitiveXNode<T> primitive(T value)
-
primitiveAttribute
<T> PrimitiveXNode<T> primitiveAttribute(T value)
-
primitive
<T> PrimitiveXNode<T> primitive(ValueParser<T> valueParser)
-
primitive
<T> PrimitiveXNode<T> primitive(ValueParser<T> valueParser, QName typeName, boolean explicitTypeDeclaration)
-
map
MapXNode map()
-
-