public interface ContentRewritingContext
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Returns the value of the named attribute as an
Object,
or null if no attribute of the given name exists. |
Map<String,Object> |
getAttributesMap()
Returns a
Map containing the attributes available. |
boolean |
hasAttribute(String name)
Returns true if the named attribute exists.
|
void |
removeAttribute(String name)
Removes an attribute from this context.
|
void |
setAttribute(String name,
Object value)
Stores an attribute in this context.
|
boolean hasAttribute(String name)
name - Object getAttribute(String name)
Object,
or null if no attribute of the given name exists.name - Map<String,Object> getAttributesMap()
Map containing the attributes available.
This method returns an empty Map
if there's no attributes available to it.void setAttribute(String name, Object value)
name - value - void removeAttribute(String name)
name - Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.