SAP ABAP Class CL_XLF_ASSERT (Assertion methods)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DOC-TTL (Application Component) Translation Tools
⤷
SLXE_XLIFF (Package) XLIFF 1.2 Library
⤷
⤷
Properties
| Class | CL_XLF_ASSERT | |
| Short Description | Assertion methods | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLXE_XLIFF | XLIFF 1.2 Library |
| Created | 20100903 | SAP |
| Last change | 20110908 | 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_XLF_ASSERT has no interface implemented.
Friends
Class CL_XLF_ASSERT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | STRING | 20101014 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20101014 | |
| 2 | Static method | Public | Method | Verifies that the passed string does not contain whitespace | 20101014 | |
| 3 | Static method | Public | Method | Verifies that an object is not initial | 20100908 | |
| 4 | Static method | Public | Method | Verifies that a string is not empty | 20100903 | |
| 5 | Static method | Public | Method | Verifies that all characters of a string are valid in XML | 20100906 | |
| 6 | Static method | Public | Method | Verifies that a string is a valid XML name | 20100906 | |
| 7 | Static method | Public | Method | Verifies that a string is a valid XML NC name | 20100906 | |
| 8 | Static method | Public | Method | Verifies that a string is a valid XML NMTOKEN. | 20100910 | |
| 9 | Static method | Public | Method | Verifies that specific XLIFF attributes are available | 20100915 | |
| 10 | Static method | Public | Method | Verifies that only specific attributes appear | 20100915 |
Events
Class CL_XLF_ASSERT has no event.
Types
Class CL_XLF_ASSERT has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_XLF_ASSERT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_XLF_ASSERT has no exception.
Method NO_WHITESPACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAM_NAME | Call by reference | Type reference (TYPE) | STRING | 20101014 | ||||
| 2 | STRING | Call by reference | Type reference (TYPE) | STRING | 20101014 |
Method NO_WHITESPACE on class CL_XLF_ASSERT has no exception.
Method OBJECT_NOT_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT | Call by reference | Object reference (TYPE REF TO) | OBJECT | 20100908 | ||||
| 2 | PARAM_NAME | Call by reference | Type reference (TYPE) | STRING | 20100908 |
Method OBJECT_NOT_INITIAL on class CL_XLF_ASSERT has no exception.
Method STRING_NOT_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAM_NAME | Call by reference | Type reference (TYPE) | STRING | Parameter's name | 20100903 | |||
| 2 | STRING | Call by reference | Type reference (TYPE) | STRING | String to check | 20100903 |
Method STRING_NOT_INITIAL on class CL_XLF_ASSERT has no exception.
Method VALID_XML_CHARS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAM_NAME | Call by reference | Type reference (TYPE) | STRING | Parameter's name | 20100906 | |||
| 2 | STRING | Call by reference | Type reference (TYPE) | STRING | String to check | 20100906 |
Method VALID_XML_CHARS on class CL_XLF_ASSERT has no exception.
Method VALID_XML_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAM_NAME | Call by reference | Type reference (TYPE) | STRING | Parameter's name | 20100906 | |||
| 2 | XML_NAME | Call by reference | Type reference (TYPE) | STRING | String to check | 20100906 |
Method VALID_XML_NAME on class CL_XLF_ASSERT has no exception.
Method VALID_XML_NC_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAM_NAME | Call by reference | Type reference (TYPE) | STRING | Parameter's name | 20100906 | |||
| 2 | XML_NC_NAME | Call by reference | Type reference (TYPE) | STRING | Name to check | 20100906 |
Method VALID_XML_NC_NAME on class CL_XLF_ASSERT has no exception.
Method VALID_XML_NMTOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NMTOKEN | Call by reference | Type reference (TYPE) | STRING | 20100910 | ||||
| 2 | PARAM_NAME | Call by reference | Type reference (TYPE) | STRING | 20101005 |
Method VALID_XML_NMTOKEN on class CL_XLF_ASSERT has no exception.
Method XLIFF_ATTR_AVAILABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTR_NAMES | Call by reference | Type reference (TYPE) | TXLF_STRING | Table of strings | 20100915 | |||
| 2 | ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20100915 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A constraint of an XLIFF document is violated | 20100915 |
Method XLIFF_ATTR_RESTRICTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTR_NAMES | Call by reference | Type reference (TYPE) | TXLF_STRING | Table of strings | 20100915 | |||
| 2 | ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20100915 | |||
| 3 | NON_XLIFF_ALLOWED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100915 | ||||
| 4 | XML_LANG_ALLOWED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100915 | ||||
| 5 | XML_SPACE_ALLOWED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100915 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A constraint of an XLIFF document is violated | 20100915 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 703 |