Package | Description |
---|---|
org.rvpf.base.security | |
org.rvpf.base.xml |
Basic XML support.
|
org.rvpf.base.xml.streamer |
XStream XML serialization.
|
org.rvpf.document.exporter |
Export of configuration and metadata documents.
|
org.rvpf.http |
HTTP server modules container.
|
org.rvpf.metadata |
Metadata entities definition.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
Crypt.load(XMLDocument xmlDocument,
String origin,
boolean verify,
String[] verifyKeyIdents,
boolean decrypt,
String[] decryptKeyIdents)
Loads the content from a file.
|
Modifier and Type | Method and Description |
---|---|
static XMLDocument |
XMLDocument.load(File file)
Loads an XML document from a file.
|
static XMLDocument |
JSONSupport.load(File file)
Loads an XML document from a JSON file.
|
static XMLDocument |
XMLDocument.load(URL url,
Optional<String> encoding)
Loads an XML document from a URL.
|
static XMLDocument |
JSONSupport.load(URL url,
Optional<String> encoding)
Loads an XML document from a JSON URL.
|
Modifier and Type | Method and Description |
---|---|
static String |
JSONSupport.toJSON(XMLDocument source)
Converts an XML document to a JSON string.
|
static void |
JSONSupport.toJSON(XMLDocument source,
Writer writer)
Converts an XML document to JSON writer.
|
Modifier and Type | Method and Description |
---|---|
Streamer.Input |
Streamer.newInput(XMLDocument xmlDocument)
Returns a new input.
|
Modifier and Type | Method and Description |
---|---|
static XMLDocument |
MetadataExporter.export(Metadata metadata,
Optional<Set<String>> usages,
Optional<Set<String>> langs,
boolean secure)
Exports the metadata.
|
protected XMLDocument |
XMLExporter.getDocument()
Gets the XML document.
|
Modifier and Type | Method and Description |
---|---|
protected XMLDocument |
AbstractServlet.parseRequest(HttpServletRequest request,
HttpServletResponse response)
Parses the document contained in a POST request.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
AbstractServlet.sendGetResponse(HttpServletRequest request,
HttpServletResponse response,
XMLDocument responseDocument)
Sends a response.
|
protected static void |
AbstractServlet.sendPostResponse(HttpServletRequest request,
HttpServletResponse response,
XMLDocument responseDocument)
Sends a response.
|
Modifier and Type | Method and Description |
---|---|
XMLDocument |
Metadata.toXML()
Converts to XML.
|
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.