Class Document
java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.output.freemarker.postprocessing.Document
Represents an HTML document.
This document is immutable. All writing methods return a new instance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
Get the head element of this document.headElement
(HeadElement headElement) Returns a new document with the new head element.toString()
-
Constructor Details
-
Document
-
-
Method Details
-
headElement
Get the head element of this document.- Returns:
- the found head element.
-
headElement
Returns a new document with the new head element.- Parameters:
headElement
- the head element to set.- Returns:
- a new document with the new head element.
- Throws:
DocumentException
- if the head element could not be set.
-
toString
-
equals
-
hashCode
public int hashCode()
-