2025
27.0Version 27.0 - November 27, 2024
What's New in Oxygen SDK 27
November 27, 2024
Oxygen XML SDK version 27.0 adds a variety of new API methods.
API Additions
Create Radio Button and Checkbox Menu Item
Two new methods were added to the
OxygenUIComponentsFactory
API. The
createRadioMenuItem(Action)
method can be used to create a radio button
component, while the createCheckBoxMenuItem(Action)
method can be used to
create a checkbox menu item.Create Lightweight Author Preview Component
A new
StandalonePluginWorkspace.createAuthorPreviewComponentProvider()
API
was added to create a simple read-only preview component based on the Author visual editor
that can be used to render XML documents visually (for example, in a side
view).Search in Project
A new
ProjectIndexer.search(String, int)
API method was added
that allows searching for keywords in the current indexed project to retrieve documents
that contain the keywords.Obtain XPath for Element at Certain Location
A new
WSXMLTextEditorPage.getXPath(int, boolean)
API method was
added that can be used to obtain the XPath expression for an element at a certain location
in the XML text editor.Access the Current Editor Components
A new
ro.sync.exml.workspace.api.componentscollector.IComponentsProvider.getAllComponents(URL)
method was added for obtaining the global components from the current editor. It can be
obtained from the PluginWorkspace.getComponentProvider()
API.Provide Information About XSLT Components
A new
ro.sync.exml.workspace.api.componentscollector.IXSLComponentInfo
API adds two methods (getMatch
and getMode
) for
providing more accurate information about XSLT components.Get XML Structure as DTD
A new
XMLUtilAccess.getXMLStructureAsDTD
API method was added to
get the structure of the specified XML document as a DTD.Provide Reader for Validating Resources
A new
ValidationUtilAccess.validateResources
API method was added
to provide a reader for validation problems.