public class UriBuilder extends Object
| Constructor and Description |
|---|
UriBuilder() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDocumentSelector() |
String |
getElementSelector() |
String |
getNamespaceBindings() |
String |
getSchemeAndAuthority() |
String |
getTerminalSelector() |
String |
getXcapRoot() |
UriBuilder |
setDocumentSelector(String documentSelector) |
UriBuilder |
setElementSelector(String elementSelector) |
UriBuilder |
setNamespaceBindings(String namespaceBindings) |
UriBuilder |
setSchemeAndAuthority(String schemeAndAuthority) |
UriBuilder |
setTerminalSelector(String terminalSelector) |
UriBuilder |
setXcapRoot(String xcapRoot) |
URI |
toURI() |
public String getSchemeAndAuthority()
public UriBuilder setSchemeAndAuthority(String schemeAndAuthority)
schemeAndAuthority - the schemeAndAuthority to setpublic String getXcapRoot()
public UriBuilder setXcapRoot(String xcapRoot) throws IllegalArgumentException
xcapRoot - the xcapRoot to set, must end with /IllegalArgumentException - if xcap root ends with /public String getDocumentSelector()
public UriBuilder setDocumentSelector(String documentSelector) throws IllegalArgumentException
documentSelector - the documentSelector to set, must not start with /IllegalArgumentException - if documentSelector starts with /public String getElementSelector()
public UriBuilder setElementSelector(String elementSelector) throws IllegalArgumentException
elementSelector - the elementSelector to set, must not start with /IllegalArgumentException - if elementSelector starts with /public String getTerminalSelector()
public UriBuilder setTerminalSelector(String terminalSelector) throws IllegalArgumentException
terminalSelector - the terminalSelector to setIllegalArgumentException - if terminalSelector starts with /public String getNamespaceBindings()
public UriBuilder setNamespaceBindings(String namespaceBindings) throws IllegalArgumentException
namespaceBindings - the namespaceBindings to set, must not start with ?IllegalArgumentException - if namespaceBindings starts with ?public URI toURI() throws URISyntaxException
URISyntaxExceptionCopyright © 2016. All rights reserved.