org.drools.lang.descr
Class BaseDescr
java.lang.Object
org.drools.lang.descr.BaseDescr
- All Implemented Interfaces:
- Externalizable, Serializable
- Direct Known Subclasses:
- ActionDescr, AndDescr, AnnotatedBaseDescr, AnnotationDescr, AtomicExprDescr, AttributeDescr, BehaviorDescr, BindingDescr, ConstraintConnectiveDescr, DeclarativeInvokerDescr, EvalDescr, ExistsDescr, ExprConstraintDescr, FactTemplateDescr, FieldConstraintDescr, FieldTemplateDescr, ForallDescr, ForFunctionDescr, FunctionDescr, GlobalDescr, ImportDescr, LiteralDescr, NotDescr, OperatorDescr, OrDescr, PackageDescr, PatternDescr, PatternSourceDescr, ProcessDescr, RelationalExprDescr, Restriction, RestrictionDescr, ReturnValueDescr, VariableDescr
public class BaseDescr
- extends Object
- implements Externalizable
This is the super type for all pattern AST nodes.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseDescr
public BaseDescr()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
getText
public String getText()
setText
public void setText(String text)
setLocation
public void setLocation(int line,
int column)
setEndLocation
public void setEndLocation(int line,
int column)
getLine
public int getLine()
getColumn
public int getColumn()
getEndLine
public int getEndLine()
getEndColumn
public int getEndColumn()
getEndCharacter
public int getEndCharacter()
- Returns:
- the endCharacter
setEndCharacter
public void setEndCharacter(int endCharacter)
- Parameters:
endCharacter
- the endCharacter to set
getStartCharacter
public int getStartCharacter()
- Returns:
- the startCharacter
setStartCharacter
public void setStartCharacter(int startCharacter)
- Parameters:
startCharacter
- the startCharacter to set
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.