Class NodeFactory
- java.lang.Object
-
- org.nuxeo.ecm.platform.relations.api.impl.NodeFactory
-
public final class NodeFactory extends Object
Node factory to create default nodes.- Author:
- Anahide Tchertchian
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlankImpl
createBlank()
static BlankImpl
createBlank(String id)
static LiteralImpl
createLiteral(String value)
static LiteralImpl
createLiteral(String value, String language)
static QNameResource
createQNameResource(String namespace, String localName)
static Resource
createResource(String uri)
static LiteralImpl
createTypedLiteral(String value, String type)
-
-
-
Method Detail
-
createLiteral
public static LiteralImpl createLiteral(String value)
-
createLiteral
public static LiteralImpl createLiteral(String value, String language)
-
createTypedLiteral
public static LiteralImpl createTypedLiteral(String value, String type)
-
createBlank
public static BlankImpl createBlank()
-
createQNameResource
public static QNameResource createQNameResource(String namespace, String localName)
-
-