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