Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] API change plan

    Some API is not easy to use and also some method names about css style sheet are not standard writing style.

    So plan to change API:

 

    API change about library:

 

Old API`

New API

public void includeLibrary( String libraryFileName, String namespace )

           throws DesignFileException, SemanticException

public LibraryHandle includeLibrary( String libraryFileName, String namespace )

           throws DesignFileException, SemanticException

public void reloadLibrary( LibraryHandle libraryToReload )

           throws SemanticException, DesignFileException

public LibraryHandle reloadLibrary( LibraryHandle libraryToReload )

           throws SemanticException, DesignFileException

 

public void reloadLibrary( String reloadPath ) throws SemanticException,

           DesignFileException

 

public LibraryHandle reloadLibrary( String reloadPath ) throws SemanticException,

           DesignFileException

 

   

    API change about css style sheet:

 

Need deprecate old API

New API

public Iterator includeCssesIterator( )

public Iterator includeCssStyleSheetIterator()

public void addCss( CssStyleSheetHandle sheetHandle )

           throws SemanticException

public CssStyleSheetHandle importCssStyleSheet( CssStyleSheetHandle sheetHandle )

           throws SemanticException

 

public void addCss( String fileName ) throws SemanticException

public CssStyleSheetHandle importCssStyleSheet( String fileName ) throws SemanticException

public void dropCss( CssStyleSheetHandle sheetHandle )

           throws SemanticException

public void dropCssStyleSheet ( CssStyleSheetHandle sheetHandle ) throws SemanticException

public void reloadCss( CssStyleSheetHandle sheetHandle )

           throws SemanticException

public CssShetSheetHandle reloadCssStyleSheet( CssStyleSheetHandle sheetHandle )

           throws SemanticException

 

 

Any suggestion?

Thanks!

   

 

 

 

   

   

Mark He XingJie

 

Actuate Software Shanghai Center

Tel: (86)21-58826388

Fax: (86)21-58826002

Email: xhe@xxxxxxxxxxx

 


Back to the top