FileDocCategorySizeDatePackage
PropertyNode.javaAPI DocApache Poi 3.0.12244Mon Jan 01 18:55:22 GMT 2007org.apache.poi.hdf.model.hdftypes

PropertyNode

public class PropertyNode extends Object implements Comparable
Represents a lightweight node in the Trees used to store formatting properties.
author
Ryan Ackley

Fields Summary
private byte[]
_grpprl
private int
_fcStart
private int
_fcEnd
Constructors Summary
public PropertyNode(int fcStart, int fcEnd, byte[] grpprl)

param
fcStart The start of the text for this property.
param
fcEnd The end of the text for this property.
param
grpprl The property description in compressed form.

      _fcStart = fcStart;
      _fcEnd = fcEnd;
      _grpprl = grpprl;
  
Methods Summary
public intcompareTo(java.lang.Object o)
Used for sorting in collections.

      int fcEnd = ((PropertyNode)o).getEnd();
      if(_fcEnd == fcEnd)
      {
        return 0;
      }
      else if(_fcEnd < fcEnd)
      {
        return -1;
      }
      else
      {
        return 1;
      }
  
public intgetEnd()

return
The offset of the end of this property's text.

    return _fcEnd;
  
protected byte[]getGrpprl()

return
This property's property in copmpressed form.

    return _grpprl;
  
public intgetStart()

return
The offset of this property's text.

      return _fcStart;