Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::P6SAX2STRING Struct Reference

#include <p6sax2types.h>

Public Attributes

P6UINT32 length
 
const P6CHARpStart
 

Detailed Description

To avoid having to copy strings or creating new strings we simply point into a set of buffers the start of a string and its length.

These strings are not necessarily NULL terminated.

The standard Java SAX2 interface creates a string object for to return each element and attribute. Thus the Java interface requires an object creation and a string copy per item. Our component instead returns this SAX2 string to improve performance.

Definition at line 34 of file p6sax2types.h.


The documentation for this struct was generated from the following file: