org.milyn.javabean.ext
Class PropertyChecker

java.lang.Object
  extended by org.milyn.javabean.ext.PropertyChecker
All Implemented Interfaces:
org.milyn.delivery.ContentHandler, org.milyn.delivery.dom.DOMVisitBefore, org.milyn.delivery.dom.DOMVisitor, org.milyn.delivery.Visitor

public class PropertyChecker
extends Object
implements org.milyn.delivery.dom.DOMVisitBefore

Binding "property" attribute checker.

The binding "property" attribute should not be specified when binding to a Collection/Array, and must be specified when binding to a non-collection. This visitor enforces these constraints.

Author:
tom.fennelly@gmail.com

Constructor Summary
PropertyChecker()
           
 
Method Summary
 void visitBefore(Element element, org.milyn.container.ExecutionContext execContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyChecker

public PropertyChecker()
Method Detail

visitBefore

public void visitBefore(Element element,
                        org.milyn.container.ExecutionContext execContext)
                 throws org.milyn.SmooksException
Specified by:
visitBefore in interface org.milyn.delivery.dom.DOMVisitBefore
Throws:
org.milyn.SmooksException


Copyright © 2018. All rights reserved.