R.rsp (version 0.42.0)

RspLanguage: The RspLanguage class

Description

Package: R.rsp Class RspLanguage

Object ~~| ~~+--RspLanguage

Directly known subclasses: HtmlRspLanguage

public static class RspLanguage extends Object

An RspLanguage object specifies what the markup language of the response/output document is, e.g. plain text and HTML. The RspLanguage class provides methods to obtain language specific strings/output such as how newlines and comments are written. The RspLanguage class describes a plain text languages. For HTML see the HtmlRspLanguage subclass.

Usage

RspLanguage(language="plain", ...)

Arguments

language

A character string.

...

Not used.

Fields and Methods

Methods:

escape Escapes a string specifically for a given RSP response language.
getComment Gets a comment string specific for a given RSP response language.
getLanguage Gets the language string.
getNewline Gets the newline string specific for a given RSP response language.
getVerbatim Gets a verbatim string specific for a given RSP response language.

Methods inherited from Object: $, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clearLookupCache, clone, detach, equals, extend, finalize, getEnvironment, getFieldModifier, getFieldModifiers, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, names, objectSize, print, save