|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xwiki.component.logging.AbstractLogEnabled
org.xwiki.rendering.macro.AbstractMacro<HTMLMacroParameters>
org.xwiki.rendering.internal.macro.html.HTMLMacro
@Component(value="html") public class HTMLMacro
Allows inserting HTML and XHTML in wiki pages. This macro also accepts wiki syntax alongside (X)HTML elements (it's also possible to disable this feature using a macro parameter). When wiki syntax is used inside XML elements, the leading and trailing spaces and newlines are stripped.
Field Summary |
---|
Fields inherited from class org.xwiki.rendering.macro.AbstractMacro |
---|
beanManager, DEFAULT_CATEGORY_CONTENT, DEFAULT_CATEGORY_DEVELOPMENT, DEFAULT_CATEGORY_FORMATTING, DEFAULT_CATEGORY_NAVIGATION |
Constructor Summary | |
---|---|
HTMLMacro()
Create and initialize the descriptor of the macro. |
Method Summary | |
---|---|
java.util.List<Block> |
execute(HTMLMacroParameters parameters,
java.lang.String content,
MacroTransformationContext context)
|
boolean |
supportsInlineMode()
|
Methods inherited from class org.xwiki.rendering.macro.AbstractMacro |
---|
compareTo, getDescriptor, getPriority, initialize, setDefaultCategory, setDescriptor, setPriority |
Methods inherited from class org.xwiki.component.logging.AbstractLogEnabled |
---|
enableLogging, getLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLMacro()
Method Detail |
---|
public boolean supportsInlineMode()
Macro.supportsInlineMode()
public java.util.List<Block> execute(HTMLMacroParameters parameters, java.lang.String content, MacroTransformationContext context) throws MacroExecutionException
MacroExecutionException
Macro.execute(Object, String, MacroTransformationContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |