com.tinkerpop.rexster.extension
Class ExtensionAllowed

java.lang.Object
  extended by com.tinkerpop.rexster.extension.ExtensionAllowed

public class ExtensionAllowed
extends Object

Holds namespaces that define which extensions are allowed for a specific graph.


Constructor Summary
ExtensionAllowed(String namespace)
          Initializes a new ExtensionAllowed object as taken from rexster.xml.
 
Method Summary
 String getNamespace()
           
 boolean isExtensionAllowed(ExtensionSegmentSet extensionSegmentSet)
          Determines if the namespace and extension are allowed given the configuration of the graph in rexster.xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionAllowed

public ExtensionAllowed(String namespace)
Initializes a new ExtensionAllowed object as taken from rexster.xml. The namespace may be wildcarded to be one of the follows: *:*, namespace:*, namespace:extension

Method Detail

getNamespace

public String getNamespace()

isExtensionAllowed

public boolean isExtensionAllowed(ExtensionSegmentSet extensionSegmentSet)
Determines if the namespace and extension are allowed given the configuration of the graph in rexster.xml.



Copyright © 2009-2012. All Rights Reserved.