public class CssStyleSheetHandle extends ElementDetailHandle
CssStyleSheet
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.birt.report.model.css.CssStyleSheet |
styleSheet
The translation message.
|
elementHandle
Constructor and Description |
---|
CssStyleSheetHandle(ModuleHandle moduleHandle,
org.eclipse.birt.report.model.css.CssStyleSheet styleSheet)
Constructs a handle for an style sheet.
|
Modifier and Type | Method and Description |
---|---|
SharedStyleHandle |
findStyle(java.lang.String name)
Gets a style handle with the given name in the style sheet.
|
DesignElementHandle |
getContainerHandle()
Gets container handle.
|
java.lang.String |
getExternalCssURI() |
java.lang.String |
getFileName()
Gets css file name
|
java.util.List |
getParserErrors()
Gets the message list for the parser errors.
|
java.util.List |
getParserFatalErrors()
Gets the message list for the parser fatal errors.
|
java.util.List |
getParserWarnings()
Gets the message list for the parser warnings.
|
java.util.Iterator |
getStyleIterator()
Returns an iterator over the styles of this style sheet.
|
org.eclipse.birt.report.model.css.CssStyleSheet |
getStyleSheet()
Gets the style sheet.
|
java.util.List |
getUnsupportedStyles()
Returns all the unsupported style names.
|
java.util.List |
getWarnings(java.lang.String styleName)
Gets the warning list of the given style.
|
boolean |
isUseExternalCss() |
getDesign, getElement, getElementHandle, getModule
protected org.eclipse.birt.report.model.css.CssStyleSheet styleSheet
public CssStyleSheetHandle(ModuleHandle moduleHandle, org.eclipse.birt.report.model.css.CssStyleSheet styleSheet)
moduleHandle
- a handle to a modulestyleSheet
- the style sheet to be handledpublic org.eclipse.birt.report.model.css.CssStyleSheet getStyleSheet()
public java.util.Iterator getStyleIterator()
getNext( )
method is of
type SharedStyleHandle
.public SharedStyleHandle findStyle(java.lang.String name)
name
- the name of the style to findnull
public java.util.List getUnsupportedStyles()
public java.util.List getWarnings(java.lang.String styleName)
StyleSheetParserException
.styleName
- the style nameStyleSheetParserException
public java.util.List getParserErrors()
public java.util.List getParserFatalErrors()
public java.util.List getParserWarnings()
public java.lang.String getFileName()
public java.lang.String getExternalCssURI()
public boolean isUseExternalCss()
public DesignElementHandle getContainerHandle()
Copyright © 2008 Actuate Corp. All rights reserved.