org.apache.cocoon.transformation
Class I18nTransformer.CatalogueInfo

java.lang.Object
  extended by org.apache.cocoon.transformation.I18nTransformer.CatalogueInfo
Enclosing class:
I18nTransformer

public final class I18nTransformer.CatalogueInfo
extends Object

Holds information about one catalogue. The location and name of the catalogue can contain references to input modules, and are resolved upon each transformer usage. It is important that releaseCatalog is called when the transformer is recycled.


Constructor Summary
I18nTransformer.CatalogueInfo(String name, String[] locations)
           
 
Method Summary
 Bundle getCatalogue()
           
 String[] getLocation()
           
 String getName()
           
 void releaseCatalog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18nTransformer.CatalogueInfo

public I18nTransformer.CatalogueInfo(String name,
                                     String[] locations)
                              throws PatternException
Throws:
PatternException
Method Detail

getName

public String getName()

getLocation

public String[] getLocation()

getCatalogue

public Bundle getCatalogue()

releaseCatalog

public void releaseCatalog()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.