ModeShape Distribution 3.0.0.CR1

org.modeshape.sequencer.sramp
Class NamespaceEntityResolver

java.lang.Object
  extended by org.modeshape.sequencer.sramp.NamespaceEntityResolver

public final class NamespaceEntityResolver
extends Object

A simple registry that keeps track of the identifiers and paths for entities, keyed by their namespace and name.


Constructor Summary
NamespaceEntityResolver()
           
 
Method Summary
 String lookupIdentifier(String namespace, String name)
           
 void register(String namespace, String name, String identifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespaceEntityResolver

public NamespaceEntityResolver()
Method Detail

register

public void register(String namespace,
                     String name,
                     String identifier)

lookupIdentifier

public String lookupIdentifier(String namespace,
                               String name)

ModeShape Distribution 3.0.0.CR1

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.