SAP ABAP Class CL_O2_PAGE_ELEM (O2: Oxygen Page Element)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-WAB (Application Component) Web Application Builder
⤷
SO2_TOOL (Package) mySAP Application Server Pages: Tool
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_O2_PAGE_ELEM_HTML_TAG | O2: Oxygen Page Script Element | 20000530 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_O2_PAGE_ELEM_SCRIPT | O2: Oxygen Page Script Element | 20000530 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_O2_PAGE_ELEM_TEXT | O2: Oxygen Page Script Element | 20000530 |
Properties
| Class | CL_O2_PAGE_ELEM | |
| Short Description | O2: Oxygen Page Element | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SO2_TOOL | mySAP Application Server Pages: Tool |
| Created | 20000530 | SAP |
| Last change | 20000530 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_O2_PAGE_ELEM has no interface implemented.
Friends
Class CL_O2_PAGE_ELEM 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 | Tag Content | 20000530 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | I | 0 | Last Predefined Number for Name in Tree | 20000608 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR10 | 'DIRECTIVE' | Oxygen Directive Type | 20000605 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR10 | 'EXPRESSION' | Oxygen print Directive Type | 20000606 | ||
| 5 | Constant | Public | Type reference (TYPE) | CHAR10 | 'GENERAL' | General Type | 20000530 | ||
| 6 | Constant | Public | Type reference (TYPE) | CHAR10 | 'HTML' | HTML Type | 20000530 | ||
| 7 | Constant | Public | Type reference (TYPE) | CHAR10 | 'SCRIPT' | Script Type | 20000530 | ||
| 8 | Constant | Public | Type reference (TYPE) | CHAR10 | 'TEXT' | Type text | 20000530 | ||
| 9 | Instance attribute | Public | Type reference (TYPE) | O2PAGEELEMS | Table with Subelements | 20000531 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | I | End Position of Element in String | 20000530 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | STRING | End Tag | 20000530 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | CHAR10 | ' ' | Fillers to be Skipped | 20000605 | ||
| 13 | Instance attribute | Public | Type reference (TYPE) | CHAR1 | X: Has to be Closed | 20000530 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | CHAR1 | X: Has to be Open | 20000530 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | CHAR1 | X: Is Closed | 20000530 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | I | Current Number of Instance for Tree | 20000608 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | CHAR1 | SPACE | X: Error While Parsing Element | 20000606 | ||
| 18 | Instance attribute | Public | Type reference (TYPE) | I | Initial Position of Element in String | 20000530 | |||
| 19 | Instance attribute | Public | Type reference (TYPE) | STRING | Initial Tag | 20000530 | |||
| 20 | Instance attribute | Public | Type reference (TYPE) | CHAR10 | C_TYPE_GENERAL | Object Type | 20000606 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20000530 | |
| 2 | Instance method | Public | Method | Get Complete Element with Defined Offset | 20000530 | |
| 3 | Instance method | Public | Method | Get Tag at Defined Position if Included | 20000710 | |
| 4 | Instance method | Public | Method | Generate Navigation Request for Position | 20000710 |
Events
Class CL_O2_PAGE_ELEM has no event.
Types
Class CL_O2_PAGE_ELEM has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_POS | Call by reference | Type reference (TYPE) | I | Position von P_SOURCE im Gesamtstring | 20000530 | |||
| 2 | P_SOURCE | Call by reference | Type reference (TYPE) | STRING | Rest der Seitensource (ab Anfangstag) | 20000530 |
Method CONSTRUCTOR on class CL_O2_PAGE_ELEM has no exception.
Method GET_PAGE_ELEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_OFFSET | Call by reference | Type reference (TYPE) | I | 0 | Offset für die Einrückung | 20000530 | ||
| 2 | P_SOURCE | Call by reference | Type reference (TYPE) | O2STRING_TABLE | Element mit Tags | 20000530 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Formatierungsfehler | 20000605 |
Method GET_TAG_AT_STRING_POS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_POS | Call by reference | Type reference (TYPE) | I | Position im übergeordneten String | 20000710 | |||
| 2 | P_POS_IN_TAG | Call by reference | Type reference (TYPE) | I | Position im gefundenen Tag | 20000710 | |||
| 3 | P_TAG | Call by reference | Object reference (TYPE REF TO) | CL_O2_PAGE_ELEM | Gefundenes Tag | 20000710 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Tag konnte nicht bestimmt werden | 20000710 |
Method NAVIGATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_PAGE_NAME | Call by reference | Type reference (TYPE) | O2PAGKEY | Name der aktuellen Seite | 20000710 | |||
| 2 | P_POS | Call by reference | Type reference (TYPE) | I | Position innerhalb des Tags | 20000710 | |||
| 3 | P_REQUEST | Call by reference | Object reference (TYPE REF TO) | CL_WB_REQUEST | Erzeugter Navigationsrequest | 20000710 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Request konnte nicht erzeugt werden | 20000710 |
History
| Last changed by/on | SAP | 20000530 |
| SAP Release Created in | 50A |