org.apache.poi.hwpf.model
public abstract class PropertyNode extends java.lang.Object implements java.lang.Comparable, java.lang.Cloneable
BytePropertyNode
between you and this.Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
_buf |
Modifier | Constructor and Description |
---|---|
protected |
PropertyNode(int fcStart,
int fcEnd,
java.lang.Object buf) |
Modifier and Type | Method and Description |
---|---|
void |
adjustForDelete(int start,
int length)
Adjust for a deletion that can span multiple PropertyNodes.
|
java.lang.Object |
clone() |
int |
compareTo(java.lang.Object o)
Used for sorting in collections.
|
boolean |
equals(java.lang.Object o) |
int |
getEnd() |
int |
getStart() |
protected boolean |
limitsAreEqual(java.lang.Object o) |
void |
setEnd(int end) |
void |
setStart(int start) |
protected PropertyNode(int fcStart, int fcEnd, java.lang.Object buf)
fcStart
- The start of the text for this property, in characters.fcEnd
- The end of the text for this property, in characters.buf
- FIXME: Old documentation is: "grpprl The property description in compressed form."public int getStart()
public void setStart(int start)
public int getEnd()
public void setEnd(int end)
public void adjustForDelete(int start, int length)
start
- length
- protected boolean limitsAreEqual(java.lang.Object o)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.