org.opennms.netmgt.config.datacollection
Class Url

java.lang.Object
  extended by org.opennms.netmgt.config.datacollection.Url
All Implemented Interfaces:
java.io.Serializable

public class Url
extends java.lang.Object
implements java.io.Serializable

Class Url.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Url()
           
 
Method Summary
 void deletePort()
          Method deletePort
 java.lang.String getFragment()
          Returns the value of field 'fragment'.
 java.lang.String getHost()
          Returns the value of field 'host'.
 java.lang.String getHttpVersion()
          Returns the value of field 'httpVersion'.
 java.lang.String getMatches()
          Returns the value of field 'matches'.
 java.lang.String getMethod()
          Returns the value of field 'method'.
 Parameters getParameters()
          Returns the value of field 'parameters'.
 java.lang.String getPath()
          Returns the value of field 'path'.
 int getPort()
          Returns the value of field 'port'.
 java.lang.String getQuery()
          Returns the value of field 'query'.
 java.lang.String getResponseRange()
          Returns the value of field 'responseRange'.
 java.lang.String getScheme()
          Returns the value of field 'scheme'.
 java.lang.String getUserAgent()
          Returns the value of field 'userAgent'.
 java.lang.String getUserInfo()
          Returns the value of field 'userInfo'.
 java.lang.String getVirtualHost()
          Returns the value of field 'virtualHost'.
 boolean hasPort()
          Method hasPort
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setFragment(java.lang.String fragment)
          Sets the value of field 'fragment'.
 void setHost(java.lang.String host)
          Sets the value of field 'host'.
 void setHttpVersion(java.lang.String httpVersion)
          Sets the value of field 'httpVersion'.
 void setMatches(java.lang.String matches)
          Sets the value of field 'matches'.
 void setMethod(java.lang.String method)
          Sets the value of field 'method'.
 void setParameters(Parameters parameters)
          Sets the value of field 'parameters'.
 void setPath(java.lang.String path)
          Sets the value of field 'path'.
 void setPort(int port)
          Sets the value of field 'port'.
 void setQuery(java.lang.String query)
          Sets the value of field 'query'.
 void setResponseRange(java.lang.String responseRange)
          Sets the value of field 'responseRange'.
 void setScheme(java.lang.String scheme)
          Sets the value of field 'scheme'.
 void setUserAgent(java.lang.String userAgent)
          Sets the value of field 'userAgent'.
 void setUserInfo(java.lang.String userInfo)
          Sets the value of field 'userInfo'.
 void setVirtualHost(java.lang.String virtualHost)
          Sets the value of field 'virtualHost'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Url

public Url()
Method Detail

deletePort

public void deletePort()
Method deletePort


getFragment

public java.lang.String getFragment()
Returns the value of field 'fragment'.

Returns:
String

getHost

public java.lang.String getHost()
Returns the value of field 'host'.

Returns:
String

getHttpVersion

public java.lang.String getHttpVersion()
Returns the value of field 'httpVersion'.

Returns:
String

getMatches

public java.lang.String getMatches()
Returns the value of field 'matches'.

Returns:
String

getMethod

public java.lang.String getMethod()
Returns the value of field 'method'.

Returns:
String

getParameters

public Parameters getParameters()
Returns the value of field 'parameters'.

Returns:
Parameters

getPath

public java.lang.String getPath()
Returns the value of field 'path'.

Returns:
String

getPort

public int getPort()
Returns the value of field 'port'.

Returns:
int

getQuery

public java.lang.String getQuery()
Returns the value of field 'query'.

Returns:
String

getResponseRange

public java.lang.String getResponseRange()
Returns the value of field 'responseRange'.

Returns:
String

getScheme

public java.lang.String getScheme()
Returns the value of field 'scheme'.

Returns:
String

getUserAgent

public java.lang.String getUserAgent()
Returns the value of field 'userAgent'.

Returns:
String

getUserInfo

public java.lang.String getUserInfo()
Returns the value of field 'userInfo'.

Returns:
String

getVirtualHost

public java.lang.String getVirtualHost()
Returns the value of field 'virtualHost'.

Returns:
String

hasPort

public boolean hasPort()
Method hasPort

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setFragment

public void setFragment(java.lang.String fragment)
Sets the value of field 'fragment'.

Parameters:
fragment - the value of field 'fragment'.

setHost

public void setHost(java.lang.String host)
Sets the value of field 'host'.

Parameters:
host - the value of field 'host'.

setHttpVersion

public void setHttpVersion(java.lang.String httpVersion)
Sets the value of field 'httpVersion'.

Parameters:
httpVersion - the value of field 'httpVersion'.

setMatches

public void setMatches(java.lang.String matches)
Sets the value of field 'matches'.

Parameters:
matches - the value of field 'matches'.

setMethod

public void setMethod(java.lang.String method)
Sets the value of field 'method'.

Parameters:
method - the value of field 'method'.

setParameters

public void setParameters(Parameters parameters)
Sets the value of field 'parameters'.

Parameters:
parameters - the value of field 'parameters'.

setPath

public void setPath(java.lang.String path)
Sets the value of field 'path'.

Parameters:
path - the value of field 'path'.

setPort

public void setPort(int port)
Sets the value of field 'port'.

Parameters:
port - the value of field 'port'.

setQuery

public void setQuery(java.lang.String query)
Sets the value of field 'query'.

Parameters:
query - the value of field 'query'.

setResponseRange

public void setResponseRange(java.lang.String responseRange)
Sets the value of field 'responseRange'.

Parameters:
responseRange - the value of field 'responseRange'.

setScheme

public void setScheme(java.lang.String scheme)
Sets the value of field 'scheme'.

Parameters:
scheme - the value of field 'scheme'.

setUserAgent

public void setUserAgent(java.lang.String userAgent)
Sets the value of field 'userAgent'.

Parameters:
userAgent - the value of field 'userAgent'.

setUserInfo

public void setUserInfo(java.lang.String userInfo)
Sets the value of field 'userInfo'.

Parameters:
userInfo - the value of field 'userInfo'.

setVirtualHost

public void setVirtualHost(java.lang.String virtualHost)
Sets the value of field 'virtualHost'.

Parameters:
virtualHost - the value of field 'virtualHost'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.