org.apache.lenya.cms.repository
Class MetaSourceWrapper

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.cms.repository.SourceWrapper
          extended by org.apache.lenya.cms.repository.MetaSourceWrapper
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, org.apache.lenya.cms.metadata.MetaDataOwner

public class MetaSourceWrapper
extends SourceWrapper
implements org.apache.lenya.cms.metadata.MetaDataOwner

Provides access to a meta data source.


Field Summary
protected static java.lang.String LENYA_META_SUFFIX
           
 
Fields inherited from class org.apache.lenya.cms.repository.SourceWrapper
CONTEXT_PREFIX, FILE_PREFIX, manager
 
Constructor Summary
MetaSourceWrapper(SourceNode node, java.lang.String sourceURI, org.apache.avalon.framework.service.ServiceManager manager, org.apache.avalon.framework.logger.Logger logger)
          Ctor.
 
Method Summary
 org.apache.lenya.cms.metadata.MetaData getMetaData(java.lang.String namespaceUri)
           
 java.lang.String[] getMetaDataNamespaceUris()
           
 
Methods inherited from class org.apache.lenya.cms.repository.SourceWrapper
computeRealSourceUri, delete, deleteTransactionable, exists, getContentLength, getInputStream, getLastModified, getLoadRevision, getMimeType, getNode, getOutputStream, getRealSourceUri, getSourceUri, loadData, saveTransactionable, saveTransactionable
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LENYA_META_SUFFIX

protected static final java.lang.String LENYA_META_SUFFIX
See Also:
Constant Field Values
Constructor Detail

MetaSourceWrapper

public MetaSourceWrapper(SourceNode node,
                         java.lang.String sourceURI,
                         org.apache.avalon.framework.service.ServiceManager manager,
                         org.apache.avalon.framework.logger.Logger logger)
Ctor.

Parameters:
node -
sourceURI -
manager -
logger -
Method Detail

getMetaData

public org.apache.lenya.cms.metadata.MetaData getMetaData(java.lang.String namespaceUri)
                                                   throws org.apache.lenya.cms.metadata.MetaDataException
Specified by:
getMetaData in interface org.apache.lenya.cms.metadata.MetaDataOwner
Throws:
org.apache.lenya.cms.metadata.MetaDataException

getMetaDataNamespaceUris

public java.lang.String[] getMetaDataNamespaceUris()
                                            throws org.apache.lenya.cms.metadata.MetaDataException
Specified by:
getMetaDataNamespaceUris in interface org.apache.lenya.cms.metadata.MetaDataOwner
Throws:
org.apache.lenya.cms.metadata.MetaDataException


Copyright © $ Apache Software Foundation. All Rights Reserved.