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) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceTypeWriter
public ResourceTypeWriter()
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)
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.