Define uFText component and it's operation.
More...
#include <CoconutXML/CoconutXML.h>
Go to the source code of this file.
Detailed Description
Define uFText component and it's operation.
- Copyright
- Copyright (C) 2012 Steel Wheels Project
Function Documentation
struct uFText* uFAllocateText |
( |
struct CNString * |
text, |
|
|
struct CNResource * |
resource |
|
) |
| [read] |
Allocate uFText component.
- Return values:
-
text | Allocated uFText component |
NULL | Failed to allocate the component |
- Parameters:
-
text | Context for this component |
resource | Resource to allocate the new component |
static void uFRetainText |
( |
struct uFText * |
dst | ) |
[inline, static] |
static void uFReleaseText |
( |
struct uFText * |
dst | ) |
[inline, static] |
static struct CNXMLObject* uFCastTextToXMLObject |
( |
struct uFText * |
src | ) |
[static, read] |
CNBoolean uFIsTextXMLNode |
( |
xmlNodePtr |
src | ) |
|
Check the XML node can be encoded into uFText component.
- Return values:
-
TRUE | Can be encoded |
FALSE | Can NOT be encoded |
- Parameters:
-
static xmlNodePtr uFEncodeText |
( |
const struct uFText * |
src | ) |
[inline, static] |
Encode uFText into XML node.
- Return values:
-
node | Encoded XML node |
NULL | Failed to encode |
- Parameters:
-
References uFText::superClass.
static struct CNString* uFContextInText |
( |
const struct uFText * |
src | ) |
[static, read] |
Get context of the uFText component.
- Returns:
- Context string
- Parameters:
-
References uFText::text.