Package org.osgi.framework
Class FrameworkUtil.FilterImpl.Parser
- java.lang.Object
-
- org.osgi.framework.FrameworkUtil.FilterImpl.Parser
-
- Enclosing class:
- FrameworkUtil.FilterImpl
private static final class FrameworkUtil.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 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) FrameworkUtil.FilterImpl
parse()
private FrameworkUtil.FilterImpl
parse_and()
private java.lang.String
parse_attr()
private FrameworkUtil.FilterImpl
parse_filter()
private FrameworkUtil.FilterImpl
parse_filtercomp()
private FrameworkUtil.FilterImpl
parse_item()
private FrameworkUtil.FilterImpl
parse_not()
private FrameworkUtil.FilterImpl
parse_or()
private java.lang.Object
parse_substring()
private java.lang.String
parse_value()
private void
skipWhiteSpace()
-
-
-
Method Detail
-
parse
FrameworkUtil.FilterImpl parse() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_filter
private FrameworkUtil.FilterImpl parse_filter() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_filtercomp
private FrameworkUtil.FilterImpl parse_filtercomp() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_and
private FrameworkUtil.FilterImpl parse_and() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_or
private FrameworkUtil.FilterImpl parse_or() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_not
private FrameworkUtil.FilterImpl parse_not() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
parse_item
private FrameworkUtil.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.Object parse_substring() throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
skipWhiteSpace
private void skipWhiteSpace()
-
-