Changes for page REST API
Last modified by Thomas Mortagne on 2022/08/08
Change comment:
Update document after refactoring.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -Features.WebHome 1 +xwiki:Documentation.UserGuide.Features.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. evalica1 +XWiki.VincentMassol
- XWiki.XWikiComments[3]
-
- Comment
-
... ... @@ -1,9 +1,5 @@ 1 1 In Eclipse, you can right click on an xsd file, like the xsd for the REST api [[described here>>XWikiRESTfulAPI#HXWikiRESTfulAPIDocumentation]], and choose "Generate->JAXB classes". 2 2 3 3 Whatever package that you choose to generate them in, you would use in the 4 -{{code language="java"}} 5 -context = JAXBContext.newInstance("org"); 6 -{{/code}} 4 +{{code language="java"}}context = JAXBContext.newInstance("org");{{/code}} 7 7 In the examples I gave, I just generated them under a package called "org", mostly due to extreme laziness. So I ended up with org.Page, org.ObjectFactory, org.Space and so on. 8 - 9 -
- XWiki.XWikiComments[6]
-
- Comment
-
... ... @@ -5,4 +5,3 @@ 5 5 6 6 This allows to render the XWiki HTML content in a third party system, while keeping the content management in XWiki. 7 7 Perhaps this helps from manual translation of XWiki to HTML 8 -