Class HeadElement
java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.output.freemarker.postprocessing.HeadElement
Represents the head element of an HTML document.
This head element is immutable. All writing methods return a new instance.
-
Constructor Summary
ConstructorDescriptionHeadElement
(String content) HeadElement
(String content, String startTag, String endTag) -
Method Summary
Modifier and TypeMethodDescriptionappendLine
(String line) Get a new head element with the given line appended.boolean
int
hashCode()
toString()
-
Constructor Details
-
HeadElement
public HeadElement() -
HeadElement
-
HeadElement
-
-
Method Details
-
appendLine
Get a new head element with the given line appended.- Parameters:
line
- The line to append.- Returns:
- a new head element with the line appended.
-
toString
-
equals
-
hashCode
public int hashCode()
-