public class MarkupHelper extends Object implements Appendable
Constructor and Description |
---|
MarkupHelper(Appendable appendable) |
Modifier and Type | Method and Description |
---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence charSequence) |
Appendable |
append(CharSequence charSequence,
int i,
int i1) |
MarkupHelper |
attribute(String name,
String value) |
MarkupHelper |
closeComment(String tagName) |
MarkupHelper |
closeTag(String tagName) |
MarkupHelper |
endContent(javax.jcr.Node node) |
protected String |
getNodeId(javax.jcr.Node node) |
protected String |
getNodeType(javax.jcr.Node node) |
MarkupHelper |
openComment(String tagName) |
MarkupHelper |
openTag(String tagName) |
MarkupHelper |
startContent(javax.jcr.Node node) |
public MarkupHelper(Appendable appendable)
public MarkupHelper attribute(String name, String value) throws IOException
IOException
public MarkupHelper startContent(javax.jcr.Node node) throws IOException, info.magnolia.rendering.engine.RenderException
IOException
info.magnolia.rendering.engine.RenderException
public MarkupHelper endContent(javax.jcr.Node node) throws IOException, info.magnolia.rendering.engine.RenderException
IOException
info.magnolia.rendering.engine.RenderException
public MarkupHelper openTag(String tagName) throws IOException
IOException
public MarkupHelper closeTag(String tagName) throws IOException
IOException
public MarkupHelper openComment(String tagName) throws IOException
IOException
public MarkupHelper closeComment(String tagName) throws IOException
IOException
protected String getNodeId(javax.jcr.Node node) throws info.magnolia.rendering.engine.RenderException
info.magnolia.rendering.engine.RenderException
protected String getNodeType(javax.jcr.Node node) throws info.magnolia.rendering.engine.RenderException
info.magnolia.rendering.engine.RenderException
public Appendable append(CharSequence charSequence) throws IOException
append
in interface Appendable
IOException
public Appendable append(CharSequence charSequence, int i, int i1) throws IOException
append
in interface Appendable
IOException
public Appendable append(char c) throws IOException
append
in interface Appendable
IOException
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.