| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv String | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the current offsetImplements javax. Return the byte or character offset into the input source this location is pointing to. |
| public int | Returns: the current column numberImplements javax. Return the column number where the current event ends, returns -1 if none is available. |
| public int | Returns: the current line numberImplements javax. Return the line number where the current event ends, returns -1 if none is available. |
| public static Location | |
| public String | Returns: the public ID, or null if not availableImplements javax. Returns the public ID of the XML |
| public String | Returns: the system ID, or null if not availableImplements javax. Returns the system ID of the XML |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| _charOffset | back to summary |
|---|---|
| pack-priv int _charOffset | |
| _column | back to summary |
|---|---|
| pack-priv int _column | |
| _line | back to summary |
|---|---|
| pack-priv int _line | |
| _publicId | back to summary |
|---|---|
| pack-priv String _publicId | |
| _systemId | back to summary |
|---|---|
| pack-priv String _systemId | |
| EventLocation | back to summary |
|---|---|
| pack-priv EventLocation() | |
| getCharacterOffset | back to summary |
|---|---|
| public int getCharacterOffset() Implements javax. Return the byte or character offset into the input source this location is pointing to. If the input source is a file or a byte stream then this is the byte offset into that stream, but if the input source is a character media then the offset is the character offset. Returns -1 if there is no offset available.
| |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() Implements javax. Return the column number where the current event ends, returns -1 if none is available.
| |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Implements javax. Return the line number where the current event ends, returns -1 if none is available.
| |
| getNilLocation | back to summary |
|---|---|
| public static Location getNilLocation() | |
| getPublicId | back to summary |
|---|---|
| public String getPublicId() Implements javax. Returns the public ID of the XML | |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Implements javax. Returns the system ID of the XML | |
| setCharacterOffset | back to summary |
|---|---|
| public void setCharacterOffset(int offset) | |
| setColumnNumber | back to summary |
|---|---|
| public void setColumnNumber(int col) | |
| setLineNumber | back to summary |
|---|---|
| public void setLineNumber(int line) | |
| setPublicId | back to summary |
|---|---|
| public void setPublicId(String id) | |
| setSystemId | back to summary |
|---|---|
| public void setSystemId(String id) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |