Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## infomat.io
Class TokenFileTextWordIO.TokenFileTextWordHandler

    java.lang.Object
      org.xml.sax.helpers.DefaultHandler
          infomat.io.TokenFileTextWordIO.TokenFileTextWordHandler

All Implemented Interfaces:
  org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

Enclosing class:
  TokenFileTextWordIO

    private class TokenFileTextWordIO.TokenFileTextWordHandler

extends org.xml.sax.helpers.DefaultHandler

Exports the IMatrix in XML format The file is saved in compressed .zip-format.

Field Summary
`private java.lang.StringBuffer` | `buffer`
`private java.lang.String` | `documentPath`
`private java.lang.String` | `file`
`private int` | `id`
`private boolean` | `parts`
`private boolean` | `solidCompound`
`private java.util.HashMap<java.lang.String,IObject>` | `stringIObjectMap`
`private java.util.HashMap<java.lang.String,java.lang.Integer>` | `stringNumberMap`
`private IObject` | `textObject`
`private java.lang.String` | `textTitle`
`private int` | `totalLocalCount`
`private TextWordIMatrixConstructor` | `twmc`

Constructor Summary
`TokenFileTextWordIO.TokenFileTextWordHandler(TextWordIMatrixConstructor twmc)`

Method Summary
`void` | `characters(char[] ch, int start, int length)`
`void` | `endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qualifiedName)`
`void` | `startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qualifiedName, org.xml.sax.Attributes atts)`

Methods inherited from class org.xml.sax.helpers.DefaultHandler
`endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### buffer

    private java.lang.StringBuffer buffer

### twmc

    private TextWordIMatrixConstructor twmc

### id

    private int id

### totalLocalCount

    private int totalLocalCount

### textObject

    private IObject textObject

### stringNumberMap

    private java.util.HashMap<java.lang.String,java.lang.Integer> stringNumberMap

### stringIObjectMap

    private java.util.HashMap<java.lang.String,IObject> stringIObjectMap

### solidCompound

    private boolean solidCompound

### parts

    private boolean parts

### file

    private java.lang.String file

### textTitle

    private java.lang.String textTitle

### documentPath

    private java.lang.String documentPath

Constructor Detail

### TokenFileTextWordIO.TokenFileTextWordHandler

    public TokenFileTextWordIO.TokenFileTextWordHandler(TextWordIMatrixConstructor twmc)

Method Detail

### startElement

    public void startElement(java.lang.String namespaceURI,
                             java.lang.String localName,
                             java.lang.String qualifiedName,
                             org.xml.sax.Attributes atts)

  Specified by:
    `startElement` in interface `org.xml.sax.ContentHandler`
  Overrides:
    `startElement` in class `org.xml.sax.helpers.DefaultHandler`

### endElement

    public void endElement(java.lang.String namespaceURI,
                           java.lang.String localName,
                           java.lang.String qualifiedName)

  Specified by:
    `endElement` in interface `org.xml.sax.ContentHandler`
  Overrides:
    `endElement` in class `org.xml.sax.helpers.DefaultHandler`

### characters

    public void characters(char[] ch,
                           int start,
                           int length)

  Specified by:
    `characters` in interface `org.xml.sax.ContentHandler`
  Overrides:
    `characters` in class `org.xml.sax.helpers.DefaultHandler`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD