@Unstable public class ExportURLFactoryContext extends Object
ExportURLFactory
Constructor and Description |
---|
ExportURLFactoryContext() |
Modifier and Type | Method and Description |
---|---|
void |
addExportedPage(String page) |
void |
addExportedSkinFile(String filePath) |
void |
addNeededSkin(String skin) |
void |
adjustCSSPath(StringBuffer builder)
Adds "../" prefixes to the passed path for adjusting the path so that it's relative to where the CSS file
it's contained in.
|
File |
getExportDir() |
Set<String> |
getExportedPages() |
Collection<String> |
getExportedSkinFiles() |
Set<String> |
getNeededSkins() |
boolean |
hasExportedPage(String page) |
boolean |
hasExportedSkinFile(String filePath) |
void |
popCSSPathAdjustement()
Pops "../" prefixes.
|
void |
pushCSSPathAdjustment(int count)
Pushes "../" prefixes.
|
void |
setExportDir(File exportDir) |
public void adjustCSSPath(StringBuffer builder)
builder
- the path to adjustpublic void pushCSSPathAdjustment(int count)
count
- the numer of "../" prefixes to addpublic void popCSSPathAdjustement()
public Set<String> getNeededSkins()
public void addNeededSkin(String skin)
skin
- see getNeededSkins()
public File getExportDir()
public Set<String> getExportedPages()
public void addExportedPage(String page)
page
- see getExportedPages()
public boolean hasExportedPage(String page)
page
- the page to checkpublic void setExportDir(File exportDir)
exportDir
- See getExportDir()
public Collection<String> getExportedSkinFiles()
public boolean hasExportedSkinFile(String filePath)
filePath
- the skin file path to checkpublic void addExportedSkinFile(String filePath)
filePath
- see getExportedPages()
Copyright © 2004–2014 XWiki. All rights reserved.