Oracle Beehive
  Oracle® Beehive RESTful Web Services API Reference
  Release 2 (2.0.1.7)
  E16658-04

Contents

Overview

Resource WikiRenderContext is used to instruct the Wiki service on how to render a WikiPage in xhtml or creole markup.
There are four different modes for rendering a WikiPage:
Part of the process of producing xhtml from a Wiki page is rendering links in the WikiPage to XHTML Hrefs. That transformation is performed in the following steps:

Members

Name Type Description

HREFContexts

hrefContext[]

The set of HRefContexts used for rendering Markup link syntax into HRefs.

mode

wikiRenderMode

The mode in which to render the WikiPage, either FULL, STATIC_ONLY, EDIT_CREOLE or EDIT_XHTML

Hierarchy

Examples

Below are examples in JSON and XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:wikiRenderContext xsi:type="obh:wikiRenderContext" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:HREFContexts>your_hrefContext_0</obh:HREFContexts>
        <obh:HREFContexts>your_hrefContext_1</obh:HREFContexts>
        <obh:HREFContexts>your_hrefContext_2</obh:HREFContexts>
        <obh:mode>your_wikiRenderMode_0</obh:mode>
</obh:wikiRenderContext>

JSON Example

(show inherited members)

{
    "beeType":"wikiRenderContext",
        "HREFContexts":[
            { your_{http://www.oracle.com/beehive}HREFContexts_as_hrefContext0 },
            { your_{http://www.oracle.com/beehive}HREFContexts_as_hrefContext1 },
            { your_{http://www.oracle.com/beehive}HREFContexts_as_hrefContext2 }
        ],
        "mode":{ your_{http://www.oracle.com/beehive}mode_as_wikiRenderMode0 }
}

XML Schema


<xs:complexType name="wikiRenderContext">
    <xs:sequence>
        <xs:element maxOccurs="unbounded" minOccurs="0"
            name="HREFContexts" nillable="true" type="tns:hrefContext"/>
        <xs:element minOccurs="0" name="mode" type="tns:wikiRenderMode"/>
    </xs:sequence>
</xs:complexType>

        

References

The following data represents the references to wikiRenderContext

Referenced By Resources

Usage Resource Method
Response Wiki Page Get Default Render Context
Request Wiki Page Render Page

Referenced By Representaions

Not Referenced Directly by Representations