1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.mevenide.grammar.impl;
18
19 import java.util.Collection;
20 import java.util.Collections;
21 import org.mevenide.grammar.TagLib;
22
23 /***
24 * Empty implementation of a taglib. A fallback impl.
25 *
26 * @author Milos Kleint (ca206216@tiscali.cz)
27 */
28 public class EmptyTagLibImpl implements TagLib {
29
30 private String name;
31
32 /*** Creates a new instance of EmptyTagLibImpl */
33 public EmptyTagLibImpl(String tagLibName) {
34 name = tagLibName;
35 }
36
37 public String getName() {
38 return name;
39 }
40
41 public Collection getRootTags() {
42 return Collections.EMPTY_LIST;
43 }
44
45 public Collection getSubTags(String tagName) {
46 return Collections.EMPTY_LIST;
47 }
48
49 public Collection getTagAttrs(String tag) {
50 return Collections.EMPTY_LIST;
51 }
52
53 public Collection getAttrCompletionTypes(String tag, String attribute) {
54 return Collections.EMPTY_LIST;
55 }
56 }