|
|
|
RoxenLib
com.roxen.roxen
|
Method Summary | |
static java.lang.String |
doOutputTag(java.util.Map args,
java.util.Map[] varArr,
java.lang.String contents,
RoxenRequest id)
Produce repeated output with variable subsitutions. |
static java.lang.String |
htmlDecodeString(java.lang.String str)
Decoded HTML entities. |
static java.lang.String |
htmlEncodeString(java.lang.String str)
Quotes characters that are unallowed in HTML text or attributes. |
static java.lang.String |
makeContainer(java.lang.String s,
java.util.Map in,
java.lang.String contents)
Creates an HTML/XML tag with content given the tag name and attributes |
static java.lang.String |
makeEmptyElemTag(java.lang.String s,
java.util.Map in)
Creates an XML empty element tag given the tag name and attributes |
static java.lang.String |
makeTag(java.lang.String s,
java.util.Map in)
Creates an HTML tag given the tag name and attributes |
static java.lang.String |
makeTagAttributes(java.util.Map in)
Formats key and value paris for use as HTML tag attributes. |
static java.lang.String |
parseRXML(java.lang.String what,
RoxenRequest id)
Perform RXML parsing on a string |
Methods inherited from class com.roxen.roxen.HTTP |
httpAuthRequired,
httpAuthRequired,
httpEncodeString,
httpFileAnswer,
httpFileAnswer,
httpFileAnswer,
httpFileAnswer,
httpFileAnswer,
httpFileAnswer,
httpFileAnswer,
httpFileAnswer,
httpFileAnswer,
httpLowAnswer,
httpLowAnswer,
httpProxyAuthRequired,
httpProxyAuthRequired,
httpRedirect,
httpRXMLAnswer,
httpRXMLAnswer,
httpStringAnswer,
httpStringAnswer |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
The following characters are replaced with HTML entities: &, <, >, ", ', NUL.
str
- the string to quoteAll HTML 4.0 entities are replaced with their literal equivalent.
str
- the string to unquoteThis method is used to create tags such as database query tags, where zero or more results in the form of variable bindings are applied to a fixed template, and the results of the subsitutions are concatenated to form the total result.
args
- attributes for the output tag itselfvarArr
- an array of variable subsitution mappingscontents
- body text in which to substitute variablesid
- a request object associated with the parsewhat
- the RXML code to parseid
- a request object associated with the parsein
- map from attribute name to attribute values
- name of tag elementin
- map from attribute name to attribute values
- name of tag elementin
- map from attribute name to attribute values
- name of tag elementin
- map from attribute name to attribute valuecontents
- the text contents of the tag