public class RenderingContext extends Object
Constructor and Description |
---|
RenderingContext(File basedir,
String document)
Constructor for RenderingContext when document is not rendered from a Doxia source.
|
RenderingContext(File basedir,
String document,
String parserId,
String extension)
Constructor for RenderingContext.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String key)
getAttribute.
|
File |
getBasedir()
Getter for the field
basedir . |
String |
getExtension()
Getter for the field
extension . |
String |
getInputName()
Getter for the field
inputName . |
String |
getOutputName()
Getter for the field
outputName . |
String |
getParserId()
Getter for the field
parserId . |
String |
getRelativePath()
Getter for the field
relativePath . |
void |
setAttribute(String key,
String value)
setAttribute.
|
public RenderingContext(File basedir, String document)
Constructor for RenderingContext when document is not rendered from a Doxia source.
basedir
- the pseudo-source base directory.document
- the pseudo-source document name: will be used to compute output name (same name with extension
replaced with .html
).public RenderingContext(File basedir, String document, String parserId, String extension)
Constructor for RenderingContext.
basedir
- the source base directory.document
- the source document name.parserId
- the Doxia module parser id associated to this document, may be null if document not rendered from
a Doxia source.extension
- the source document filename extension.public String getOutputName()
Getter for the field outputName
.
String
object.public String getRelativePath()
Getter for the field relativePath
.
String
object.Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.