SAP ABAP Class CL_IGS_IMAGE_CONVERTER (Internet Graphics Service: Image Converter)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-FES-GRA (Application Component) Graphic
⤷
SPIG (Package) Graphic
⤷
⤷
Properties
| Class | CL_IGS_IMAGE_CONVERTER | |
| Short Description | Internet Graphics Service: Image Converter | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SPIG | Graphic |
| Created | 20030811 | SAP |
| Last change | 20030811 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_IGS_IMAGE_CONVERTER has no forward declaration.
Interfaces
Class CL_IGS_IMAGE_CONVERTER has no interface implemented.
Friends
Class CL_IGS_IMAGE_CONVERTER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | STRING | URL for HTTP GET | 20030811 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | I | Output Height of Image | 20030811 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | STRING | Input Image: MIME Type | 20030811 | |||
| 4 | Static Attribute | Public | Type reference (TYPE) | CHAR40 | 'IMGCONV' | IGS Interpreter Type | 20030818 | ||
| 5 | Instance attribute | Private | Type reference (TYPE) | T_BLOB | Type for BLOB | 20030811 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | T_BLOBS | Table of BLOBs | 20051115 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | Error Code | 20030811 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | STRING | Error Text | 20030811 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_IGS_DATA | Data Transport to IGS | 20030811 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | CHAR32 | IGS RFC Destination | 20030811 | |||
| 11 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML | IXML Interface | 20030811 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_STREAM_FACTORY | IXML Stream Interface | 20030811 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | STRING | Output Image: MIME Type | 20030811 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | STRING | URL for HTTP PUT | 20030811 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | I | Output Width of Image | 20030811 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20030811 | |
| 2 | Instance method | Public | Method | Converts Image | 20030811 | |
| 3 | Instance method | Public | Method | Returns Error | 20030811 | |
| 4 | Instance method | Public | Method | Gets Result Image(s) if BLOB Interface Is Used | 20030811 | |
| 5 | Instance method | Public | Method | Returns Number of Result Images | 20051115 | |
| 6 | Instance method | Private | Method | Parses the Meta XML | 20030811 | |
| 7 | Instance method | Private | Method | Renders the Meta XML | 20030811 | |
| 8 | Instance method | Public | Method | Sets Image if BLOB Interface Is Used | 20030811 |
Events
Class CL_IGS_IMAGE_CONVERTER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_BLOB | Private | See coding | Type for BLOB | 20051115 | begin of T_BLOB,
DATA type W3MIMETABTYPE,
TYPE type W3PARAM-CONT_TYPE,
SIZE type W3PARAM-CONT_LEN,
end of T_BLOB
|
|
| 2 | T_BLOBS | Private | See coding | Table of BLOBs | 20051115 | T_BLOBS type standard table of T_BLOB
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DESTINATION | Call by reference | Type reference (TYPE) | CHAR32 | 'IGS_RFC_DEST' | IGS RFC Destination | 20030811 |
Method CONSTRUCTOR on class CL_IGS_IMAGE_CONVERTER has no exception.
Method EXECUTE Signature
Method EXECUTE on class CL_IGS_IMAGE_CONVERTER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kommunications-Fehler | 20030811 | ||
| 2 | Extener Fehler | 20030811 | ||
| 3 | Interner Fehler | 20030811 |
Method GET_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MESSAGE | Call by reference | Type reference (TYPE) | STRING | Fehlertext | 20030811 | |||
| 2 | NUMBER | Value transfer | Type reference (TYPE) | I | Fehlernummer | 20030811 |
Method GET_ERROR on class CL_IGS_IMAGE_CONVERTER has no exception.
Method GET_IMAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BLOB | Call by reference | Type reference (TYPE) | W3MIMETABTYPE | Bildinhalt | 20030811 | |||
| 2 | BLOB_SIZE | Value transfer | Type reference (TYPE) | W3PARAM-CONT_LEN | Bildgröße | 20030811 | |||
| 3 | BLOB_TYPE | Call by reference | Type reference (TYPE) | W3PARAM-CONT_TYPE | Bildtyp | 20030811 | |||
| 4 | INDEX | Value transfer | Type reference (TYPE) | I | '1' | Bildindex | 20051115 |
Method GET_IMAGE on class CL_IGS_IMAGE_CONVERTER has no exception.
Method GET_IMAGE_COUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNT | Value transfer | Type reference (TYPE) | I | Anzahl | 20051115 |
Method GET_IMAGE_COUNT on class CL_IGS_IMAGE_CONVERTER has no exception.
Method PARSE_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMAGES | Value transfer | Type reference (TYPE) | I | Bildanzahl | 20030811 | |||
| 2 | XML_LENGTH | Value transfer | Type reference (TYPE) | I | XML Länge | 20030811 | |||
| 3 | XML_TAB | Call by reference | Type reference (TYPE) | W3MIMETABTYPE | XML als X-Tabelle | 20030811 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Extener Fehler | 20030811 | ||
| 2 | Interner Fehler | 20030811 |
Method RENDER_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XML_TAB | Call by reference | Type reference (TYPE) | W3MIMETABTYPE | XML als X-Tabelle | 20030811 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Extener Fehler | 20030811 | ||
| 2 | Interner Fehler | 20030811 |
Method SET_IMAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BLOB | Call by reference | Type reference (TYPE) | W3MIMETABTYPE | Bildinhalt | 20030811 | |||
| 2 | BLOB_SIZE | Value transfer | Type reference (TYPE) | W3PARAM-CONT_LEN | Bildgröße | 20030811 |
Method SET_IMAGE on class CL_IGS_IMAGE_CONVERTER has no exception.
History
| Last changed by/on | SAP | 20030811 |
| SAP Release Created in | 640 |