Xindice API
version 1.1

org.apache.xindice.core.meta.inline
Class ResourceTypeWriter

java.lang.Object
  |
  +--org.apache.xindice.core.meta.inline.ResourceTypeWriter
All Implemented Interfaces:
InlineMetaWriter

public class ResourceTypeWriter
extends Object
implements InlineMetaWriter

Write metadata identifying the resource type (xml or binary).

Version:
$Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $

Constructor Summary
ResourceTypeWriter()
           
 
Method Summary
 byte[] getMetadata(InlineMetaMap map)
          Create the metadata.
 int getVersion()
          The header version created by the implementing writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceTypeWriter

public ResourceTypeWriter()
Method Detail

getVersion

public int getVersion()
Description copied from interface: InlineMetaWriter
The header version created by the implementing writer.
Specified by:
getVersion in interface InlineMetaWriter
See Also:
InlineMetaWriter.getVersion()

getMetadata

public byte[] getMetadata(InlineMetaMap map)
                   throws InlineMetaException
Description copied from interface: InlineMetaWriter
Create the metadata. The contents are drawn from the map.
Specified by:
getMetadata in interface InlineMetaWriter
See Also:
InlineMetaWriter.getMetadata(InlineMetaMap)

Xindice API
version 1.1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.