Examples of StringValueFactory


Examples of org.jboss.dna.graph.property.basic.StringValueFactory

    private static ValueFactory<String> STRING_VALUE_FACTORY;

    protected static final ValueFactory<String> getStringValueFactory() {
        // No locking is required, because it doesn't matter if we create several instances during initialization ...
        if (STRING_VALUE_FACTORY == null) {
            STRING_VALUE_FACTORY = new StringValueFactory(Path.NO_OP_DECODER, Path.NO_OP_ENCODER);
        }
        return STRING_VALUE_FACTORY;
    }
View Full Code Here

Examples of org.jboss.dna.graph.property.basic.StringValueFactory

     * @param context
     */
    public AstNodeFactory( ExecutionContext context ) {
        super();
        this.context = context;
        this.stringFactory = new StringValueFactory(new SimpleNamespaceRegistry(), Path.URL_DECODER, Path.URL_ENCODER);
        this.longFactory = new LongValueFactory(Path.URL_DECODER, stringFactory);
    }
View Full Code Here

Examples of org.jboss.dna.graph.property.basic.StringValueFactory

    private static ValueFactory<String> STRING_VALUE_FACTORY;

    protected static final ValueFactory<String> getStringValueFactory() {
        // No locking is required, because it doesn't matter if we create several instances during initialization ...
        if (STRING_VALUE_FACTORY == null) {
            STRING_VALUE_FACTORY = new StringValueFactory(Path.NO_OP_DECODER, Path.NO_OP_ENCODER);
        }
        return STRING_VALUE_FACTORY;
    }
View Full Code Here

Examples of org.modeshape.jcr.value.basic.StringValueFactory

        this.valueFactories = new ContextFactories();

        // Create default factories if needed, or obtain new instances that use our ValueFactories (and
        // NamespaceRegistry.Holder) instances ...
        if (stringFactory == null) {
            stringFactory = new StringValueFactory(this, decoder, encoder);
        } else {
            stringFactory = stringFactory.with(valueFactories).with(this);
        }
        if (binaryFactory == null) {
            // The binary factory should NOT use the string factory that converts namespaces to prefixes ...
            StringValueFactory stringFactoryWithoutNamespaces = new StringValueFactory(decoder, encoder);
            binaryFactory = new BinaryStoreValueFactory(this.binaryStore, decoder, valueFactories, stringFactoryWithoutNamespaces);
        } else {
            binaryFactory = binaryFactory.with(binaryStore).with(valueFactories);
        }
        if (booleanFactory == null) {
View Full Code Here

Examples of org.modeshape.jcr.value.basic.StringValueFactory

    private static ValueFactory<String> STRING_VALUE_FACTORY;

    protected static final ValueFactory<String> getStringValueFactory() {
        // No locking is required, because it doesn't matter if we create several instances during initialization ...
        if (STRING_VALUE_FACTORY == null) {
            STRING_VALUE_FACTORY = new StringValueFactory(Path.NO_OP_DECODER, Path.NO_OP_ENCODER);
        }
        return STRING_VALUE_FACTORY;
    }
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.