|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.jcr.wrapper.DelegateNodeWrapper info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper<HTMLEscapingContentDecorator> info.magnolia.jcr.wrapper.HTMLEscapingNodeWrapper
public class HTMLEscapingNodeWrapper
Node wrapper for escaping HTML in property values. This wrapper is essential to prevention of XSS vulnerabilities in templates.
HTMLEscapingPropertyWrapper
Field Summary |
---|
Fields inherited from class info.magnolia.jcr.wrapper.DelegateNodeWrapper |
---|
wrapped |
Fields inherited from interface javax.jcr.Node |
---|
JCR_CHILD_NODE_DEFINITION, JCR_CONTENT, JCR_FROZEN_NODE, JCR_PROPERTY_DEFINITION, JCR_ROOT_VERSION, JCR_VERSION_LABELS |
Constructor Summary | |
---|---|
HTMLEscapingNodeWrapper(javax.jcr.Node wrapped,
boolean transformLineBreaks)
|
|
HTMLEscapingNodeWrapper(javax.jcr.Node wrapped,
HTMLEscapingContentDecorator decorator)
|
Method Summary | |
---|---|
String |
getName()
|
Methods inherited from class info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper |
---|
addNode, addNode, equals, getAncestor, getContentDecorator, getNode, getNodes, getNodes, getNodes, getParent, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSession, getWeakReferences, getWeakReferences, hashCode, hasNode, hasNodes, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setWrappedNode, wrapNode, wrapNodeIterator, wrapProperty, wrapPropertyIterator, wrapSession |
Methods inherited from class info.magnolia.jcr.wrapper.DelegateNodeWrapper |
---|
accept, addMixin, canAddMixin, cancelMerge, checkin, checkout, clone, deepUnwrap, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getBaseVersion, getCorrespondingNodePath, getDefinition, getDepth, getIdentifier, getIndex, getLock, getMixinNodeTypes, getPath, getPrimaryItem, getPrimaryNodeType, getSharedSet, getUUID, getVersionHistory, getWrappedNode, hasProperties, hasProperty, holdsLock, initClone, isCheckedOut, isLocked, isModified, isNew, isNode, isNodeType, isSame, lock, merge, orderBefore, refresh, remove, removeMixin, removeShare, removeSharedSet, restore, restore, restore, restoreByLabel, save, setPrimaryType, toString, unlock, update |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HTMLEscapingNodeWrapper(javax.jcr.Node wrapped, boolean transformLineBreaks)
public HTMLEscapingNodeWrapper(javax.jcr.Node wrapped, HTMLEscapingContentDecorator decorator)
Method Detail |
---|
public String getName() throws javax.jcr.RepositoryException
getName
in interface javax.jcr.Item
getName
in class DelegateNodeWrapper
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |