info.magnolia.jcr.wrapper
Class HTMLEscapingContentDecorator
java.lang.Object
info.magnolia.jcr.decoration.AbstractContentDecorator
info.magnolia.jcr.wrapper.HTMLEscapingContentDecorator
- All Implemented Interfaces:
- ContentDecorator
public class HTMLEscapingContentDecorator
- extends AbstractContentDecorator
HTML escaping content decorator for use by node and property wrapper classes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLEscapingContentDecorator
public HTMLEscapingContentDecorator(boolean transformLineBreaks)
wrapNode
public javax.jcr.Node wrapNode(javax.jcr.Node node)
- Specified by:
wrapNode
in interface ContentDecorator
- Overrides:
wrapNode
in class AbstractContentDecorator
wrapProperty
public javax.jcr.Property wrapProperty(javax.jcr.Property property)
- Specified by:
wrapProperty
in interface ContentDecorator
- Overrides:
wrapProperty
in class AbstractContentDecorator
getTransformLineBreaks
public boolean getTransformLineBreaks()
decorate
public String decorate(String raw)
isMultipleWrapEnabled
public boolean isMultipleWrapEnabled()
- Description copied from interface:
ContentDecorator
- Tells if multiple wrapping with this content decorator is enabled.
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.