public final class Url extends Property
Modifier and Type | Class and Description |
---|---|
static class |
Url.Factory |
Property.Id
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Url(java.util.List<Parameter> params,
java.lang.String value)
Factory constructor.
|
Url(java.net.URI uri) |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
getUri() |
java.lang.String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public Url(java.net.URI uri)
uri
- a URI representation of a URLpublic Url(java.util.List<Parameter> params, java.lang.String value) throws java.net.URISyntaxException
params
- property parametersvalue
- string representation of a property valuejava.net.URISyntaxException
- where the specified value is not a valid URI