org.springframework.batch.core.configuration.xml
Class CoreNamespaceUtils

java.lang.Object
  extended by org.springframework.batch.core.configuration.xml.CoreNamespaceUtils

public class CoreNamespaceUtils
extends Object

Utility methods used in parsing of the batch core namespace

Author:
Thomas Risberg

Constructor Summary
CoreNamespaceUtils()
           
 
Method Summary
protected static void autoregisterBeansForNamespace(ParserContext parserContext, Object source)
           
static boolean isAbstract(Element element)
           
static boolean isUnderspecified(Element element)
          Should this element be treated as incomplete?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreNamespaceUtils

public CoreNamespaceUtils()
Method Detail

autoregisterBeansForNamespace

protected static void autoregisterBeansForNamespace(ParserContext parserContext,
                                                    Object source)

isUnderspecified

public static boolean isUnderspecified(Element element)
Should this element be treated as incomplete? If it has a parent or is abstract, then it may not have all properties.

Parameters:
element -
Returns:
TRUE if the element is abstract or has a parent

isAbstract

public static boolean isAbstract(Element element)
Parameters:
element -
Returns:
TRUE if the element is abstract


Copyright © 2009 SpringSource. All Rights Reserved.