public class From extends ConditionalElement implements Externalizable, Wireable, PatternSource
| Constructor and Description |
|---|
From() |
From(DataProvider dataProvider) |
| Modifier and Type | Method and Description |
|---|---|
From |
clone()
Returns a clone from itself
|
boolean |
equals(Object obj) |
DataProvider |
getDataProvider() |
Map |
getInnerDeclarations()
Returns a Map of declarations that are
visible inside this conditional element
|
List |
getNestedElements()
Returs a list of RuleConditionElement's that are nested
inside the current element
|
Map |
getOuterDeclarations()
Returns a Map of declarations that are visible
outside this conditional element.
|
Class<?> |
getResultClass() |
Pattern |
getResultPattern() |
int |
hashCode() |
boolean |
isPatternScopeDelimiter()
Returns true in case this RuleConditionElement delimits
a pattern visibility scope.
|
void |
readExternal(ObjectInput in) |
boolean |
requiresLeftActivation() |
Declaration |
resolveDeclaration(String identifier)
Resolves the given identifier in the current scope and
returns the Declaration object for the declaration.
|
void |
setResultClass(Class<?> resultClass) |
void |
setResultPattern(Pattern pattern) |
void |
wire(Object object) |
void |
writeExternal(ObjectOutput out) |
public From()
public From(DataProvider dataProvider)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic DataProvider getDataProvider()
public From clone()
RuleConditionElementclone in interface RuleConditionElementclone in class ConditionalElementpublic Map getInnerDeclarations()
RuleConditionElementgetInnerDeclarations in interface RuleConditionElementpublic Map getOuterDeclarations()
RuleConditionElementgetOuterDeclarations in interface RuleConditionElementpublic Declaration resolveDeclaration(String identifier)
RuleConditionElementresolveDeclaration in interface RuleConditionElementpublic List getNestedElements()
RuleConditionElementgetNestedElements in interface RuleConditionElementpublic boolean isPatternScopeDelimiter()
RuleConditionElementisPatternScopeDelimiter in interface RuleConditionElementpublic void setResultPattern(Pattern pattern)
public Pattern getResultPattern()
public Class<?> getResultClass()
public void setResultClass(Class<?> resultClass)
public boolean requiresLeftActivation()
requiresLeftActivation in interface PatternSourceCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.