SAP ABAP Class CL_FX_READER (Obsolete, replaced by CL_SXML_READER)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-XML (Application Component) ABAP XML Processing
⤷
SXML (Package) Streamed XML Reader/Writer
⤷
⤷
Properties
| Class | CL_FX_READER | |
| Short Description | Obsolete, replaced by CL_SXML_READER | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SXML | Streamed XML Reader/Writer |
| Created | 20030805 | SAP |
| Last change | 20130531 | 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) |
Interfaces
Class CL_FX_READER has no interface implemented.
Friends
Class CL_FX_READER 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) | I | Attribute Count | 20030805 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | ATTRIBUTES | Node Attributes | 20050118 | |||
| 3 | Constant | Public | Type reference (TYPE) | I | 2 | Mode: Error on Entry Ref (Else Copy) | 20030805 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 1 | Mode: Resolve Character and Build-in Refs | 20030805 | ||
| 5 | Constant | Public | Type reference (TYPE) | I | 3 | Mode: Skip Whitespace Only Text | 20030805 | ||
| 6 | Instance attribute | Public | Type reference (TYPE) | I | Bytes Consumed | 20030805 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | SEC_XML_DSIG_INFO_TAB | Signature Info | 20041221 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | STRING | Error Message | 20030805 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | STRING | File Name | 20060908 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | I | Node Flags | 20030805 | |||
| 11 | Constant | Public | Type reference (TYPE) | I | 2 | Flag: Cdata Section Node | 20030805 | ||
| 12 | Constant | Public | Type reference (TYPE) | I | 1 | Flag: Char Data (Not Whitespace Only) | 20030805 | ||
| 13 | Constant | Public | Type reference (TYPE) | I | 4 | Flag:Cdata Contains Resolved Char Refs | 20030805 | ||
| 14 | Constant | Public | Type reference (TYPE) | I | 8 | Flag: Cdata Contains Entity Refs | 20030805 | ||
| 15 | Instance attribute | Private | Type reference (TYPE) | XSTRING | Input Buffer | 20030805 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | STRING | Local Name | 20030805 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | I | Namespace nsdecl attributes | 20030805 | |||
| 18 | Instance attribute | Public | Type reference (TYPE) | STRING | Namespace URI | 20030805 | |||
| 19 | Instance attribute | Public | Type reference (TYPE) | STRING | Namespace Prefix | 20030805 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | %_C_POINTER | Xreader Pointer | 20030805 | |||
| 21 | Constant | Public | Type reference (TYPE) | I | 32 | Token: Attribute (Internal) | 20030805 | ||
| 22 | Constant | Public | Type reference (TYPE) | I | 4 | Token: Character Data | 20030805 | ||
| 23 | Constant | Public | Type reference (TYPE) | I | 8 | Token: Comment Data | 20030805 | ||
| 24 | Constant | Public | Type reference (TYPE) | I | 0 | Token: End of Stream Reached | 20030805 | ||
| 25 | Constant | Public | Type reference (TYPE) | I | 2 | Token: End Tag | 20030805 | ||
| 26 | Constant | Public | Type reference (TYPE) | I | -2 | Token: Invalid Token Found | 20030805 | ||
| 27 | Constant | Public | Type reference (TYPE) | I | -1 | Token: Partial Parsed Token | 20030805 | ||
| 28 | Constant | Public | Type reference (TYPE) | I | 16 | Token: Processing Instruction | 20030805 | ||
| 29 | Constant | Public | Type reference (TYPE) | I | 1 | Token: Start Tag | 20030805 | ||
| 30 | Instance attribute | Public | Type reference (TYPE) | I | Token Count | 20030805 | |||
| 31 | Instance attribute | Public | Type reference (TYPE) | I | Node Type | 20030805 | |||
| 32 | Instance attribute | Public | Type reference (TYPE) | STRING | Value | 20030805 | |||
| 33 | Instance attribute | Public | Type reference (TYPE) | XSTRING | Raw Value | 20050118 | |||
| 34 | Instance attribute | Public | Type reference (TYPE) | I | Value Type | 20050118 | |||
| 35 | Instance attribute | Public | Type reference (TYPE) | SEC_XML_XENC_INFO_TAB | Encryption Information | 20041221 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Create Reader Instance | 20030805 | |
| 2 | Instance method | Public | Destructor | Destroy Kernel Reader (don't call manualy) | 20030805 | |
| 3 | Instance method | Public | Method | Access Attributes by Index | 20030805 | |
| 4 | Instance method | Public | Method | get reader option | 20030805 | |
| 5 | Instance method | Public | Method | namespace bindings in scope | 20050118 | |
| 6 | Instance method | Public | Method | get path up to root node | 20050118 | |
| 7 | Instance method | Public | Method | Initialize Kernel Reader | 20030805 | |
| 8 | Instance method | Private | Method | Initialize Kernel Dataset Reader | 20060908 | |
| 9 | Instance method | Public | Method | read next node from stream | 20030805 | |
| 10 | Instance method | Public | Method | Resolve a namespace URI by a namespace prefix | 20030805 | |
| 11 | Instance method | Public | Method | Resolve a namespace prefix by a namespace uri | 20030805 | |
| 12 | Instance method | Public | Method | push last node back into the stream | 20030805 | |
| 13 | Instance method | Public | Method | set reader option | 20030805 | |
| 14 | Instance method | Public | Method | Set XML Security | 20050124 | |
| 15 | Instance method | Public | Method | Skip current node or subtree | 20030805 |
Events
Class CL_FX_READER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTE | Public | See coding | 20050118 | BEGIN OF attribute,
name TYPE string, " localname
prefix TYPE string, " namespace prefix
nsuri TYPE string, " namespace uri
value TYPE string, " attribute value
rawval TYPE xstring, " bxml raw value
END OF attribute
|
||
| 2 | ATTRIBUTES | Public | See coding | 20050118 | attributes TYPE STANDARD TABLE OF attribute WITH DEFAULT KEY
|
||
| 3 | NSBINDING | Public | See coding | 20050118 | BEGIN OF nsbinding,
prefix TYPE string, " namespace prefix
nsuri TYPE string, " namespace uri
END OF nsbinding
|
||
| 4 | NSBINDINGS | Public | See coding | 20050118 | nsbindings TYPE STANDARD TABLE OF nsbinding WITH DEFAULT KEY
|
||
| 5 | PATH_NODE | Public | See coding | 20050118 | BEGIN OF path_node,
name TYPE string, " localname
prefix TYPE string, " namespace prefix
nsuri TYPE string, " namespace uri
pos TYPE i, " child position
END OF path_node
|
||
| 6 | PATH_NODES | Public | See coding | 20050118 | path_nodes TYPE STANDARD TABLE OF path_node WITH DEFAULT KEY
|
Method Signatures
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILENAME | Call by reference | Type reference (TYPE) | STRING | 20060908 | ||||
| 2 | INPUT | Call by reference | Type reference (TYPE) | XSTRING | 20030805 | ||||
| 3 | READER | Value transfer | Object reference (TYPE REF TO) | CL_FX_READER | 20030805 |
Method CREATE on class CL_FX_READER has no exception.
Method DESTRUCTOR Signature
Method DESTRUCTOR on class CL_FX_READER has no parameter.
Method DESTRUCTOR on class CL_FX_READER has no exception.
Method GET_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INDEX | Call by reference | Type reference (TYPE) | I | 20030805 | ||||
| 2 | NAME | Call by reference | Type reference (TYPE) | STRING | 20030805 | ||||
| 3 | NSURI | Call by reference | Type reference (TYPE) | STRING | 20030805 | ||||
| 4 | PREFIX | Call by reference | Type reference (TYPE) | STRING | 20030805 | ||||
| 5 | RETCODE | Call by reference | Type reference (TYPE) | I | 20030805 | ||||
| 6 | VALUE | Call by reference | Type reference (TYPE) | STRING | 20030805 |
Method GET_ATTRIBUTE on class CL_FX_READER has no exception.
Method GET_FEATURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FEATURE | Call by reference | Type reference (TYPE) | I | 20030805 | ||||
| 2 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20030805 |
Method GET_FEATURE on class CL_FX_READER has no exception.
Method GET_NSBINDINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NSBINDINGS | Value transfer | Type reference (TYPE) | NSBINDINGS | 20050118 |
Method GET_NSBINDINGS on class CL_FX_READER has no exception.
Method GET_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PATH_NODES | Value transfer | Type reference (TYPE) | PATH_NODES | 20050118 |
Method GET_PATH on class CL_FX_READER has no exception.
Method INITIALIZE Signature
Method INITIALIZE on class CL_FX_READER has no parameter.
Method INITIALIZE on class CL_FX_READER has no exception.
Method INITIALIZE_DATASET Signature
Method INITIALIZE_DATASET on class CL_FX_READER has no parameter.
Method INITIALIZE_DATASET on class CL_FX_READER has no exception.
Method NEXT_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETCODE | Value transfer | Type reference (TYPE) | I | 20030805 |
Method NEXT_NODE on class CL_FX_READER has no exception.
Method NSURI_BY_PREFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NSURI | Value transfer | Type reference (TYPE) | STRING | 20030805 | ||||
| 2 | PREFIX | Call by reference | Type reference (TYPE) | STRING | 20030805 |
Method NSURI_BY_PREFIX on class CL_FX_READER has no exception.
Method PREFIX_BY_NSURI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NSURI | Call by reference | Type reference (TYPE) | STRING | 20030805 | ||||
| 2 | PREFIX | Value transfer | Type reference (TYPE) | STRING | 20030805 |
Method PREFIX_BY_NSURI on class CL_FX_READER has no exception.
Method PUSH_BACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETCODE | Value transfer | Type reference (TYPE) | I | 20030805 |
Method PUSH_BACK on class CL_FX_READER has no exception.
Method SET_FEATURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENABLED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20030805 | ||||
| 2 | FEATURE | Call by reference | Type reference (TYPE) | I | 20030805 | ||||
| 3 | OLDVAL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20030805 |
Method SET_FEATURE on class CL_FX_READER has no exception.
Method SET_SECURITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENABLED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20050124 | ||||
| 2 | OLDVAL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050124 |
Method SET_SECURITY on class CL_FX_READER has no exception.
Method SKIP_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETCODE | Value transfer | Type reference (TYPE) | I | 20030805 | ||||
| 2 | WRITER | Call by reference | Object reference (TYPE REF TO) | CL_FX_WRITER | fast streamed xml writer | 20040923 |
Method SKIP_NODE on class CL_FX_READER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 640 |