org.apache.ws.metadata
Class MetadataConfiguration

java.lang.Object
  extended byorg.apache.ws.metadata.MetadataConfiguration

public class MetadataConfiguration
extends java.lang.Object

Represents the WS-MetadataExchange configuration information for a particular type of WS-Resource.

Author:
Sal Campana

Constructor Summary
MetadataConfiguration()
          Creates a new MetadataConfigImpl object.
MetadataConfiguration(java.util.List metadataEntryList)
          Creates a new MetadataConfigImpl object.
 
Method Summary
 void addMetadataEntry(MetadataEntry metadataEntry)
          DOCUMENT_ME
protected  void addToMetadataMap(MetadataEntry metadataEntry)
          Adds the specified metadata entry to the undelying lookup structures.
 java.util.List getAllMetadata()
          Returns all known metadata for all dialects.
 java.util.Map getMetadata(java.lang.String dialect)
          Returns metadata based on dialect
 java.util.Map getMetadata(java.lang.String dialect, java.lang.String identifierUri)
          Returns the metadata given a dialect and an identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataConfiguration

public MetadataConfiguration()
Creates a new MetadataConfigImpl object.


MetadataConfiguration

public MetadataConfiguration(java.util.List metadataEntryList)
Creates a new MetadataConfigImpl object.

Parameters:
metadataEntryList - a list of MetadataEntrys
Method Detail

getAllMetadata

public java.util.List getAllMetadata()
Returns all known metadata for all dialects.

Returns:
A list of all metadata

getMetadata

public java.util.Map getMetadata(java.lang.String dialect,
                                 java.lang.String identifierUri)
Returns the metadata given a dialect and an identifier.

Parameters:
dialect -
identifierUri -
Returns:
A Map keyed on dialect keyed-to a List of metadata

getMetadata

public java.util.Map getMetadata(java.lang.String dialect)
Returns metadata based on dialect

Parameters:
dialect -
Returns:
A Map keyed on dialect keyed-to a List of metadata

addMetadataEntry

public void addMetadataEntry(MetadataEntry metadataEntry)
DOCUMENT_ME

Parameters:
metadataEntry - DOCUMENT_ME

addToMetadataMap

protected void addToMetadataMap(MetadataEntry metadataEntry)
Adds the specified metadata entry to the undelying lookup structures. precondition: The structures have already been setup for the metadata

Parameters:
metadataEntry -


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.