org.ow2.orchestra.util
Class StyleSheetRepository

java.lang.Object
  extended by org.ow2.orchestra.util.StyleSheetRepository
All Implemented Interfaces:
java.io.Serializable

public class StyleSheetRepository
extends java.lang.Object
implements java.io.Serializable

Author:
Charles Souillard, Guillaume Porcher
See Also:
Serialized Form

Field Summary
protected  java.util.Map<java.lang.String,byte[]> styleSheets
          Store all the styleSheet used in the process. key: String =>name of the styleSheet value: StreamSource => the parsed styleSheet
 
Constructor Summary
StyleSheetRepository()
           
 
Method Summary
 void addStyleSheet(java.net.URL url, java.lang.String styleSheetSt)
          Add a new xslt styeSheet.
 java.util.Map<java.lang.String,byte[]> getStyleSheets()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

styleSheets

protected java.util.Map<java.lang.String,byte[]> styleSheets
Store all the styleSheet used in the process. key: String =>name of the styleSheet value: StreamSource => the parsed styleSheet

Constructor Detail

StyleSheetRepository

public StyleSheetRepository()
Method Detail

getStyleSheets

public java.util.Map<java.lang.String,byte[]> getStyleSheets()
Returns:
the styleSheets

addStyleSheet

public void addStyleSheet(java.net.URL url,
                          java.lang.String styleSheetSt)
Add a new xslt styeSheet. The styleSheet is parsed and stored in the styleSheet hashMap

Parameters:
fileAddress - : address of the new styleSheet.


Copyright © 2009 OW2 Consortium. All Rights Reserved.