|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.parsing.ParseStateChild
com.aptana.ide.editor.html.parsing.HTMLParseState
public class HTMLParseState
| Constructor Summary | |
|---|---|
HTMLParseState()
Create a new instance of HTMLParseState |
|
HTMLParseState(IParseState parent)
Create a new instance of HTMLParseState |
|
| Method Summary | |
|---|---|
protected IParseNodeFactory |
createParseNodeFactory()
createParseNodeFactory |
int |
getCloseTagType(java.lang.String tagName)
getCloseTagType |
int |
getDocumentType()
getDocumentType |
java.lang.String |
getPubId()
getPubId |
java.lang.String |
getRootElement()
getRootElement |
java.lang.String |
getSystem()
getSystem |
boolean |
isEmptyTagType(java.lang.String tagName)
isEmptyTagType |
void |
setEditState(java.lang.String source,
java.lang.String insertedSource,
int offset,
int removeLength)
Setup this parse state with the next edit to the source document |
| Methods inherited from class com.aptana.ide.parsing.ParseStateChild |
|---|
addChildState, addCommentRegion, clearCommentRegions, getChildren, getCommentRegions, getFileIndex, getInsertedText, getLanguage, getLexemeList, getParent, getParseNodeFactory, getParseResults, getParseState, getParseTime, getRemoveLength, getRoot, getSource, getStartingOffset, getUpdatedProperties, onAfterParse, onBeforeParse, removeChildState, reset, setFileIndex, setParseResults, setParseTime, toString, unloadFromEnvironment, updateLexemeList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLParseState()
public HTMLParseState(IParseState parent)
parent - The parent IParseState| Method Detail |
|---|
public int getDocumentType()
public java.lang.String getRootElement()
public java.lang.String getPubId()
public java.lang.String getSystem()
protected IParseNodeFactory createParseNodeFactory()
ParseStateChild
createParseNodeFactory in class ParseStateChildParseStateChild.createParseNodeFactory()public int getCloseTagType(java.lang.String tagName)
tagName -
public boolean isEmptyTagType(java.lang.String tagName)
tagName -
public void setEditState(java.lang.String source,
java.lang.String insertedSource,
int offset,
int removeLength)
IParseState
setEditState in interface IParseStatesetEditState in class ParseStateChildsource - The entire source of the document after this edit has been appliedinsertedSource - The new text inserted into the documentoffset - The offset where this edit occurredremoveLength - The number of characters to remove before inserting the insertedSourceParseStateChild.setEditState(java.lang.String, java.lang.String, int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||