| Modifier and Type | Field and Description |
|---|---|
| private String | languageId
The text document's language identifier |
| private String | text
The content of the opened text document. |
| private String | uri
The text document's uri. |
| private int | version
The version number of this document (it will strictly increase after each change, including undo/redo). |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public String | |
| public int | getVersion()
The version number of this document (it will strictly increase after each change, including undo/redo). |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | setVersion(final int version)
The version number of this document (it will strictly increase after each change, including undo/redo). |
| public String |
| languageId | back to summary |
|---|---|
| private String languageId The text document's language identifier | |
| text | back to summary |
|---|---|
| private String text The content of the opened text document. | |
| uri | back to summary |
|---|---|
| private String uri The text document's uri. | |
| version | back to summary |
|---|---|
| private int version The version number of this document (it will strictly increase after each change, including undo/redo). | |
| TextDocumentItem | back to summary |
|---|---|
| public TextDocumentItem() | |
| TextDocumentItem | back to summary |
|---|---|
| public TextDocumentItem(final String uri, final String languageId, final int version, final String text) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getLanguageId | back to summary |
|---|---|
| public String getLanguageId() The text document's language identifier
| |
| getText | back to summary |
|---|---|
| public String getText() The content of the opened text document.
| |
| getUri | back to summary |
|---|---|
| public String getUri() The text document's uri.
| |
| getVersion | back to summary |
|---|---|
| public int getVersion() The version number of this document (it will strictly increase after each change, including undo/redo). | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setLanguageId | back to summary |
|---|---|
| public void setLanguageId(final String languageId) The text document's language identifier | |
| setText | back to summary |
|---|---|
| public void setText(final String text) The content of the opened text document. | |
| setUri | back to summary |
|---|---|
| public void setUri(final String uri) The text document's uri. | |
| setVersion | back to summary |
|---|---|
| public void setVersion(final int version) The version number of this document (it will strictly increase after each change, including undo/redo). | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |