Package org.modeshape.jcr.api

Examples of org.modeshape.jcr.api.Namespaced


    }

    protected void assertLocalNameAndNamespace( Item item,
                                                String expectedLocalName,
                                                String namespacePrefix ) throws RepositoryException {
        Namespaced nsed = (Namespaced)item;
        assertThat(nsed.getLocalName(), is(expectedLocalName));
        assertThat(nsed.getNamespaceURI(), is(session.getNamespaceURI(namespacePrefix)));
    }
View Full Code Here


    }

    private void assertLocalNameAndNamespace( NodeType nodeType,
                                              String expectedLocalName,
                                              String namespacePrefix ) throws RepositoryException {
        Namespaced nsed = (Namespaced)nodeType;
        assertThat(nsed.getLocalName(), is(expectedLocalName));
        assertThat(nsed.getNamespaceURI(), is(session.getNamespaceURI(namespacePrefix)));
    }
View Full Code Here

TOP

Related Classes of org.modeshape.jcr.api.Namespaced

Copyright © 2018 www.massapicom. 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.