public class Url extends Object implements Serializable
Constructor and Description |
---|
Url() |
Modifier and Type | Method and Description |
---|---|
void |
deleteCanonicalEquivalence() |
void |
deleteCaseInsensitive() |
void |
deleteComments() |
void |
deleteDotall() |
void |
deleteLiteral() |
void |
deleteMultiline() |
void |
deletePort() |
void |
deleteUnicodeCase() |
void |
deleteUnixLines() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
boolean |
getCanonicalEquivalence()
Returns the value of field 'canonicalEquivalence'.
|
boolean |
getCaseInsensitive()
Returns the value of field 'caseInsensitive'.
|
boolean |
getComments()
Returns the value of field 'comments'.
|
boolean |
getDotall()
Returns the value of field 'dotall'.
|
String |
getFragment()
Returns the value of field 'fragment'.
|
String |
getHost()
Returns the value of field 'host'.
|
String |
getHttpVersion()
Returns the value of field 'httpVersion'.
|
boolean |
getLiteral()
Returns the value of field 'literal'.
|
String |
getMatches()
Returns the value of field 'matches'.
|
String |
getMethod()
Returns the value of field 'method'.
|
boolean |
getMultiline()
Returns the value of field 'multiline'.
|
Parameters |
getParameters()
Returns the value of field 'parameters'.
|
String |
getPath()
Returns the value of field 'path'.
|
int |
getPort()
Returns the value of field 'port'.
|
String |
getQuery()
Returns the value of field 'query'.
|
String |
getResponseRange()
Returns the value of field 'responseRange'.
|
String |
getScheme()
Returns the value of field 'scheme'.
|
boolean |
getUnicodeCase()
Returns the value of field 'unicodeCase'.
|
boolean |
getUnixLines()
Returns the value of field 'unixLines'.
|
String |
getUserAgent()
Returns the value of field 'userAgent'.
|
String |
getUserInfo()
Returns the value of field 'userInfo'.
|
String |
getVirtualHost()
Returns the value of field 'virtualHost'.
|
boolean |
hasCanonicalEquivalence()
Method hasCanonicalEquivalence.
|
boolean |
hasCaseInsensitive()
Method hasCaseInsensitive.
|
boolean |
hasComments()
Method hasComments.
|
boolean |
hasDotall()
Method hasDotall.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasLiteral()
Method hasLiteral.
|
boolean |
hasMultiline()
Method hasMultiline.
|
boolean |
hasPort()
Method hasPort.
|
boolean |
hasUnicodeCase()
Method hasUnicodeCase.
|
boolean |
hasUnixLines()
Method hasUnixLines.
|
boolean |
isCanonicalEquivalence()
Returns the value of field 'canonicalEquivalence'.
|
boolean |
isCaseInsensitive()
Returns the value of field 'caseInsensitive'.
|
boolean |
isComments()
Returns the value of field 'comments'.
|
boolean |
isDotall()
Returns the value of field 'dotall'.
|
boolean |
isLiteral()
Returns the value of field 'literal'.
|
boolean |
isMultiline()
Returns the value of field 'multiline'.
|
boolean |
isUnicodeCase()
Returns the value of field 'unicodeCase'.
|
boolean |
isUnixLines()
Returns the value of field 'unixLines'.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setCanonicalEquivalence(boolean canonicalEquivalence)
Sets the value of field 'canonicalEquivalence'.
|
void |
setCaseInsensitive(boolean caseInsensitive)
Sets the value of field 'caseInsensitive'.
|
void |
setComments(boolean comments)
Sets the value of field 'comments'.
|
void |
setDotall(boolean dotall)
Sets the value of field 'dotall'.
|
void |
setFragment(String fragment)
Sets the value of field 'fragment'.
|
void |
setHost(String host)
Sets the value of field 'host'.
|
void |
setHttpVersion(String httpVersion)
Sets the value of field 'httpVersion'.
|
void |
setLiteral(boolean literal)
Sets the value of field 'literal'.
|
void |
setMatches(String matches)
Sets the value of field 'matches'.
|
void |
setMethod(String method)
Sets the value of field 'method'.
|
void |
setMultiline(boolean multiline)
Sets the value of field 'multiline'.
|
void |
setParameters(Parameters parameters)
Sets the value of field 'parameters'.
|
void |
setPath(String path)
Sets the value of field 'path'.
|
void |
setPort(int port)
Sets the value of field 'port'.
|
void |
setQuery(String query)
Sets the value of field 'query'.
|
void |
setResponseRange(String responseRange)
Sets the value of field 'responseRange'.
|
void |
setScheme(String scheme)
Sets the value of field 'scheme'.
|
void |
setUnicodeCase(boolean unicodeCase)
Sets the value of field 'unicodeCase'.
|
void |
setUnixLines(boolean unixLines)
Sets the value of field 'unixLines'.
|
void |
setUserAgent(String userAgent)
Sets the value of field 'userAgent'.
|
void |
setUserInfo(String userInfo)
Sets the value of field 'userInfo'.
|
void |
setVirtualHost(String virtualHost)
Sets the value of field 'virtualHost'.
|
static Url |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteCanonicalEquivalence()
public void deleteCaseInsensitive()
public void deleteComments()
public void deleteDotall()
public void deleteLiteral()
public void deleteMultiline()
public void deletePort()
public void deleteUnicodeCase()
public void deleteUnixLines()
public boolean equals(Object obj)
public boolean getCanonicalEquivalence()
public boolean getCaseInsensitive()
public boolean getComments()
public boolean getDotall()
public String getFragment()
public String getHost()
public String getHttpVersion()
public boolean getLiteral()
public String getMatches()
public String getMethod()
public boolean getMultiline()
public Parameters getParameters()
public String getPath()
public int getPort()
public String getQuery()
public String getResponseRange()
public String getScheme()
public boolean getUnicodeCase()
public boolean getUnixLines()
public String getUserAgent()
public String getUserInfo()
public String getVirtualHost()
public boolean hasCanonicalEquivalence()
public boolean hasCaseInsensitive()
public boolean hasComments()
public boolean hasDotall()
public boolean hasLiteral()
public boolean hasMultiline()
public boolean hasPort()
public boolean hasUnicodeCase()
public boolean hasUnixLines()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isCanonicalEquivalence()
public boolean isCaseInsensitive()
public boolean isComments()
public boolean isDotall()
public boolean isLiteral()
public boolean isMultiline()
public boolean isUnicodeCase()
public boolean isUnixLines()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setCanonicalEquivalence(boolean canonicalEquivalence)
canonicalEquivalence
- the value of field
'canonicalEquivalence'.public void setCaseInsensitive(boolean caseInsensitive)
caseInsensitive
- the value of field 'caseInsensitive'.public void setComments(boolean comments)
comments
- the value of field 'comments'.public void setDotall(boolean dotall)
dotall
- the value of field 'dotall'.public void setFragment(String fragment)
fragment
- the value of field 'fragment'.public void setHost(String host)
host
- the value of field 'host'.public void setHttpVersion(String httpVersion)
httpVersion
- the value of field 'httpVersion'.public void setLiteral(boolean literal)
literal
- the value of field 'literal'.public void setMatches(String matches)
matches
- the value of field 'matches'.public void setMethod(String method)
method
- the value of field 'method'.public void setMultiline(boolean multiline)
multiline
- the value of field 'multiline'.public void setParameters(Parameters parameters)
parameters
- the value of field 'parameters'.public void setPath(String path)
path
- the value of field 'path'.public void setPort(int port)
port
- the value of field 'port'.public void setQuery(String query)
query
- the value of field 'query'.public void setResponseRange(String responseRange)
responseRange
- the value of field 'responseRange'.public void setScheme(String scheme)
scheme
- the value of field 'scheme'.public void setUnicodeCase(boolean unicodeCase)
unicodeCase
- the value of field 'unicodeCase'.public void setUnixLines(boolean unixLines)
unixLines
- the value of field 'unixLines'.public void setUserAgent(String userAgent)
userAgent
- the value of field 'userAgent'.public void setUserInfo(String userInfo)
userInfo
- the value of field 'userInfo'.public void setVirtualHost(String virtualHost)
virtualHost
- the value of field 'virtualHost'.public static Url unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.