protected void initializeDefaultNamespaces ( NamespaceRegistry namespaceRegistry ) { if ( namespaceRegistry == null ) return ; namespaceRegistry . register ( JcrLexicon . Namespace . PREFIX , JcrLexicon . Namespace . URI ) ; namespaceRegistry . register ( JcrMixLexicon . Namespace . PREFIX , JcrMixLexicon . Namespace . URI ) ; namespaceRegistry . register ( JcrNtLexicon . Namespace . PREFIX , JcrNtLexicon . Namespace . URI ) ; namespaceRegistry . register ( ModeShapeLexicon . Namespace . PREFIX , ModeShapeLexicon . Namespace . URI ) ; }
Method that initializes the default namespaces for namespace registries .