public class ObjectTypeNodeParser extends Object
ObjectTypeNode using callbacks.
The user defines a number of callback methods in a NetworkHandler that will be called when events occur
during parsing. The events include :
| Constructor and Description |
|---|
ObjectTypeNodeParser(org.drools.core.reteoo.ObjectTypeNode objectTypeNode)
Creates a new parser for the specified ObjectTypeNode
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NetworkHandler handler)
Parse the
objectTypeNode. |
org.drools.core.rule.IndexableConstraint |
getIndexableConstraint() |
Set<org.drools.core.rule.IndexableConstraint> |
getIndexableConstraints() |
void |
setTraverseHashedAlphaNodes(boolean traverseHashedAlphaNodes) |
public ObjectTypeNodeParser(org.drools.core.reteoo.ObjectTypeNode objectTypeNode)
objectTypeNode - otn to parsepublic void setTraverseHashedAlphaNodes(boolean traverseHashedAlphaNodes)
public void accept(NetworkHandler handler)
objectTypeNode.
The application can use this method to instruct the OTN parser to begin parsing an ObjectTypeNode.
NetworkHandler.handler - handler that will receieve the events generated by this parserNetworkHandlerpublic Set<org.drools.core.rule.IndexableConstraint> getIndexableConstraints()
public org.drools.core.rule.IndexableConstraint getIndexableConstraint()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.