org.jboss.dna.repository.util
Class JcrNamespaceRegistry
java.lang.Object
org.jboss.dna.repository.util.JcrNamespaceRegistry
- All Implemented Interfaces:
- org.jboss.dna.graph.properties.NamespaceRegistry
public class JcrNamespaceRegistry
- extends Object
- implements org.jboss.dna.graph.properties.NamespaceRegistry
- Author:
- Randall Hauch
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JcrNamespaceRegistry
public JcrNamespaceRegistry(SessionFactory sessionFactory,
String repositoryWorkspaceName)
getDefaultNamespaceUri
public String getDefaultNamespaceUri()
-
- Specified by:
getDefaultNamespaceUri in interface org.jboss.dna.graph.properties.NamespaceRegistry
getNamespaceForPrefix
public String getNamespaceForPrefix(String prefix)
-
- Specified by:
getNamespaceForPrefix in interface org.jboss.dna.graph.properties.NamespaceRegistry
getPrefixForNamespaceUri
public String getPrefixForNamespaceUri(String namespaceUri,
boolean generateIfMissing)
-
- Specified by:
getPrefixForNamespaceUri in interface org.jboss.dna.graph.properties.NamespaceRegistry
isRegisteredNamespaceUri
public boolean isRegisteredNamespaceUri(String namespaceUri)
-
- Specified by:
isRegisteredNamespaceUri in interface org.jboss.dna.graph.properties.NamespaceRegistry
register
public String register(String prefix,
String namespaceUri)
-
- Specified by:
register in interface org.jboss.dna.graph.properties.NamespaceRegistry
getRegisteredNamespaceUris
public Set<String> getRegisteredNamespaceUris()
-
- Specified by:
getRegisteredNamespaceUris in interface org.jboss.dna.graph.properties.NamespaceRegistry
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.