Package org.apache.jackrabbit.oak.jcr.value

Examples of org.apache.jackrabbit.oak.jcr.value.ValueFactoryImpl.createValue()


        }
        NodeDelegate node = parentNode.addChild(nodeName);
        if (node == null) {
            throw new ItemExistsException("Node already exists: " + absPath);
        }
        node.setProperty("statement", vf.getCoreValue(vf.createValue(statement)));
        node.setProperty("language", vf.getCoreValue(vf.createValue(language)));
        NodeImpl n = new NodeImpl(node);
        n.setPrimaryType(NodeType.NT_QUERY);
        storedQueryPath = oakPath;
        return n;
View Full Code Here


        NodeDelegate node = parentNode.addChild(nodeName);
        if (node == null) {
            throw new ItemExistsException("Node already exists: " + absPath);
        }
        node.setProperty("statement", vf.getCoreValue(vf.createValue(statement)));
        node.setProperty("language", vf.getCoreValue(vf.createValue(language)));
        NodeImpl n = new NodeImpl(node);
        n.setPrimaryType(NodeType.NT_QUERY);
        storedQueryPath = oakPath;
        return n;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.