- All Known Subinterfaces:
IMetaschemaData
- All Known Implementing Classes:
SimpleResourceLocation,XmlSchemaContentValidator.XmlValidationFinding
public interface IResourceLocation
Represents a location within a resource.
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the zero-based byte offset for a location within a resource.longGet the zero-based character offset for a location within a resource.intGet the line column for a location within a resource.intgetLine()Get the line for a location within a resource.
-
Method Details
-
getLine
int getLine()Get the line for a location within a resource.- Returns:
- the line number or
-1if unknown
-
getColumn
int getColumn()Get the line column for a location within a resource.- Returns:
- the column number or
-1if unknown
-
getCharOffset
long getCharOffset()Get the zero-based character offset for a location within a resource.- Returns:
- the character offset or
-1if unknown
-
getByteOffset
long getByteOffset()Get the zero-based byte offset for a location within a resource.- Returns:
- the byte offset or
-1if unknown
-