public interface HeadElement extends Serializable, Cloneable
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.
|
Collection<HeadElement> |
getChildHeadElements()
Returns the collection of the child head elements.
|
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
|
boolean |
hasChildHeadElements()
Checks if the head contribution element contains child head elements.
|
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 |
setTextContent(String textContent)
Sets the text content of the head contribution element.
|
String getTagName()
boolean hasAttribute(String name)
name
- String getAttribute(String name)
name
- Map<String,String> getAttributeMap()
void setAttribute(String name, String value)
name
- value
- String removeAttribute(String name)
name
- String getTextContent()
void setTextContent(String textContent)
textContent
- boolean hasChildHeadElements()
Collection<HeadElement> getChildHeadElements()
Object clone() throws CloneNotSupportedException
CloneNotSupportedException
Object.clone()
Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.