com.puppycrawl.tools.checkstyle
Class WrapOpOption

java.lang.Object
  |
  +--com.puppycrawl.tools.checkstyle.WrapOpOption
All Implemented Interfaces:
java.io.Serializable

public final class WrapOpOption
extends java.lang.Object
implements java.io.Serializable

Represents the options for wrapping on operators.

Version:
1
Author:
Oliver Burn
See Also:
Serialized Form

Field Summary
static WrapOpOption IGNORE
          represents ignoring the wrapping
static WrapOpOption NL
          represents operator on a new line
 
Method Summary
static WrapOpOption decode(java.lang.String aStrRep)
          Returns the option specified by a string representation.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NL

public static final WrapOpOption NL
represents operator on a new line

IGNORE

public static final WrapOpOption IGNORE
represents ignoring the wrapping
Method Detail

decode

public static WrapOpOption decode(java.lang.String aStrRep)
Returns the option specified by a string representation. If no option exists then null is returned.
Parameters:
aStrRep - the String representation to parse
Returns:
the WrapOpOption value represented by aStrRep, or null if none exists.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object