org.drools.xml
Class BaseAbstractHandler

java.lang.Object
  extended by org.drools.xml.BaseAbstractHandler
Direct Known Subclasses:
AddHandler, ChangeSetHandler, DecisionTableConfigurationHandler, DefinitionHandler, ModifyHandler, RemoveHandler, ResourceHandler

public abstract class BaseAbstractHandler
extends Object


Field Summary
protected  boolean allowNesting
           
protected  Set<Class<?>> validParents
           
protected  Set<Class<?>> validPeers
           
 
Constructor Summary
BaseAbstractHandler()
           
 
Method Summary
 boolean allowNesting()
           
 void emptyAttributeCheck(String element, String attributeName, String attribute, ExtensibleXmlParser xmlPackageReader)
           
 void emptyContentCheck(String element, String content, ExtensibleXmlParser xmlPackageReader)
           
 Set<Class<?>> getValidParents()
           
 Set<Class<?>> getValidPeers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validPeers

protected Set<Class<?>> validPeers

validParents

protected Set<Class<?>> validParents

allowNesting

protected boolean allowNesting
Constructor Detail

BaseAbstractHandler

public BaseAbstractHandler()
Method Detail

getValidParents

public Set<Class<?>> getValidParents()

getValidPeers

public Set<Class<?>> getValidPeers()

allowNesting

public boolean allowNesting()

emptyAttributeCheck

public void emptyAttributeCheck(String element,
                                String attributeName,
                                String attribute,
                                ExtensibleXmlParser xmlPackageReader)
                         throws SAXException
Throws:
SAXException

emptyContentCheck

public void emptyContentCheck(String element,
                              String content,
                              ExtensibleXmlParser xmlPackageReader)
                       throws SAXException
Throws:
SAXException


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.