| java.lang.Object org.netbeans.editor.ext.html.HTMLCompletionQuery
HTMLCompletionQuery | public class HTMLCompletionQuery (Code) | | HTML completion results finder
author: Petr Nejedly author: Marek Fukala version: 1.10 |
Inner Class :abstract public static class HTMLResultItem implements CompletionItem | |
Inner Class :public static class AutocompleteEndTagItem extends EndTagItem | |
Inner Class :static class EndTagItem extends HTMLResultItem | |
Inner Class :static class DocQuery extends AsyncCompletionQuery | |
Inner Class :static class LinkDocItem implements CompletionDocumentation | |
Inner Class :public static class DocItem implements CompletionDocumentation | |
Inner Class :public static class HTMLCompletionResult extends CompletionQuery.DefaultResult | |
Method Summary | |
public static HTMLCompletionQuery | getDefault() | public List<CompletionItem> | query(JTextComponent component, int offset) Perform the query on the given component. | List<CompletionItem> | translateAttribs(int offset, int length, List<DTD.Attribute> attribs, DTD.Element tag) | List<CompletionItem> | translateCharRefs(int offset, int length, List refs) | List<CompletionItem> | translateTags(int offset, int length, List tags) | List<CompletionItem> | translateValues(int offset, int length, List values) | List<CompletionItem> | translateValues(int offset, int length, List values, String quotationChar) |
query | public List<CompletionItem> query(JTextComponent component, int offset)(Code) | | Perform the query on the given component. The query usually
gets the component's document, the caret position and searches back
to examine surrounding context. Then it returns the result.
Parameters: component - the component to use in this query. Parameters: offset - position in the component's document to which the query willbe performed. Usually it's a caret position. Parameters: support - syntax-support that will be used during resolving of the query. result of the query or null if there's no result. |
translateCharRefs | List<CompletionItem> translateCharRefs(int offset, int length, List refs)(Code) | | |
translateTags | List<CompletionItem> translateTags(int offset, int length, List tags)(Code) | | |
translateValues | List<CompletionItem> translateValues(int offset, int length, List values)(Code) | | |
translateValues | List<CompletionItem> translateValues(int offset, int length, List values, String quotationChar)(Code) | | |
|
|