public class WindowReference extends ConditionalElement implements PatternSource, Externalizable
Constructor and Description |
---|
WindowReference() |
WindowReference(String name) |
Modifier and Type | Method and Description |
---|---|
WindowReference |
clone()
There is not reason to clone this object since it is stateless.
|
boolean |
equals(Object obj) |
Map<String,Declaration> |
getInnerDeclarations()
It is not possible to declare any new variables, so always
return an Empty Map
|
String |
getName() |
List<RuleConditionElement> |
getNestedElements()
It is not possible to nest elements inside an entry point, so
always return an empty list.
|
Map<String,Declaration> |
getOuterDeclarations()
It is not possible to declare and export any variables,
so always return an empty map
|
int |
hashCode() |
boolean |
isPatternScopeDelimiter()
Returns true in case this RuleConditionElement delimits
a pattern visibility scope.
|
void |
readExternal(ObjectInput in) |
Declaration |
resolveDeclaration(String identifier)
Not possible to resolve any declaration, so always return null.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public WindowReference()
public WindowReference(String name)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public WindowReference clone()
clone
in interface RuleConditionElement
clone
in class ConditionalElement
public Map<String,Declaration> getInnerDeclarations()
getInnerDeclarations
in interface RuleConditionElement
public List<RuleConditionElement> getNestedElements()
getNestedElements
in interface RuleConditionElement
public Map<String,Declaration> getOuterDeclarations()
getOuterDeclarations
in interface RuleConditionElement
public Declaration resolveDeclaration(String identifier)
resolveDeclaration
in interface RuleConditionElement
public String getName()
public boolean isPatternScopeDelimiter()
RuleConditionElement
isPatternScopeDelimiter
in interface RuleConditionElement
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.