R.rsp (version 0.46.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:

escapeEscapes a string specifically for a given RSP response language.
getCommentGets a comment string specific for a given RSP response language.
getLanguageGets the language string.
getNewlineGets the newline string specific for a given RSP response language.
getVerbatimGets 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

Author

Henrik Bengtsson