SAP ABAP Class CL_ISHMED_XML_TOOLS (Tools for XML Creation)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷
CRM (Application Component) Customer Relationship Management
⤷
CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷
NMED (Package) R/3MED: Medical documentation GSD
⤷
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ISH_CONSTANT_DEFINITION | IS-H: Definition of General Constants | 20041108 |
Properties
| Class | CL_ISHMED_XML_TOOLS | |
| Short Description | Tools for XML Creation | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | NMED | R/3MED: Medical documentation GSD |
| Created | 20040921 | SAP |
| Last change | 20050705 | 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
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_ISH_CONSTANT_DEFINITION | IS-H: Definition of General Constants | 20041108 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_ISHMED_DOC_SCHEMA | 20050510 | Basis Class for Creation of Schemas for XML Dispatch | |
| 2 | CL_ISHMED_DOC_WRAP_XML | 20041116 | Zips or Unzips a Medical Document for Dispatch |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Attribute reference (LIKE) | 20041108 | |||||
| 2 | Instance attribute | Private | Attribute reference (LIKE) | 20041108 | |||||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'xmlns' | Indicator Which Starts a Namepsace Declaration | 20040921 | ||
| 4 | Instance attribute | Private | Attribute reference (LIKE) | 20050427 | |||||
| 5 | Instance attribute | Private | Attribute reference (LIKE) | 20050427 | |||||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'UTF-8' | UTF Character Coding | 20041110 | ||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ISHMED_XML_DOCUMENT_BASE | Class for XML Processing | 20041104 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Wrapped Binary Document Content as XML Document Content | 20050609 | |
| 2 | Instance method | Public | Method | Convert Value in Typed XML Representation (=> Method Docu) | 20040921 | |
| 3 | Instance method | Public | Method | Value from XML Display to Display Format (Internal) | 20041104 | |
| 4 | Instance method | Protected | Method | Convert XML Value into Typed ABAP Variable | 20041104 | |
| 5 | Instance method | Public | Method | (INTERNAL!) Finds an Element with Specific Attribute Value | 20041122 | |
| 6 | Static method | Public | Method | Returns First Node Which Is not Processing Instruction | 20050622 | |
| 7 | Static method | Public | Method | Returns Code Page of SAP Server and of SAP-Gui | 20050427 | |
| 8 | Instance method | Private | Method | Does it concern an XML-related type for the mime type? | 20041108 | |
| 9 | Instance method | Public | Method | (INTERNAL!) Creates an XML Schema Fragment for a DDIC Type | 20041004 |
Events
Class CL_ISHMED_XML_TOOLS has no event.
Types
Class CL_ISHMED_XML_TOOLS has no local type.
Method Signatures
Method CAST_DOCCONTENT_TO_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_CONTENT | Call by reference | Object reference (TYPE REF TO) | CL_ISHMED_DOC_CONTENT | Quell-Dokumentinhalt (mit XML-Inhalt, aber als binärstrom) | 20050609 | |||
| 2 | RR_CONTENT | Value transfer | Object reference (TYPE REF TO) | CL_ISHMED_DOC_CONTENT | Ziel-Dokumentinhalt (wirklich als XML-baum repräsentiert) | 20050609 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehlerhafter Dokumentinhalt, Instanz nicht erstellbar | 20050609 |
Method CONVERT_VALUE_TO_XML_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPE_NAME | Call by reference | Type reference (TYPE) | CLIKE | Der Name des Typs (der Domäne), der zum Wert gehört | 20040921 | |||
| 2 | I_VALUE | Call by reference | Type reference (TYPE) | ANY | Der Wert, der umzuwandeln ist | 20040921 | |||
| 3 | R_RESULT | Call by reference | Type reference (TYPE) | STRING | Der Wert in XML-tauglichem Format | 20040921 |
Method CONVERT_VALUE_TO_XML_STRING on class CL_ISHMED_XML_TOOLS has no exception.
Method CONVERT_XML_STRING_TO_OUTPUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATA_TYPE | Call by reference | Type reference (TYPE) | STRING | Datentyp, der für Rück-typisierung verwendet werden soll | 20041104 | |||
| 2 | I_XML_VALUE | Call by reference | Type reference (TYPE) | STRING | Eingabewert, XML-formatiert | 20041104 | |||
| 3 | R_OUTPUT_VALUE | Call by reference | Type reference (TYPE) | STRING | Für die Ausgabe formatierte Form des Werts | 20041104 |
Method CONVERT_XML_STRING_TO_OUTPUT on class CL_ISHMED_XML_TOOLS has no exception.
Method CONVERT_XML_STRING_TO_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TYPED_VALUE | Call by reference | Object reference (TYPE REF TO) | DATA | Eine typisierte ABAP-Repräsentation des Wertes | 20041116 | |||
| 2 | I_TYPE_NAME | Call by reference | Type reference (TYPE) | CLIKE | Typ, in den Element gewandelt werden soll(Domäne od.ABAPTyp) | 20041104 | |||
| 3 | I_XML_VALUE | Call by reference | Type reference (TYPE) | CLIKE | Wert im XML-tauglichen Format | 20041104 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse aller System-Exceptions | 20041117 |
Method FIND_ELEMENT_BY_ATTRIB_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ATTRIB_NAME | Call by reference | Type reference (TYPE) | STRING | der name des Attributs, nach dem gesucht werden soll | 20041122 | |||
| 2 | I_ATTRIB_VALUE | Call by reference | Type reference (TYPE) | STRING | der Attributwert, nach dem gesucht werden soll. | 20041122 | |||
| 3 | I_ROOT_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | der Knoten, mit dem die Suche beginnen soll | 20041122 | |||
| 4 | R_DOM_ELEMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | das erste Kindelement, das den gewünschten Attributwert hat | 20041122 |
Method FIND_ELEMENT_BY_ATTRIB_VALUE on class CL_ISHMED_XML_TOOLS has no exception.
Method FIND_ROOT_NODE_FOR_TREE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | Wurzelknoten des zu durchsuchenden Baums | 20050622 | |||
| 2 | RR_NODE | Value transfer | Object reference (TYPE REF TO) | IF_IXML_NODE | Erster wirklicher XML-Knoten im Baum | 20050622 |
Method FIND_ROOT_NODE_FOR_TREE on class CL_ISHMED_XML_TOOLS has no exception.
Method GET_GUI_AND_SERVER_CODEPAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CLIENT_CODEPAGE | Call by reference | Type reference (TYPE) | STRING | Name der Server-Codepage (z.B. utf-16be) | 20050427 | |||
| 2 | E_SERVER_CODEPAGE | Call by reference | Type reference (TYPE) | STRING | Name der Sapgui-Codepage (z.B. utf-8) | 20050427 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler: Codepage konnte nicht ermittelt werden! | 20050427 |
Method IS_XML_MIMETYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MIME_TYPE | Call by reference | Type reference (TYPE) | STRING | Der Mime-Typ, z.B. 'text/xml' | 20041108 | |||
| 2 | R_IS_XML_TYPE | Value transfer | Type reference (TYPE) | ISH_TRUE_FALSE | true, falls der MIME-Typ explizit auf XML-Inhalte hinweist | 20041108 |
Method IS_XML_MIMETYPE on class CL_ISHMED_XML_TOOLS has no exception.
Method SCHEMA_FRAGMENT_FOR_DDIC_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DDIC_TYPE_NAME | Call by reference | Type reference (TYPE) | STRING | Name des Typs für den das Schema benötigt wird | 20041004 | |||
| 2 | I_LANGUAGE | Call by reference | Attribute reference (LIKE) | SY-LANGU | SY-LANGU | Sprache, in der die Felddoku aus dem DDIC geholt werden soll | 20041006 | ||
| 3 | I_XSD_NAMESPACE_PREFIX | Call by reference | Type reference (TYPE) | STRING | 'xsd' | Name des Namensraum-Präfixes für XML-Schema | 20041004 | ||
| 4 | R_XSD_FRAGMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT_FRAGMENT | Ein DOM-Fragment mit der gewünschten W3C-Schema beschreibung | 20041004 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Erzeugung eines XML-Schemas | 20041006 |
History
| Last changed by/on | SAP | 20050705 |
| SAP Release Created in | 473 |