Package org.apache.johnzon.jaxrs.xml
Class WadlDocumentToJson
- java.lang.Object
-
- org.apache.johnzon.jaxrs.xml.WadlDocumentToJson
-
public class WadlDocumentToJson extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private jakarta.json.JsonBuilderFactory
builderFactory
-
Constructor Summary
Constructors Constructor Description WadlDocumentToJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addChildrens(jakarta.json.JsonObjectBuilder builder, NodeList children)
String
convert(Document doc)
private jakarta.json.JsonObjectBuilder
createNode(Node node)
-
-
-
Method Detail
-
convert
public String convert(Document doc) throws XMLStreamException
- Throws:
XMLStreamException
-
addChildrens
private void addChildrens(jakarta.json.JsonObjectBuilder builder, NodeList children)
-
createNode
private jakarta.json.JsonObjectBuilder createNode(Node node)
-
-