SAP ABAP Class CL_XSLT_PROCESSOR (XSLT processor)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-XML (Application Component) ABAP XML Processing
⤷
SXSLT (Package) SAP XSLT Processor
⤷
⤷
Properties
| Class | CL_XSLT_PROCESSOR | |
| Short Description | XSLT processor | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SXSLT | SAP XSLT Processor |
| Created | 20000904 | SAP |
| Last change | 20041208 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_XSLT_PROCESSOR has no interface implemented.
Friends
Class CL_XSLT_PROCESSOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML | iXML instance (singleton) | 20010205 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | iXML node collection | 20010111 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | %_C_POINTER | pointer to kernel mirror object | 20000904 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | constructor | 20000904 | |
| 2 | Instance method | Public | Destructor | destructor (internal, not at end of mode) | 20001113 | |
| 3 | Instance method | Public | Method | get message by index | 20000904 | |
| 4 | Instance method | Public | Method | get iXML node collection computed by XPath expression | 20010110 | |
| 5 | Instance method | Public | Method | get number of messages from last run | 20000904 | |
| 6 | Instance method | Public | Method | output result document to iXML output stream | 20001222 | |
| 7 | Instance method | Public | Method | output result document to string | 20000904 | |
| 8 | Instance method | Public | Method | output result document to URI | 20000904 | |
| 9 | Instance method | Public | Method | run processor | 20000904 | |
| 10 | Instance method | Public | Method | set XPath expression to be computed | 20010110 | |
| 11 | Instance method | Public | Method | set result context to ABAP variable(s) | 20001210 | |
| 12 | Instance method | Public | Method | set result context to iXML document | 20000904 | |
| 13 | Instance method | Public | Method | set result context to iXML output stream | 20010329 | |
| 14 | Instance method | Public | Method | set result context to string | 20010508 | |
| 15 | Instance method | Public | Method | set result context to internal table | 20010508 | |
| 16 | Instance method | Public | Method | set result context to binary string | 20010814 | |
| 17 | Instance method | Public | Method | set source context to ABAP variable(s) | 20001210 | |
| 18 | Instance method | Public | Method | set source context to iXML node | 20000904 | |
| 19 | Instance method | Public | Method | set source context to iXML document by input stream | 20000905 | |
| 20 | Instance method | Public | Method | set source context to string | 20001222 | |
| 21 | Instance method | Public | Method | set source context to internal table | 20010507 | |
| 22 | Instance method | Public | Method | set source context to iXML document by URI | 20000904 | |
| 23 | Instance method | Public | Method | set source context to binary string | 20010814 |
Events
Class CL_XSLT_PROCESSOR has no event.
Types
Class CL_XSLT_PROCESSOR has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_XSLT_PROCESSOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001221 |
Method DESTRUCTOR Signature
Method DESTRUCTOR on class CL_XSLT_PROCESSOR has no parameter.
Method DESTRUCTOR on class CL_XSLT_PROCESSOR has no exception.
Method GET_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INDEX | Call by reference | Type reference (TYPE) | I | Nachrichtenindex | 20000904 | |||
| 2 | MTEXT | Call by reference | Type reference (TYPE) | STRING | Nachrichtentext | 20000904 |
Method GET_MESSAGE on class CL_XSLT_PROCESSOR has no exception.
Method GET_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODES | Value transfer | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | iXML-Knotensammlung | 20010110 |
Method GET_NODES on class CL_XSLT_PROCESSOR has no exception.
Method NUM_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RVAL | Value transfer | Type reference (TYPE) | I | Anzahl Nachrichten | 20000904 |
Method NUM_MESSAGES on class CL_XSLT_PROCESSOR has no exception.
Method OUTPUT_STREAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STREAM | Call by reference | Object reference (TYPE REF TO) | IF_IXML_OSTREAM | iXML-Ausgabestrom | 20001222 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001222 |
Method OUTPUT_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OSTRING | Call by reference | Type reference (TYPE) | STRING | Ziel-String | 20000904 |
Method OUTPUT_STRING on class CL_XSLT_PROCESSOR has no exception.
Method OUTPUT_URI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | URI | Call by reference | Type reference (TYPE) | STRING | URI | 20000904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001222 |
Method RUN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSGBUFFERSIZE | Value transfer | Type reference (TYPE) | I | -1 | Nachrichtenpuffergröße (-1: unbegrenzt) | 20001215 | ||
| 2 | OBJPARAMETERS | Call by reference | Type reference (TYPE) | SXSLTOPARS | Objektparameter | 20010104 | |||
| 3 | PARAMETERS | Call by reference | Type reference (TYPE) | SXSLTPARS | Parameter | 20000904 | |||
| 4 | PROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | Programmname | 20001211 | |||
| 5 | RVAL | Value transfer | Type reference (TYPE) | I | Rückgabewert | 20000904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20010208 |
Method SET_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXPRESSION | Call by reference | Type reference (TYPE) | STRING | XPath-Ausdruck | 20010110 | |||
| 2 | NSDECLARATIONS | Call by reference | Type reference (TYPE) | STRING | '' | Namensraumdeklarationen | 20010110 | ||
| 3 | PARAMETERS | Call by reference | Type reference (TYPE) | SXSLTEPARS | Ausdrucksparameter | 20010110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20010208 |
Method SET_RESULT_ABAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BINDINGS | Call by reference | Type reference (TYPE) | SXSLTBINDS | SXSLT: ABAP / XML Bindings | 20010103 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001221 |
Method SET_RESULT_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | iXML-Dokument | 20000904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001221 |
Method SET_RESULT_STREAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STREAM | Call by reference | Object reference (TYPE REF TO) | IF_IXML_OSTREAM | iXML-Ausgabestrom | 20010329 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20010329 |
Method SET_RESULT_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RSTRING | Call by reference | Object reference (TYPE REF TO) | STRING | Ergebnis-String (Referenz) | 20010508 |
Method SET_RESULT_STRING on class CL_XSLT_PROCESSOR has no exception.
Method SET_RESULT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Tabelle | 20010508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20010508 |
Method SET_RESULT_XSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RSTRING | Call by reference | Object reference (TYPE REF TO) | XSTRING | Ergebnis-String (Referenz) | 20010814 |
Method SET_RESULT_XSTRING on class CL_XSLT_PROCESSOR has no exception.
Method SET_SOURCE_ABAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BINDINGS | Call by reference | Type reference (TYPE) | SXSLTBINDS | SXSLT: ABAP / XML bindings | 20011120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001221 |
Method SET_SOURCE_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IDS_ARE_ORDERED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | node IDs are in document order y/n | 20011011 | ||
| 2 | NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | iXML-Knoten | 20000904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001221 |
Method SET_SOURCE_STREAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P | Call by reference | Type reference (TYPE) | STRING | '' | Interne Verwendung | 20001211 | ||
| 2 | STREAM | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ISTREAM | iXML-Eingabestrom | 20000905 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001221 |
Method SET_SOURCE_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SSTRING | Call by reference | Type reference (TYPE) | STRING | Quell-String | 20001222 |
Method SET_SOURCE_STRING on class CL_XSLT_PROCESSOR has no exception.
Method SET_SOURCE_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Tabelle | 20010507 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20010508 |
Method SET_SOURCE_URI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | URI | Call by reference | Type reference (TYPE) | STRING | Programm-URI | 20000904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001221 |
Method SET_SOURCE_XSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SSTRING | Call by reference | Type reference (TYPE) | XSTRING | Quell-String | 20010814 |
Method SET_SOURCE_XSTRING on class CL_XSLT_PROCESSOR has no exception.
History
| Last changed by/on | SAP | 20041208 |
| SAP Release Created in | 50A |