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

## org.apache.poi.hwpf.model
Class BytePropertyNode

    java.lang.Object
      org.apache.poi.hwpf.model.PropertyNode
          org.apache.poi.hwpf.model.BytePropertyNode

All Implemented Interfaces:
  java.lang.Cloneable, java.lang.Comparable

Direct Known Subclasses:
  CHPX, PAPX, SEPX

    public abstract class BytePropertyNode

extends PropertyNode

Normally PropertyNodes only ever work in characters, but a few cases actually store bytes, and this lets everything still work despite that. It handles the conversion as required between bytes and characters.

Field Summary

Fields inherited from class org.apache.poi.hwpf.model.PropertyNode
`_buf`

Constructor Summary
`BytePropertyNode(int fcStart, int fcEnd, CharIndexTranslator translator, java.lang.Object buf)`

Method Summary
`int` | `getEndBytes()`
`int` | `getStartBytes()`

Methods inherited from class org.apache.poi.hwpf.model.PropertyNode
`adjustForDelete, clone, compareTo, equals, getEnd, getStart, limitsAreEqual, setEnd, setStart`

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

Constructor Detail

### BytePropertyNode

    public BytePropertyNode(int fcStart,
                            int fcEnd,
                            CharIndexTranslator translator,
                            java.lang.Object buf)

Parameters:
  `fcStart` - The start of the text for this property, in _bytes_
  `fcEnd` - The end of the text for this property, in _bytes_

Method Detail

### getStartBytes

    public int getStartBytes()

### getEndBytes

    public int getEndBytes()

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

Copyright 2010 The Apache Software Foundation or its licensors, as applicable.