public class TextDocumentItem
extends java.lang.Object
Constructor and Description |
---|
TextDocumentItem() |
TextDocumentItem(java.lang.String uri,
java.lang.String languageId,
int version,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLanguageId()
The text document's language identifier
|
java.lang.String |
getText()
The content of the opened text document.
|
java.lang.String |
getUri()
The text document's uri.
|
int |
getVersion()
The version number of this document (it will strictly increase after each change, including undo/redo).
|
int |
hashCode() |
void |
setLanguageId(java.lang.String languageId)
The text document's language identifier
|
void |
setText(java.lang.String text)
The content of the opened text document.
|
void |
setUri(java.lang.String uri)
The text document's uri.
|
void |
setVersion(int version)
The version number of this document (it will strictly increase after each change, including undo/redo).
|
java.lang.String |
toString() |
public TextDocumentItem()
public TextDocumentItem(java.lang.String uri, java.lang.String languageId, int version, java.lang.String text)
@Pure public java.lang.String getUri()
public void setUri(java.lang.String uri)
@Pure public java.lang.String getLanguageId()
public void setLanguageId(java.lang.String languageId)
@Pure public int getVersion()
public void setVersion(int version)
@Pure public java.lang.String getText()
public void setText(java.lang.String text)
@Pure public java.lang.String toString()
toString
in class java.lang.Object
@Pure public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Pure public int hashCode()
hashCode
in class java.lang.Object