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.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 booleanignoreCaseprivate intpos
-
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) FilterImplparse()private FilterImplparse_and()private java.lang.Stringparse_attr()private FilterImplparse_filter()private FilterImplparse_filtercomp()private FilterImplparse_item()private FilterImplparse_not()private FilterImplparse_or()private java.lang.Objectparse_substring()private java.lang.Stringparse_value()private voidskipWhiteSpace()
-
-
-
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()
-
-