public interface XMLServices
Modifier and Type | Method and Description |
---|---|
default Stream<Node> |
asStream(NodeList list)
|
default FluentNode |
attr(String name)
|
default FluentNode |
attr(String name,
String value)
|
default FluentNode |
cdata(String data)
|
default FluentNode |
comment(String data)
|
FluentDocument |
document() |
default FluentNode |
element(String name,
Node... nodes)
|
default FluentNode |
element(String name,
Stream<Node> stream)
|
default FluentNode |
fragment(Node... nodes)
|
default FluentNode |
fragment(Stream<Node> stream)
|
default FluentNode |
text(String content)
|
FluentDocument document()
default FluentNode fragment(Stream<Node> stream)
stream
- The Stream
of Node
s to
append to the newly created
DocumentFragment
.DocumentFragment
.default FluentNode fragment(Node... nodes)
nodes
- The Node
s to append to the newly
created
DocumentFragment
.DocumentFragment
.default FluentNode element(String name, Stream<Node> stream)
default FluentNode element(String name, Node... nodes)
default FluentNode attr(String name)
default FluentNode attr(String name, String value)
default FluentNode text(String content)
default FluentNode cdata(String data)
data
- The CDATASection
data.CDATASection
.default FluentNode comment(String data)
Copyright © 2015–2020 Allen D. Ball. All rights reserved.