public class XmlCharFilter extends CharFilter
CharFilter.Result
EP_NAME
Constructor and Description |
---|
XmlCharFilter() |
Modifier and Type | Method and Description |
---|---|
CharFilter.Result |
acceptChar(char c,
int prefixLength,
Lookup lookup)
Informs about further action on typing character c when completion lookup has specified prefix.
|
static boolean |
isInXmlContext(Lookup lookup) |
static boolean |
isWithinTag(Lookup lookup) |
public static boolean isInXmlContext(Lookup lookup)
public static boolean isWithinTag(Lookup lookup)
public CharFilter.Result acceptChar(char c, int prefixLength, Lookup lookup)
CharFilter
acceptChar
in class CharFilter
c
- character being insertedCharFilter
should handle this char. Default char filter handles common cases like finishing with ' ', '(', ';', etc.