nl.toolforge.karma.core.location
Class LocationDescriptor

java.lang.Object
  extended bynl.toolforge.karma.core.location.LocationDescriptor

public class LocationDescriptor
extends java.lang.Object

Helper class to be able to read locations from an xml structure. This class is capable to handle all formats.

Version:
$Id: LocationDescriptor.java,v 1.7 2004/10/26 22:48:00 hippe Exp $
Author:
D.A. Smedes

Constructor Summary
LocationDescriptor()
           
 
Method Summary
static org.apache.commons.digester.Digester getDigester()
          Creates a Digester to read xml structures for locations.
 java.lang.String getHost()
           
 java.lang.String getId()
           
 java.lang.String getModuleOffset()
           
 java.lang.String getPort()
           
 java.lang.String getProtocol()
           
 java.lang.String getRepository()
           
 java.lang.String getType()
           
 void setHost(java.lang.String host)
           
 void setId(java.lang.String id)
           
 void setModuleOffset(java.lang.String moduleOffset)
           
 void setPort(java.lang.String port)
           
 void setProtocol(java.lang.String protocol)
           
 void setRepository(java.lang.String repository)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationDescriptor

public LocationDescriptor()
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getHost

public java.lang.String getHost()

setHost

public void setHost(java.lang.String host)

getPort

public java.lang.String getPort()

setPort

public void setPort(java.lang.String port)

getRepository

public java.lang.String getRepository()

setRepository

public void setRepository(java.lang.String repository)

getModuleOffset

public java.lang.String getModuleOffset()

setModuleOffset

public void setModuleOffset(java.lang.String moduleOffset)

getProtocol

public java.lang.String getProtocol()

setProtocol

public void setProtocol(java.lang.String protocol)

getDigester

public static org.apache.commons.digester.Digester getDigester()
Creates a Digester to read xml structures for locations. This digester will create an ArrayList of LocationDescriptor instances.

Returns:
A digester instance


Copyright © 2002-2004 Toolforge. All Rights Reserved.