Public Member Functions | |
_.Library.Status | OnClose () |
This callback method is invoked by the <METHOD>Close</METHOD> method to. More... | |
_.Library.Status | OnNew (_.Library.String params) |
Make sure the PPG is empty. | |
_.Library.Status | BufferString (_.Library.String data) |
Buffer data in the PPG. | |
_.Library.Status | Convert () |
_.Library.String | NextConvertedPart () |
Loop through the PPG again and return processed strings. | |
_.Library.Status | SetParams (_.Library.String params) |
![]() | |
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
This callback method is invoked when the current object is added to the SaveSet,. More... | |
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More... | |
_.Library.Status | OnNew () |
This callback method is invoked by the <METHOD>New</METHOD> method to. More... | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
Static Public Member Functions | |
_.Library.String | StripHTML (_.Library.String pText, _.Library.Boolean pUnescape, _.Library.String pSkipTags, _.Library.Boolean pBreakLines, _.Library.Status pSC) |
Utility method to strip HTML tags from the supplied string. More... | |
![]() | |
_.Library.List | GetMetadataKeys (_.Library.String params) |
If the Converter extracts metadata, this method should return a list of keys of the metadata fields that are. More... | |
_.Library.String | Test (_.Library.String pInput, _.Library.List pParams, _.Library.Status pSC) |
Utility method to test a converter class. More... | |
Public Attributes | |
BreakLines | |
More... | |
SkipTags | |
More... | |
Unescape | |
More... | |
![]() | |
Params | |
More... | |
Additional Inherited Members | |
![]() | |
CAPTION = None | |
Optional name used by the Form Wizard for a class when generating forms. More... | |
JAVATYPE = None | |
The Java type to be used when exported. | |
PROPERTYVALIDATION = None | |
This parameter controls the default validation behavior for the object. More... | |
This is a sample implementation for <class>iKnow.Source.Converter</class>, designed to weed out HTML tags from plain text input. Data is first buffered into a process-private global and stripped of HTML in the <method>Convert</method> call.
Converter parameters:
_.Library.Status OnClose | ( | ) |
This callback method is invoked by the <METHOD>Close</METHOD> method to.
provide notification that the current object is being closed.
The return value of this method is ignored.
Reimplemented from RegisteredObject.
_.Library.Status Convert | ( | ) |
Loop through buffered data and strip off HTML tags. Reset the pointer in the root
PPG node at the end, for <method>NextConverterdPart</method> to know where to start.
Reimplemented from Converter.
_.Library.Status SetParams | ( | _.Library.String | params | ) |
Utility method called by the <class>iKnow.Source.Processor</class> and <class>iKnow.Source.Loader</class>
logic to register any new or changed parameter values.
Reimplemented from Converter.
|
static |
Utility method to strip HTML tags from the supplied string.
See the class documentation
for more details on the available parameters.
BreakLines |
SkipTags |
Unescape |