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.ObjectParser 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[]filterCharsprivate java.lang.Stringfilterstringprivate intpos
-
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.FilterImplparse()private FrameworkUtil.FilterImplparse_and()private java.lang.Stringparse_attr()private FrameworkUtil.FilterImplparse_filter()private FrameworkUtil.FilterImplparse_filtercomp()private FrameworkUtil.FilterImplparse_item()private FrameworkUtil.FilterImplparse_not()private FrameworkUtil.FilterImplparse_or()private java.lang.Objectparse_substring()private java.lang.Stringparse_value()private voidskipWhiteSpace()
-
-
-
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()
-
-