Class XMLByteLocation
java.lang.Object
com.thirdpartylabs.xmlscalpel.entity.XMLByteLocation
public class XMLByteLocation
extends java.lang.Object
Defines the location in a file of a specific XML node.
-
Constructor Summary
Constructors Constructor Description XMLByteLocation(int index, long offset, long length) -
Method Summary
-
Constructor Details
-
XMLByteLocation
public XMLByteLocation(int index, long offset, long length)- Parameters:
index- Sequence of the node within the documentoffset- Location of the first byte of the string that contains the XML for a nodelength- Number of bytes in the string
-
-
Method Details
-
getIndex
public int getIndex() -
setIndex
public void setIndex(int index) -
getOffset
public long getOffset() -
setOffset
public void setOffset(long offset) -
getLength
public long getLength() -
setByte
public void setByte(long length) -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-