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
XMLStreamException
private void addChildrens(javax.json.JsonObjectBuilder builder, NodeList children)
private javax.json.JsonObjectBuilder createNode(Node node)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.