com.sri.oaa2.mapper
Class IclDualTraversal
java.lang.Object
|
+--com.sri.oaa2.mapper.IclDualTraversal
- public class IclDualTraversal
- extends java.lang.Object
Traverses an ICL template, comparing it to a specified ICL tree and allowing substitution of variables.
|
Field Summary |
protected org.apache.log4j.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.apache.log4j.Logger logger
IclDualTraversal
public IclDualTraversal()
visit
protected boolean visit(IclTerm template,
IclTerm icl)
throws MappingException
MappingException
traverse
public final void traverse(IclTerm template,
IclTerm icl)
throws MappingException
MappingException
isMatchFailed
public boolean isMatchFailed()
getReasonFailed
public java.lang.String getReasonFailed()
matchFailed
protected void matchFailed(java.lang.String reasonFailed)
replace
protected final void replace(IclTerm icl)
throws MappingException
- Replaces the currently visited node.
- Parameters:
icl -
MappingException
remove
protected final void remove()
throws MappingException
- Remove the currently visited node.
MappingException