public class CompletionParticipantAdapter extends Object implements ICompletionParticipant
| Constructor and Description |
|---|
CompletionParticipantAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAttributeName(boolean generateValue,
ICompletionRequest request,
ICompletionResponse response) |
void |
onAttributeValue(String valuePrefix,
ICompletionRequest request,
ICompletionResponse response)
Collects and stores attribute value completion items within the provided completion
response
response |
void |
onDTDSystemId(String valuePrefix,
ICompletionRequest request,
ICompletionResponse response)
Collects and stores systemId completion items within the provided completion
response
response |
void |
onTagOpen(ICompletionRequest completionRequest,
ICompletionResponse completionResponse) |
void |
onXMLContent(ICompletionRequest request,
ICompletionResponse response) |
public void onTagOpen(ICompletionRequest completionRequest, ICompletionResponse completionResponse) throws Exception
onTagOpen in interface ICompletionParticipantExceptionpublic void onXMLContent(ICompletionRequest request, ICompletionResponse response) throws Exception
onXMLContent in interface ICompletionParticipantExceptionpublic void onAttributeName(boolean generateValue,
ICompletionRequest request,
ICompletionResponse response)
throws Exception
onAttributeName in interface ICompletionParticipantExceptionpublic void onAttributeValue(String valuePrefix, ICompletionRequest request, ICompletionResponse response) throws Exception
ICompletionParticipantresponseonAttributeValue in interface ICompletionParticipantvaluePrefix - the attribute value before the offset in which completion was invokedrequest - the completion requestresponse - the completion responseExceptionpublic void onDTDSystemId(String valuePrefix, ICompletionRequest request, ICompletionResponse response) throws Exception
ICompletionParticipantresponseonDTDSystemId in interface ICompletionParticipantvaluePrefix - the systemId value before the offset in which completion was invokedrequest - the completion requestresponse - the completion responseExceptionCopyright © 2020. All rights reserved.