public abstract static class URIParser.AbstractParseListener extends Object implements URIParser.ParseListener
URIParser.ParseListener
.Constructor and Description |
---|
URIParser.AbstractParseListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
authority(String authority)
Called with the authority.
|
boolean |
fragment(String fragment)
Called with fragment.
|
boolean |
path(String path)
Called with path text.
|
boolean |
pathParameterNameValue(String name,
String value)
Called with a name-value pair that was found in the path.
|
boolean |
queryString(String queryString)
Called with query string text.
|
boolean |
queryStringNameValue(String name,
String value)
Called with a name-value pair that was found in the query string.
|
boolean |
scheme(String scheme)
Called with the scheme for absolute URIs.
|
public boolean scheme(String scheme)
URIParser.ParseListener
scheme
in interface URIParser.ParseListener
scheme
- The scheme, without ':'.public boolean authority(String authority)
URIParser.ParseListener
authority
in interface URIParser.ParseListener
authority
- The authority, without leading '//'.public boolean path(String path)
URIParser.ParseListener
path
in interface URIParser.ParseListener
path
- The text. Includes any delimiting punctuation.public boolean pathParameterNameValue(String name, String value)
URIParser.ParseListener
pathParameterNameValue
in interface URIParser.ParseListener
name
- The name. URL decoded.value
- The value. URL decoded.public boolean queryString(String queryString)
URIParser.ParseListener
queryString
in interface URIParser.ParseListener
queryString
- The text. The leading '?' is stripped.public boolean queryStringNameValue(String name, String value)
URIParser.ParseListener
queryStringNameValue
in interface URIParser.ParseListener
name
- The name. URL decoded.value
- The value. URL decoded.public boolean fragment(String fragment)
URIParser.ParseListener
fragment
in interface URIParser.ParseListener
fragment
- The fragment. The leading '#' is stripped.Copyright © 2000-2014. All Rights Reserved.