org.weblab_project.core.factory
Class LowLevelDescriptorFactory

java.lang.Object
  extended by org.weblab_project.core.factory.LowLevelDescriptorFactory

public class LowLevelDescriptorFactory
extends java.lang.Object

This class will provide an easy and strongly recommended way to create LowLevelDescriptors.it will enable the creation of a LowLevelDescriptor having an URI compliant with the WebLabRI recommendations.
Since an LowLevelDescriptor hasn't any sense without being attached to a Resource, we only provide a method for creating LowLevelDescriptors that takes a Resource in parameter. As a result, the created LowLevelDescriptor is added to the LowLevelDescriptor List of the Resource.

Author:
EADS WebLab Team
Date:
2008-04-11

Method Summary
static LowLevelDescriptor createAndLinkLowLevelDescriptor(Resource res)
          Method that should create and link a LowLevelDescriptor from/to a Resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createAndLinkLowLevelDescriptor

public static final LowLevelDescriptor createAndLinkLowLevelDescriptor(Resource res)
Method that should create and link a LowLevelDescriptor from/to a Resource. Automatically set a valid WebLabRI to the created LowLevelDescriptor using the Resource in parameter to generate an unique id. Created LowLevelDescriptor will be added to resource.

Parameters:
res - The Resource to be described by the LowLevelDescriptor.
Returns:
The LowLevelDescriptor describing res.


Copyright © 2004-2010. All Rights Reserved.