public class WrapperElementImpl extends Object implements WrapperElement
Constructor and Description |
---|
WrapperElementImpl() |
WrapperElementImpl(Element element) |
WrapperElementImpl(String tagName) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getAttribute(String name)
Returns the attribute value of the head contribution element specified by the attribute name.
|
Map<String,String> |
getAttributeMap()
Returns unmodifiable attribute map of the head contribution element.
|
String |
getTagName()
Return the tag name of the head contribution element
|
String |
getTextContent()
Returns the text content of the head contribution element.
|
boolean |
hasAttribute(String name)
Checks if the head contribution element has the attribute specified by the attribute name
|
String |
removeAttribute(String name)
Removes the attribute from the head contribution element specified by the attribute name.
|
void |
setAttribute(String name,
String value)
Sets attribute on the head contribution element.
|
void |
setTagName(String tagName) |
void |
setTextContent(String textContent)
Sets the text content of the head contribution element.
|
public WrapperElementImpl()
public WrapperElementImpl(String tagName)
public WrapperElementImpl(Element element)
public String getTagName()
WrapperElement
getTagName
in interface WrapperElement
public void setTagName(String tagName)
public boolean hasAttribute(String name)
WrapperElement
hasAttribute
in interface WrapperElement
public String getAttribute(String name)
WrapperElement
getAttribute
in interface WrapperElement
public Map<String,String> getAttributeMap()
WrapperElement
getAttributeMap
in interface WrapperElement
public void setAttribute(String name, String value)
WrapperElement
setAttribute
in interface WrapperElement
public String removeAttribute(String name)
WrapperElement
removeAttribute
in interface WrapperElement
public String getTextContent()
WrapperElement
getTextContent
in interface WrapperElement
public void setTextContent(String textContent)
WrapperElement
setTextContent
in interface WrapperElement
public Object clone() throws CloneNotSupportedException
clone
in interface WrapperElement
clone
in class Object
CloneNotSupportedException
Object.clone()
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.