Hilbert II - Version 0.03.08

org.qedeq.kernel.bo.module
Interface ModuleAddress

All Known Implementing Classes:
DefaultModuleAddress

public interface ModuleAddress

An address for a QEDEQ module.

Version:
$Revision: 1.7 $

Method Summary
 ModuleContext createModuleContext()
          Get module address as ModuleContext.
 String getFileName()
          Get module file name.
 String getHeader()
          Get address header (including protocol, host, port, user) but without file path.
 String getName()
          Get name of module (file name without .xml).
 String getPath()
          Get address path (without protocol, host, port and file name).
 URL getURL()
          Get fully qualified URL of module.
 boolean isFileAddress()
          Is this a local QEDEQ file.
 boolean isRelativeAddress()
          Was this module address created relatively?
 

Method Detail

createModuleContext

public ModuleContext createModuleContext()
Get module address as ModuleContext. Creates a new object.

Returns:
Module address as ModuleContext.

getHeader

public String getHeader()
Get address header (including protocol, host, port, user) but without file path.

Returns:
address header

getPath

public String getPath()
Get address path (without protocol, host, port and file name).

Returns:
module path

getFileName

public String getFileName()
Get module file name.

Returns:
Module file name.

getName

public String getName()
Get name of module (file name without .xml).

Returns:
Module name.

getURL

public URL getURL()
Get fully qualified URL of module.

Returns:
URL for QEDEQ module.

isRelativeAddress

public boolean isRelativeAddress()
Was this module address created relatively?

Returns:
Relatively created?

isFileAddress

public boolean isFileAddress()
Is this a local QEDEQ file. That means the address starts with file:.

Returns:
Is the QEDEQ module a local file?

Hilbert II - Version 0.03.08

©left GNU General Public Licence
All Rights Reserved.