org.compass.core.config
Interface InputStreamMappingResolver

All Known Implementing Classes:
ResultSetResourceMappingResolver

public interface InputStreamMappingResolver

A general interface that can be used to resolve mappings definitions that are not supported by the default add configuration API's.

Author:
kimchy

Method Summary
 InputStream getMappingAsInputStream()
          Returns an InputStream that holds the mapping.
 String getName()
          Returns the name of the mapping builder.
 

Method Detail

getName

String getName()
Returns the name of the mapping builder. For example, for compass-core-mapping it should end with ".cpm.xml".


getMappingAsInputStream

InputStream getMappingAsInputStream()
                                    throws CompassException
Returns an InputStream that holds the mapping.

Returns:
InputStream that has the mapping definitions.
Throws:
CompassException


Copyright (c) 2004-2008 The Compass Project.