| Constructor and Description |
|---|
XmlExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
check(Root rootNode,
ExtensionParameters parameters)
Calls the extension to check Zserio tree.
|
java.lang.String |
getExtensionVersion()
Returns the version of Zserio extension.
|
java.lang.String |
getName()
Gets name of the extension.
|
java.lang.String |
getZserioVersion()
Returns the version of Zserio core which is expected by the extension.
|
boolean |
isEnabled(ExtensionParameters parameters)
Calls to check if the extension is enabled or not.
|
void |
process(Root rootNode,
ExtensionParameters parameters)
Calls the extension to process Zserio tree.
|
void |
registerOptions(org.apache.commons.cli.Options options)
Registers all command line options that extension accepts.
|
public java.lang.String getName()
Extensionpublic java.lang.String getExtensionVersion()
ExtensiongetExtensionVersion in interface Extensionpublic java.lang.String getZserioVersion()
ExtensiongetZserioVersion in interface Extensionpublic void registerOptions(org.apache.commons.cli.Options options)
ExtensionregisterOptions in interface Extensionoptions - Instance where the options should be registered.public boolean isEnabled(ExtensionParameters parameters)
Extensionpublic void check(Root rootNode, ExtensionParameters parameters) throws ZserioExtensionException
Extensioncheck in interface ExtensionrootNode - The root node of Zserio tree to check.parameters - The parameters to pass to extension.ZserioExtensionException - In case of any error in extension.public void process(Root rootNode, ExtensionParameters parameters) throws ZserioExtensionException
Extensionprocess in interface ExtensionrootNode - The root node of Zserio tree to process.parameters - The parameters to pass to extension.ZserioExtensionException - In case of any error in extension.Last updated 2024-10-29 12:56:13