info.magnolia.templating.elements
Class MarkupHelper
java.lang.Object
info.magnolia.templating.elements.MarkupHelper
- All Implemented Interfaces:
- Appendable
public class MarkupHelper
- extends Object
- implements Appendable
Helper class for building markup in templating elements.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarkupHelper
public MarkupHelper(Appendable appendable)
attribute
public MarkupHelper attribute(String name,
String value)
throws IOException
- Throws:
IOException
startContent
public MarkupHelper startContent(javax.jcr.Node node)
throws IOException,
info.magnolia.rendering.engine.RenderException
- Throws:
IOException
info.magnolia.rendering.engine.RenderException
endContent
public MarkupHelper endContent(javax.jcr.Node node)
throws IOException,
info.magnolia.rendering.engine.RenderException
- Throws:
IOException
info.magnolia.rendering.engine.RenderException
openTag
public MarkupHelper openTag(String tagName)
throws IOException
- Throws:
IOException
closeTag
public MarkupHelper closeTag(String tagName)
throws IOException
- Throws:
IOException
openComment
public MarkupHelper openComment(String tagName)
throws IOException
- Throws:
IOException
closeComment
public MarkupHelper closeComment(String tagName)
throws IOException
- Throws:
IOException
getNodeId
protected String getNodeId(javax.jcr.Node node)
throws info.magnolia.rendering.engine.RenderException
- Throws:
info.magnolia.rendering.engine.RenderException
getNodeType
protected String getNodeType(javax.jcr.Node node)
throws info.magnolia.rendering.engine.RenderException
- Throws:
info.magnolia.rendering.engine.RenderException
append
public Appendable append(CharSequence charSequence)
throws IOException
- Specified by:
append
in interface Appendable
- Throws:
IOException
append
public Appendable append(CharSequence charSequence,
int i,
int i1)
throws IOException
- Specified by:
append
in interface Appendable
- Throws:
IOException
append
public Appendable append(char c)
throws IOException
- Specified by:
append
in interface Appendable
- Throws:
IOException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.