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

Quick Search    Search Deep

com.puppycrawl.tools.checkstyle.checks
Class PadOption  view PadOption download PadOption.java

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

public final class PadOption
extends AbstractOption

Represents the options for whitespace around parentheses.

Version:
1

Field Summary
static PadOption NOSPACE
          Represents no spacing following a left parenthesis or preceeding a right one.
static PadOption SPACE
          Represents mandatory spacing following a left parenthesis and preceeding a right one.
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 PadOption(java.lang.String aStrRep)
          Creates a new PadOption 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


NOSPACE

public static final PadOption NOSPACE
Represents no spacing following a left parenthesis or preceeding a right one.


SPACE

public static final PadOption SPACE
Represents mandatory spacing following a left parenthesis and preceeding a right one.

Constructor Detail

PadOption

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

Method Detail

getStrToOpt

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

Specified by:
getStrToOpt in class AbstractOption