Constructor and Description |
---|
MXMLData.Cursor()
Constructor (points to beginning of the MXMLData)
|
Modifier and Type | Method and Description |
---|---|
int |
getOffset()
Get the offset the cursor is pointing to
|
int |
getUnitIndex()
Get the index of the unit the cursor is pointing to
|
void |
reset()
Reset cursor to the beginning of the MXMLData
|
void |
setCursor(int offset,
int unitIndex)
Set the cursor to a particular offset/unit
|
public MXMLData.Cursor()
public void reset()
public void setCursor(int offset, int unitIndex)
offset
- offset into the documentunitIndex
- index of the unit containing that offsetpublic int getOffset()
public int getUnitIndex()
Copyright © 2016 The Apache Software Foundation. All rights reserved.