org.modeshape.sequencer.xsd
Class NamespaceEntityResolver

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

public class NamespaceEntityResolver
extends Object

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


Nested Class Summary
protected static class NamespaceEntityResolver.Target
           
 
Constructor Summary
NamespaceEntityResolver()
           
 
Method Summary
protected  NamespaceEntityResolver.Target doLookup(String namespace, String name)
           
 UUID lookup(String namespace, String name)
           
 void register(String namespace, String name, Path path, UUID uuid)
           
 
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,
                     Path path,
                     UUID uuid)

lookup

public UUID lookup(String namespace,
                   String name)

doLookup

protected NamespaceEntityResolver.Target doLookup(String namespace,
                                                  String name)


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