Package org.apache.felix.utils.filter
Class FilterImpl.Parser
- java.lang.Object
-
- org.apache.felix.utils.filter.FilterImpl.Parser
-
- Enclosing class:
- FilterImpl
private static class FilterImpl.Parser extends java.lang.Object
Parser class for OSGi filter strings. This class parses the complete filter string and builds a tree of Filter objects rooted at the parent.
-
-
Field Summary
Fields Modifier and Type Field Description private char[]
filterChars
private java.lang.String
filterstring
private boolean
ignoreCase
private int
pos
-
Constructor Summary
Constructors Constructor Description Parser(java.lang.String filterstring, boolean ignoreCase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) FilterImpl
parse()
private FilterImpl
parse_and()
private java.lang.String
parse_attr()
private FilterImpl
parse_filter()
private FilterImpl
parse_filtercomp()
private FilterImpl
parse_item()
private FilterImpl
parse_not()
private FilterImpl
parse_or()
private java.lang.Object
parse_substring()
private java.lang.String
parse_value()
private void
skipWhiteSpace()
-
-
-
Method Detail
-
parse
FilterImpl parse() throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
-
parse_filter
private FilterImpl parse_filter() throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
-
parse_filtercomp
private FilterImpl parse_filtercomp() throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
-
parse_and
private FilterImpl parse_and() throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
-
parse_or
private FilterImpl parse_or() throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
-
parse_not
private FilterImpl parse_not() throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
-
parse_item
private FilterImpl parse_item() throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
-
parse_attr
private java.lang.String parse_attr() throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
-
parse_value
private java.lang.String parse_value() throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
-
parse_substring
private java.lang.Object parse_substring() throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
-
skipWhiteSpace
private void skipWhiteSpace()
-
-