Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.puppycrawl.tools.checkstyle.checks.whitespace
Class OperatorWrapOption  view OperatorWrapOption download OperatorWrapOption.java

java.lang.Object
  extended bycom.puppycrawl.tools.checkstyle.checks.AbstractOption
      extended bycom.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapOption
All Implemented Interfaces:
java.io.Serializable

public final class OperatorWrapOption
extends com.puppycrawl.tools.checkstyle.checks.AbstractOption

Represents the options for wrapping on an operator.

Version:
1.0

Field Summary
static OperatorWrapOption EOL
          Require that the operator is at the end of the line.
static OperatorWrapOption NL
          Require that the operator is on a new line.
private static java.util.Map STR_TO_OPT
          maps from a string representation to an option
 
Fields inherited from class com.puppycrawl.tools.checkstyle.checks.AbstractOption
 
Constructor Summary
private OperatorWrapOption(java.lang.String aStrRep)
          Creates a new OperatorWrapOption instance.
 
Method Summary
protected  java.util.Map getStrToOpt()
          Returns the map from string representations to options.
 
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.AbstractOption
decode, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STR_TO_OPT

private static final java.util.Map STR_TO_OPT
maps from a string representation to an option


NL

public static final OperatorWrapOption NL
Require that the operator is on a new line.


EOL

public static final OperatorWrapOption EOL
Require that the operator is at the end of the line.

Constructor Detail

OperatorWrapOption

private OperatorWrapOption(java.lang.String aStrRep)
Creates a new OperatorWrapOption instance.

Method Detail

getStrToOpt

protected java.util.Map getStrToOpt()
Description copied from class: com.puppycrawl.tools.checkstyle.checks.AbstractOption
Returns the map from string representations to options.