Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.relations.api.impl
Class NodeFactory

java.lang.Object
  extended by 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
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

createBlank

public static BlankImpl createBlank(String id)

createResource

public static Resource createResource(String uri)

createQNameResource

public static QNameResource createQNameResource(String namespace,
                                                String localName)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.