public class RenderingContext
extends org.apache.maven.doxia.sink.render.RenderingContext
| 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 File getBasedir()
Getter for the field basedir.
getBasedir in class org.apache.maven.doxia.sink.render.RenderingContextFile object.public String getInputName()
Getter for the field inputName.
getInputName in class org.apache.maven.doxia.sink.render.RenderingContextString object.public String getOutputName()
Getter for the field outputName.
getOutputName in class org.apache.maven.doxia.sink.render.RenderingContextString object.public String getParserId()
Getter for the field parserId.
getParserId in class org.apache.maven.doxia.sink.render.RenderingContextString object.public String getRelativePath()
Getter for the field relativePath.
getRelativePath in class org.apache.maven.doxia.sink.render.RenderingContextString object.Copyright © 2005–2017. All rights reserved.