nl.gx.webmanager.services.wrapper
Class WrapperDefinitionImpl

java.lang.Object
  extended by nl.gx.webmanager.services.wrapper.WrapperDefinitionImpl
All Implemented Interfaces:
WrapperDefinition

public class WrapperDefinitionImpl
extends java.lang.Object
implements WrapperDefinition

Implementation class for a wrapper definition. A wrapper definition combines related implementation, node type, optional interface(s) and optional factory classes.

Author:
sanderj

Constructor Summary
WrapperDefinitionImpl(java.lang.String factory, java.lang.String implementation, java.lang.String[] interfaces, java.lang.String nodeType, java.lang.String contentType)
          Constructor for a WrapperDefinitionImpl object instance based on a factory, fully qualified name of an implementation class, an arry of integers and a fully qualified name of a jcr nodetype.
 
Method Summary
 java.lang.String getContentType()
          Returns the content type assosiated with the implementation class
 java.lang.String getFactory()
          Returns the fully qualified classname of the factory from which instances of the class can be retrieved.
 java.lang.String getImplementation()
          Returns null or the fully qualified classname of the implementation class.
 java.lang.String[] getInterfaces()
          Returns null or an array of fully qualified classnames of the interfaces.
 java.lang.String getNodeType()
          Returns null or the fully qualified nodetype name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapperDefinitionImpl

public WrapperDefinitionImpl(java.lang.String factory,
                             java.lang.String implementation,
                             java.lang.String[] interfaces,
                             java.lang.String nodeType,
                             java.lang.String contentType)
Constructor for a WrapperDefinitionImpl object instance based on a factory, fully qualified name of an implementation class, an arry of integers and a fully qualified name of a jcr nodetype.

Parameters:
factory - Fully qualified classname of the factory from which instances of the implementation class can be retrieved
implementation - Fully qualified classname of an implementation class
interfaces - Array of fully qualified classnames of interfaces
nodeType - Fully qualified nodetype name
Method Detail

getFactory

public java.lang.String getFactory()
Description copied from interface: WrapperDefinition
Returns the fully qualified classname of the factory from which instances of the class can be retrieved. If there is no factory then null is returned.

Specified by:
getFactory in interface WrapperDefinition
Returns:
null or the fully qualified classname of the factory class

getImplementation

public java.lang.String getImplementation()
Description copied from interface: WrapperDefinition
Returns null or the fully qualified classname of the implementation class.

Specified by:
getImplementation in interface WrapperDefinition
Returns:
null or the fully qualified classname of the implementation class

getInterfaces

public java.lang.String[] getInterfaces()
Description copied from interface: WrapperDefinition
Returns null or an array of fully qualified classnames of the interfaces.

Specified by:
getInterfaces in interface WrapperDefinition
Returns:
null or an array of fully qualified classnames of the interfaces

getNodeType

public java.lang.String getNodeType()
Description copied from interface: WrapperDefinition
Returns null or the fully qualified nodetype name.

Specified by:
getNodeType in interface WrapperDefinition
Returns:
null or the fully qualified nodetype name

getContentType

public java.lang.String getContentType()
Description copied from interface: WrapperDefinition
Returns the content type assosiated with the implementation class

Specified by:
getContentType in interface WrapperDefinition
Returns:
the content type assosiated with the implementation class


Copyright © 2007-2011 GX Software BV. All Rights Reserved.