public class RdfXml extends CharMarshall
RdfXmlSerializer and RdfXmlParser into a single class with convenience read/write methods.
The general idea is to combine a single serializer and parser inside a simplified API for reading and writing POJOs.
| Modifier and Type | Field and Description |
|---|---|
static RdfXml |
DEFAULT
Default reusable instance.
|
| Constructor and Description |
|---|
RdfXml()
Constructor.
|
RdfXml(RdfXmlSerializer s,
RdfXmlParser p)
Constructor.
|
public RdfXml(RdfXmlSerializer s, RdfXmlParser p)
s - The serializer to use for serializing output.
p - The parser to use for parsing input.
public RdfXml()
Uses RdfXmlSerializer.DEFAULT and RdfXmlParser.DEFAULT.
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.