Package org.osgi.framework
Class FilterImpl.Parser
- java.lang.Object
-
- org.osgi.framework.FilterImpl.Parser
-
- Enclosing class:
- FilterImpl
private static final 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 FilterImpl objects rooted at the parent.
-
-
Field Summary
Fields Modifier and Type Field Description private char[]
filterChars
private java.lang.String
filterstring
private int
pos
-
Constructor Summary
Constructors Constructor Description Parser(java.lang.String filterstring)
-
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.String[]
parse_substring()
private java.lang.String
parse_value()
private void
skipWhiteSpace()
-
-
-
Method Detail
-
parse
FilterImpl parse() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_filter
private FilterImpl parse_filter() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_filtercomp
private FilterImpl parse_filtercomp() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_and
private FilterImpl parse_and() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_or
private FilterImpl parse_or() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_not
private FilterImpl parse_not() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_item
private FilterImpl parse_item() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_attr
private java.lang.String parse_attr() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_value
private java.lang.String parse_value() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_substring
private java.lang.String[] parse_substring() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
skipWhiteSpace
private void skipWhiteSpace()
-
-