HtmlSerializerNormalizedText
instead@Deprecated public class HtmlSerializer extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
HtmlSerializer.HtmlSerializerTextBuilder
Deprecated.
|
Constructor and Description |
---|
HtmlSerializer()
Deprecated.
|
public String asText(DomNode node)
node
- a nodeprotected void appendChildren(HtmlSerializer.HtmlSerializerTextBuilder builder, DomNode node)
builder
- the StringBuilder to add tonode
- the node to processprotected void appendNode(HtmlSerializer.HtmlSerializerTextBuilder builder, DomNode node)
builder
- the StringBuilder to add tonode
- the node to processprotected void appendDomNode(HtmlSerializer.HtmlSerializerTextBuilder builder, DomNode domNode)
HtmlHiddenInput
.builder
- the StringBuilder to add todomNode
- the target to processprotected void appendHiddenInput(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlHiddenInput htmlHiddenInput)
HtmlHiddenInput
.builder
- the StringBuilder to add tohtmlHiddenInput
- the target to processprotected void appendScript(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlScript htmlScript)
HtmlScript
.builder
- the StringBuilder to add tohtmlScript
- the target to processprotected void appendStyle(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlStyle htmlStyle)
HtmlStyle
.builder
- the StringBuilder to add tohtmlStyle
- the target to processprotected void appendNoScript(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlNoScript htmlNoScript)
HtmlNoScript
.builder
- the StringBuilder to add tohtmlNoScript
- the target to processprotected void appendNoFrames(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlNoFrames htmlNoFrames)
HtmlNoFrames
.builder
- the StringBuilder to add tohtmlNoFrames
- the target to processprotected void appendSubmitInput(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlSubmitInput htmlSubmitInput)
HtmlSubmitInput
.builder
- the StringBuilder to add tohtmlSubmitInput
- the target to processprotected void appendInput(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlInput htmlInput)
HtmlInput
.builder
- the StringBuilder to add tohtmlInput
- the target to processprotected void appendResetInput(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlResetInput htmlResetInput)
HtmlResetInput
.builder
- the StringBuilder to add tohtmlResetInput
- the target to processprotected void appendUnorderedList(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlUnorderedList htmlUnorderedList)
HtmlUnorderedList
.builder
- the StringBuilder to add tohtmlUnorderedList
- the target to processprotected void appendTitle(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlTitle htmlTitle)
HtmlTitle
.builder
- the StringBuilder to add tohtmlTitle
- the target to processprotected void appendTableRow(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlTableRow htmlTableRow)
HtmlTableRow
.builder
- the StringBuilder to add tohtmlTableRow
- the target to processprotected void appendTextArea(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlTextArea htmlTextArea)
HtmlTextArea
.builder
- the StringBuilder to add tohtmlTextArea
- the target to processprotected void appendTable(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlTable htmlTable)
HtmlTable
.builder
- the StringBuilder to add tohtmlTable
- the target to processprotected boolean appendTableRows(HtmlSerializer.HtmlSerializerTextBuilder builder, List<HtmlTableRow> rows, boolean first, TableRowGroup skipParent1, TableRowGroup skipParent2)
HtmlTableRow
.builder
- the StringBuilder to add torows
- the rowsfirst
- if true this is the first oneskipParent1
- skip row if the parent is thisskipParent2
- skip row if the parent is thisprotected void appendSelect(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlSelect htmlSelect)
HtmlSelect
.builder
- the StringBuilder to add tohtmlSelect
- the target to processprotected void appendOrderedList(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlOrderedList htmlOrderedList)
HtmlOrderedList
taking care to numerate it.builder
- the StringBuilder to add tohtmlOrderedList
- the OL elementprotected void appendPreformattedText(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlPreformattedText htmlPreformattedText)
HtmlPreformattedText
.builder
- the StringBuilder to add tohtmlPreformattedText
- the target to processprotected void appendInlineFrame(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlInlineFrame htmlInlineFrame)
HtmlInlineFrame
.builder
- the StringBuilder to add tohtmlInlineFrame
- the target to processprotected void appendText(HtmlSerializer.HtmlSerializerTextBuilder builder, DomText domText)
DomText
.builder
- the StringBuilder to add todomText
- the target to processprotected void appendComment(HtmlSerializer.HtmlSerializerTextBuilder builder, DomComment domComment)
DomComment
.builder
- the StringBuilder to add todomComment
- the target to processprotected void appendApplet(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlApplet htmlApplet)
HtmlApplet
.builder
- the StringBuilder to add tohtmlApplet
- the target to processprotected void appendBreak(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlBreak htmlBreak)
HtmlBreak
.builder
- the StringBuilder to add tohtmlBreak
- the target to processprotected void doAppendCheckBoxInput(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlCheckBoxInput htmlCheckBoxInput)
HtmlCheckBoxInput
.builder
- the StringBuilder to add tohtmlCheckBoxInput
- the target to processprotected void doAppendRadioButtonInput(HtmlSerializer.HtmlSerializerTextBuilder builder, HtmlRadioButtonInput htmlRadioButtonInput)
HtmlRadioButtonInput
.builder
- the StringBuilder to add tohtmlRadioButtonInput
- the target to processpublic void setIgnoreMaskedElements(boolean ignore)
ignore
- indicates if masked elements should be ignored or notCopyright © 2002–2021 Gargoyle Software Inc.. All rights reserved.