|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xindice.core.meta.inline.InlineHeaderBuilder
Construct a Value object containing the inline metadata header and value data. The first header byte holds the number of total bytes (counting itself) preceding the data. The second header byte contains the version number of the metadata. Remaining header bytes are the version-specific metadata.
Version 0: Null no version-specific metdata, two byte total length byte 1: 2 byte 2: 0 Version 1: ResoureType resource type, three byte total length byte 1: 2 byte 2: 1 byte 3: content type (1 => xml, 2 => binary)
Method Summary | |
static Value |
createValue(int version,
byte[] metadata,
byte[] data,
int pos,
int len)
Create a Value object containing the inline metadata header and value data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Value createValue(int version, byte[] metadata, byte[] data, int pos, int len)
|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |