public class WadlDocumentToJson extends Object
| Modifier and Type | Field and Description |
|---|---|
private javax.json.JsonBuilderFactory |
builderFactory |
| Constructor and Description |
|---|
WadlDocumentToJson() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addChildrens(javax.json.JsonObjectBuilder builder,
NodeList children) |
String |
convert(Document doc) |
private javax.json.JsonObjectBuilder |
createNode(Node node) |
public String convert(Document doc) throws XMLStreamException
XMLStreamExceptionprivate void addChildrens(javax.json.JsonObjectBuilder builder,
NodeList children)
private javax.json.JsonObjectBuilder createNode(Node node)
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.