| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private int | |
| private final XMLLocation | |
| private final int | |
| private final String | |
| private final String | |
| public static final XMLLocation | UNKNOWN
An unknown location. |
| private final URI |
| Access | Constructor and Description |
|---|---|
| public | XMLLocation(final XMLLocation
the source location that this location was included from includedFrom, final URI the source location (may be uri, final int null if not known)the line number (may be lineNumber, final int -1 if not known)the column number (may be columnNumber, final int -1 if not known)the character offset (may be characterOffset, final String -1 if not known)the XML public ID (may be publicId, final String null)the XML system ID (may be systemId)null)Construct a new instance. |
| public | XMLLocation(final URI
the source location (may be uri, final int null if not known)the line number (may be lineNumber, final int -1 if not known)the column number (may be columnNumber, final int -1 if not known)the character offset (may be characterOffset, final String -1 if not known)the XML public ID (may be publicId, final String null)the XML system ID (may be systemId)null)Construct a new instance. |
| public | XMLLocation(final XMLLocation
the source location that this location was included from includedFrom, final URI the source location (may be uri, final int null if not known)the line number (may be lineNumber, final int -1 if not known)the column number (may be columnNumber, final int -1 if not known)the character offset (may be characterOffset)-1 if not known)Construct a new instance. |
| public | XMLLocation(final URI
the source location (may be uri, final int null if not known)the line number (may be lineNumber, final int -1 if not known)the column number (may be columnNumber, final int -1 if not known)the character offset (may be characterOffset)-1 if not known)Construct a new instance. |
| public | XMLLocation(final URI
the file name (may be uri)null if this location does not correspond to a file)Construct a new instance. |
| pack-priv | XMLLocation(final XMLLocation includedFrom, final URI
the file name (may be uri, final Location null if this location does not correspond to a file)the location to copy the remainder of the information from original)Construct a new instance. |
| pack-priv | XMLLocation(final URI
the file name (may be uri, final Location null if this location does not correspond to a file)the location to copy the remainder of the information from original)Construct a new instance. |
| pack-priv | XMLLocation(final Location
the location to copy the remainder of the information from original)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the sort result (-1, 0, or 1)the other location o)Implements java. |
| private int | |
| public boolean | Returns: true if they are equal, false otherwisethe other object other)Overrides java. |
| private static boolean | |
| public boolean | Returns: true if they are equal, false otherwisethe other object other)Determine whether this object is equal to another. |
| public int | Returns: the absolute character offset of this eventImplements javax. |
| public int | Returns: the column number where the corresponding event endsImplements javax. |
| public XMLLocation | Returns: the location that this location was included from, ornullGet the location that this location was included from. |
| public int | Returns: the line number where the corresponding event endsImplements javax. |
| public String | Returns: the public ID of the XMLImplements javax. |
| public String | Returns: the system ID of the XMLImplements javax. |
| public URI | |
| public int | |
| public String | Returns: the location as a stringOverrides java. |
| private void | |
| public static XMLLocation | |
| public static XMLLocation | |
| public static XMLLocation | |
| public static XMLLocation |
| characterOffset | back to summary |
|---|---|
| private final int characterOffset | |
| columnNumber | back to summary |
|---|---|
| private final int columnNumber | |
| hashCode | back to summary |
|---|---|
| private int hashCode | |
| includedFrom | back to summary |
|---|---|
| private final XMLLocation includedFrom | |
| lineNumber | back to summary |
|---|---|
| private final int lineNumber | |
| publicId | back to summary |
|---|---|
| private final String publicId | |
| systemId | back to summary |
|---|---|
| private final String systemId | |
| UNKNOWN | back to summary |
|---|---|
| public static final XMLLocation UNKNOWN An unknown location. | |
| uri | back to summary |
|---|---|
| private final URI uri | |
| XMLLocation | back to summary |
|---|---|
| public XMLLocation(final XMLLocation includedFrom, final URI uri, final int lineNumber, final int columnNumber, final int characterOffset, final String publicId, final String systemId) Construct a new instance.
| |
| XMLLocation | back to summary |
|---|---|
| public XMLLocation(final URI uri, final int lineNumber, final int columnNumber, final int characterOffset, final String publicId, final String systemId) Construct a new instance.
| |
| XMLLocation | back to summary |
|---|---|
| public XMLLocation(final XMLLocation includedFrom, final URI uri, final int lineNumber, final int columnNumber, final int characterOffset) Construct a new instance.
| |
| XMLLocation | back to summary |
|---|---|
| public XMLLocation(final URI uri, final int lineNumber, final int columnNumber, final int characterOffset) Construct a new instance.
| |
| XMLLocation | back to summary |
|---|---|
| public XMLLocation(final URI uri) Construct a new instance.
| |
| XMLLocation | back to summary |
|---|---|
| pack-priv XMLLocation(final XMLLocation includedFrom, final URI uri, final Location original) Construct a new instance. | |
| XMLLocation | back to summary |
|---|---|
| pack-priv XMLLocation(final URI uri, final Location original) Construct a new instance. | |
| XMLLocation | back to summary |
|---|---|
| pack-priv XMLLocation(final Location original) Construct a new instance.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(final XMLLocation o) Implements java. Compare for sort.
| |
| compareUri | back to summary |
|---|---|
| private int compareUri(URI a, URI b) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Determine whether this object is equal to another.
| |
| equals | back to summary |
|---|---|
| private static boolean equals(Object a, Object b) | |
| equals | back to summary |
|---|---|
| public boolean equals(XMLLocation other) Determine whether this object is equal to another.
| |
| getCharacterOffset | back to summary |
|---|---|
| public int getCharacterOffset() Implements javax. Get the absolute character offset of this event. Returns -1 if not known.
| |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() Implements javax. Get the column number where the corresponding event ends. Returns -1 if not known.
| |
| getIncludedFrom | back to summary |
|---|---|
| public XMLLocation getIncludedFrom() Get the location that this location was included from. Returns
| |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Implements javax. Get the line number where the corresponding event ends. Returns -1 if not known.
| |
| getPublicId | back to summary |
|---|---|
| public String getPublicId() Implements javax. Get the public ID of the XML. Returns
| |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Implements javax. Get the system ID of the XML. Returns
| |
| getUri | back to summary |
|---|---|
| public URI getUri() Get the file name. May be
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Get the location as a string. The string will be suitable for immediately prefixing an error message.
| |
| toString | back to summary |
|---|---|
| private void toString(final StringBuilder b) | |
| toXMLLocation | back to summary |
|---|---|
| public static XMLLocation toXMLLocation(final Location location) | |
| toXMLLocation | back to summary |
|---|---|
| public static XMLLocation toXMLLocation(final URI uri, final Location location) | |
| toXMLLocation | back to summary |
|---|---|
| public static XMLLocation toXMLLocation(final XMLLocation includedFrom, final Location location) | |
| toXMLLocation | back to summary |
|---|---|
| public static XMLLocation toXMLLocation(final XMLLocation includedFrom, final URI uri, final Location location) | |