Package com.scroogexhtml.xmldom
Class HeadElementBuilder
java.lang.Object
com.scroogexhtml.xmldom.HeadElementBuilder
This class returns the HTML head element.
The values come from the integrator's configuration, not from the RTF. As a
defence in depth, characters XML does not allow are removed from all of
them, a style sheet link must pass UrlSanitizer.forStyleSheet(String),
and a </style in the style element's text cannot end the element.
-
Constructor Summary
ConstructorsConstructorDescriptionHeadElementBuilder(ConversionConfiguration configuration, HtmlHeadConfiguration htmlHeadConfiguration, Document document) -
Method Summary
Modifier and TypeMethodDescriptionvoidfillHead()static StringgetDefaultFontStyleDefinition(ConversionConfiguration configuration)
-
Constructor Details
-
HeadElementBuilder
public HeadElementBuilder(ConversionConfiguration configuration, HtmlHeadConfiguration htmlHeadConfiguration, Document document)
-
-
Method Details
-
getDefaultFontStyleDefinition
-
fillHead
public void fillHead()
-