@Unstable
public interface TemplateContent
| Modifier and Type | Method and Description |
|---|---|
DocumentReference |
getAuthorReference() |
String |
getContent() |
<T> T |
getProperty(String name,
T def)
Return custom property with the provided name and converted (if needed) to the passed default value type.
|
<T> T |
getProperty(String name,
Type type)
Return custom property with the provided name and converted (if needed) to the passed type.
|
org.xwiki.rendering.syntax.Syntax |
getRawSyntax() |
org.xwiki.rendering.syntax.Syntax |
getSourceSyntax() |
String getContent()
org.xwiki.rendering.syntax.Syntax getSourceSyntax()
org.xwiki.rendering.syntax.Syntax getRawSyntax()
RawBlock, note taken into account if a source
syntax is provided<T> T getProperty(String name, Type type)
T - the type of the value to returnname - the name of the propertytype - the type of the property<T> T getProperty(String name, T def)
T - the type of the value to returnname - the name of the propertydef - the default valueDocumentReference getAuthorReference()
Copyright © 2004–2016 XWiki. All rights reserved.