Package org.eclipse.wst.xsl.core.internal.model
public class StylesheetBuilder extends java.lang.ObjectA builder that creates and maintains a cache of
Stylesheet
's.Method Summary | |
public static org.eclipse.wst.xsl.core.internal.model.StylesheetBuilder | getInstance() Get the singleton StylesheetBuilder instance. |
public org.eclipse.wst.xsl.core.model.Stylesheet | getStylesheet(IFile file
,
boolean force) Get the Stylesheet associated with the given file. If either
the Stylesheet has not yet been created or
force is specified then the Stylesheet is
built. |
public void | release() Releases all the cached stylesheets. |
public void | release(IFile file) |
Methods Detail |
public org.eclipse.wst.xsl.core.internal.model.StylesheetBuilder getInstance()
Get the singleton StylesheetBuilder
instance.
org.eclipse.wst.xsl.core.internal.model.StylesheetBuilder
- the StylesheetBuilder
instance
public org.eclipse.wst.xsl.core.model.Stylesheet getStylesheet(IFile file
,
boolean force)
Get the Stylesheet
associated with the given file. If either
the Stylesheet
has not yet been created or
force
is specified then the Stylesheet
is
built.
file
- the XSL file
force
- true
to force a parse of the file
org.eclipse.wst.xsl.core.model.Stylesheet
- the Stylesheet
public void release()
Releases all the cached stylesheets.
public void release(IFile file)
file