org.apache.xmlbeans.impl.tool
Class XsbDumper

java.lang.Object
  extended by org.apache.xmlbeans.impl.tool.XsbDumper

public class XsbDumper
extends java.lang.Object


Field Summary
static int DATA_BABE
           
static int FIELD_GLOBAL
           
static int FIELD_LOCALATTR
           
static int FIELD_LOCALELT
           
static int FIELD_NONE
           
static int FILETYPE_SCHEMAATTRIBUTE
           
static int FILETYPE_SCHEMAATTRIBUTEGROUP
           
static int FILETYPE_SCHEMAELEMENT
           
static int FILETYPE_SCHEMAINDEX
           
static int FILETYPE_SCHEMAMODELGROUP
           
static int FILETYPE_SCHEMAPOINTER
           
static int FILETYPE_SCHEMATYPE
           
static int FLAG_PART_ABSTRACT
           
static int FLAG_PART_BLOCKEXT
           
static int FLAG_PART_BLOCKREST
           
static int FLAG_PART_BLOCKSUBST
           
static int FLAG_PART_FINALEXT
           
static int FLAG_PART_FINALREST
           
static int FLAG_PART_FIXED
           
static int FLAG_PART_NILLABLE
           
static int FLAG_PART_SKIPPABLE
           
static int FLAG_PROP_ISATTR
           
static int FLAG_PROP_JAVAARRAY
           
static int FLAG_PROP_JAVAOPTIONAL
           
static int FLAG_PROP_JAVASINGLETON
           
static int MAJOR_VERSION
           
static int MINOR_VERSION
           
 
Method Summary
protected  boolean atLeast(int majorver, int minorver, int releaseno)
           
protected  boolean atMost(int majorver, int minorver, int releaseno)
           
static void dump(java.io.InputStream input)
           
static void dump(java.io.InputStream input, java.lang.String indent)
           
static void dump(java.io.InputStream input, java.lang.String indent, java.io.PrintStream output)
           
protected  int dumpHeader()
           
protected  void dumpIndexData()
           
static void dumpZip(java.io.File file)
           
static void main(java.lang.String[] args)
           
static void printUsage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA_BABE

public static final int DATA_BABE
See Also:
Constant Field Values

MAJOR_VERSION

public static final int MAJOR_VERSION
See Also:
Constant Field Values

MINOR_VERSION

public static final int MINOR_VERSION
See Also:
Constant Field Values

FILETYPE_SCHEMAINDEX

public static final int FILETYPE_SCHEMAINDEX
See Also:
Constant Field Values

FILETYPE_SCHEMATYPE

public static final int FILETYPE_SCHEMATYPE
See Also:
Constant Field Values

FILETYPE_SCHEMAELEMENT

public static final int FILETYPE_SCHEMAELEMENT
See Also:
Constant Field Values

FILETYPE_SCHEMAATTRIBUTE

public static final int FILETYPE_SCHEMAATTRIBUTE
See Also:
Constant Field Values

FILETYPE_SCHEMAPOINTER

public static final int FILETYPE_SCHEMAPOINTER
See Also:
Constant Field Values

FILETYPE_SCHEMAMODELGROUP

public static final int FILETYPE_SCHEMAMODELGROUP
See Also:
Constant Field Values

FILETYPE_SCHEMAATTRIBUTEGROUP

public static final int FILETYPE_SCHEMAATTRIBUTEGROUP
See Also:
Constant Field Values

FLAG_PART_SKIPPABLE

public static final int FLAG_PART_SKIPPABLE
See Also:
Constant Field Values

FLAG_PART_FIXED

public static final int FLAG_PART_FIXED
See Also:
Constant Field Values

FLAG_PART_NILLABLE

public static final int FLAG_PART_NILLABLE
See Also:
Constant Field Values

FLAG_PART_BLOCKEXT

public static final int FLAG_PART_BLOCKEXT
See Also:
Constant Field Values

FLAG_PART_BLOCKREST

public static final int FLAG_PART_BLOCKREST
See Also:
Constant Field Values

FLAG_PART_BLOCKSUBST

public static final int FLAG_PART_BLOCKSUBST
See Also:
Constant Field Values

FLAG_PART_ABSTRACT

public static final int FLAG_PART_ABSTRACT
See Also:
Constant Field Values

FLAG_PART_FINALEXT

public static final int FLAG_PART_FINALEXT
See Also:
Constant Field Values

FLAG_PART_FINALREST

public static final int FLAG_PART_FINALREST
See Also:
Constant Field Values

FLAG_PROP_ISATTR

public static final int FLAG_PROP_ISATTR
See Also:
Constant Field Values

FLAG_PROP_JAVASINGLETON

public static final int FLAG_PROP_JAVASINGLETON
See Also:
Constant Field Values

FLAG_PROP_JAVAOPTIONAL

public static final int FLAG_PROP_JAVAOPTIONAL
See Also:
Constant Field Values

FLAG_PROP_JAVAARRAY

public static final int FLAG_PROP_JAVAARRAY
See Also:
Constant Field Values

FIELD_NONE

public static final int FIELD_NONE
See Also:
Constant Field Values

FIELD_GLOBAL

public static final int FIELD_GLOBAL
See Also:
Constant Field Values

FIELD_LOCALATTR

public static final int FIELD_LOCALATTR
See Also:
Constant Field Values

FIELD_LOCALELT

public static final int FIELD_LOCALELT
See Also:
Constant Field Values
Method Detail

printUsage

public static void printUsage()

main

public static void main(java.lang.String[] args)

dumpZip

public static void dumpZip(java.io.File file)

dump

public static void dump(java.io.InputStream input)

dump

public static void dump(java.io.InputStream input,
                        java.lang.String indent)

dump

public static void dump(java.io.InputStream input,
                        java.lang.String indent,
                        java.io.PrintStream output)

dumpHeader

protected int dumpHeader()

dumpIndexData

protected void dumpIndexData()

atLeast

protected boolean atLeast(int majorver,
                          int minorver,
                          int releaseno)

atMost

protected boolean atMost(int majorver,
                         int minorver,
                         int releaseno)