net.sf.doolin.context.spring
Class CustomNamespaces

java.lang.Object
  extended by net.sf.doolin.context.spring.CustomNamespaces

public class CustomNamespaces
extends Object

Management of custom namespaces. Custom namespace handlers must register their namespace using this class so that their parsing is automatically realized when their elements are nested in other custom elements.

Author:
Damien Coraboeuf

Method Summary
static void addCustomNamespace(String ns)
          Registers a new custom namespace
static boolean isCustomNamespace(String ns)
          Checks if the given ns is a registered custom namespace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addCustomNamespace

public static void addCustomNamespace(String ns)
Registers a new custom namespace

Parameters:
ns - Namespace URI

isCustomNamespace

public static boolean isCustomNamespace(String ns)
Checks if the given ns is a registered custom namespace.

Parameters:
ns - Namespace URI
Returns:
true if ns has been registered as a custom namespace.


Copyright © 2011. All Rights Reserved.