类 ContentState
java.lang.Object
cool.document.qtmd.BaseState
cool.document.qtmd.ContentState
- 所有已实现的接口:
State
- 直接已知子类:
FormattingState
文本状态。
-
字段概要
从类继承的字段 cool.document.qtmd.BaseState
buffer, stateAfterFinish -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected booleancheckHr()org.jsoup.nodes.Elementdom()voidend()终结。刷缓冲区:把缓冲区字符刷到当前dom。metActivateChar(char activateChar) 遇见激活字符的处理方法。metNewline(char newlineChar) 遇见换行符的处理方法。结束后返回的状态。从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cool.document.qtmd.State
addChar, addChars, clearBuffer, finish, isActivateChar, isFinishChar, isNewline, metChar, metChars, metOtherChar
-
构造器详细资料
-
ContentState
-
-
方法详细资料
-
stateAfterFinish
从接口复制的说明:State结束后返回的状态。- 指定者:
stateAfterFinish在接口中State- 覆盖:
stateAfterFinish在类中BaseState- 返回:
-
dom
public org.jsoup.nodes.Element dom() -
metActivateChar
从接口复制的说明:State遇见激活字符的处理方法。通常是遇到激活字符(State.isActivateChar(char))时调用的方法。默认创建并返回一个“激活状态(ActivateState)”。- 返回:
-
metNewline
从接口复制的说明:State遇见换行符的处理方法。通常是遇到换行符(State.isNewline(char))时调用的方法。默认加到缓冲中。- 返回:
-
end
public void end()从接口复制的说明:State终结。通常是不再有更多字符需要处理时,本状态的退出/结束/终结机制。 默认先结束前置状态,再刷缓冲区字符(State.flushBuffer())。 -
flushBuffer
刷缓冲区:把缓冲区字符刷到当前dom。 便利工具方法,通常不需要重写。- 返回:
-
checkHr
protected boolean checkHr()
-