|
|
|
@ -7,13 +7,17 @@ import com.fr.stable.fun.mark.API;
|
|
|
|
|
* Created by zhouping on 2015/9/20. |
|
|
|
|
*/ |
|
|
|
|
@API(level = IndentationUnitProcessor.CURRENT_LEVEL) |
|
|
|
|
public class AbstractIndentationUnitProcessor implements IndentationUnitProcessor { |
|
|
|
|
public abstract class AbstractIndentationUnitProcessor implements IndentationUnitProcessor { |
|
|
|
|
private int indentationUnit = 1; |
|
|
|
|
|
|
|
|
|
public int currentAPILevel() { |
|
|
|
|
return CURRENT_LEVEL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public int layerIndex() { |
|
|
|
|
return DEFAULT_LAYER_INDEX; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setIndentationUnit(int value){ |
|
|
|
|
this.indentationUnit = value; |
|
|
|
|