net.sourceforge.pmd.lang.vm.directive
Class Break
java.lang.Object
net.sourceforge.pmd.lang.vm.directive.Directive
net.sourceforge.pmd.lang.vm.directive.Break
- All Implemented Interfaces:
- Cloneable
public class Break
- extends Directive
Break directive used for interrupting scopes.
- Version:
- $Id$
- Author:
- Jarkko Viinamaki, Nathan Bubna
Constructor Summary |
Break()
|
Method Summary |
String |
getName()
Return name of this directive. |
int |
getType()
Return type of this directive. |
boolean |
isScopeProvided()
Since there is no processing of content,
there is never a need for an internal scope. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Break
public Break()
getName
public String getName()
- Return name of this directive.
- Specified by:
getName
in class Directive
- Returns:
- The name of this directive.
getType
public int getType()
- Return type of this directive.
- Specified by:
getType
in class Directive
- Returns:
- The type of this directive.
isScopeProvided
public boolean isScopeProvided()
- Since there is no processing of content,
there is never a need for an internal scope.
- Overrides:
isScopeProvided
in class Directive
- Returns:
- true if there will be a scope control injected into the context
when rendering this directive.
Copyright © 2002–2015 InfoEther. All rights reserved.