Line and column number are only available if the withLineInformation parameter in the call to one of the
XMLPropertyListParser's parse methods was set to true. The line information is taken from the
Locator class and thus is only an approximation of the actual location that can only be used
for diagnostic purposes.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The column (starting at 1), or -1 if the column is not available.Gets the column number of the end of the XML node's start tag, if available. |
| public String | getDescription()
Implements abstract com. Gets a description of the object location. |
| public int | Returns: The line number (starting at 1), or -1 if the line number is not available.Gets the line number of the end of the XML node's start tag, if available. |
| public String | |
| public boolean | Returns: true, if both line and column number are available; false, otherwise.Gets a value indicating whether line and column number are available. |
| column | back to summary |
|---|---|
| private int column | |
| lineNo | back to summary |
|---|---|
| private int lineNo | |
| xpath | back to summary |
|---|---|
| private final String xpath | |
| XMLLocationInformation | back to summary |
|---|---|
| pack-priv XMLLocationInformation(Node n, String xpath) | |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() Gets the column number of the end of the XML node's start tag, if available.
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract com. Doc from com. Gets a description of the object location.
| |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Gets the line number of the end of the XML node's start tag, if available.
| |
| getXPath | back to summary |
|---|---|
| public String getXPath() Gets the XPath of the XML node that is the source for the NSObject.
| |
| hasLineInformation | back to summary |
|---|---|
| public boolean hasLineInformation() Gets a value indicating whether line and column number are available.
| |