org.drools.guvnor.server.contenthandler.drools
Class EnumerationContentHandler
java.lang.Object
org.drools.guvnor.server.contenthandler.ContentHandler
org.drools.guvnor.server.contenthandler.PlainTextContentHandler
org.drools.guvnor.server.contenthandler.drools.EnumerationContentHandler
- All Implemented Interfaces:
- IHasCustomValidator, Validator
public class EnumerationContentHandler
- extends PlainTextContentHandler
- implements IHasCustomValidator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumerationContentHandler
public EnumerationContentHandler()
validateAsset
public BuilderResult validateAsset(AssetItem asset)
- Specified by:
validateAsset
in interface IHasCustomValidator
- Overrides:
validateAsset
in class PlainTextContentHandler
validate
public boolean validate(AssetItem assetItem)
- Specified by:
validate
in interface Validator
getFormat
public String getFormat()
- Specified by:
getFormat
in interface Validator
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.