Constructor and Description |
---|
SchemaLocationHint(int start,
int end,
String hint,
SchemaLocation parent)
Create a new SchemaLocationHint object that represents one of the location
hints given in the parent
SchemaLocation . |
Modifier and Type | Method and Description |
---|---|
int |
getEnd()
Returns the offset from the beginning of the document where this location
hint ends
|
String |
getHint()
Returns the location hint that this SchemaLocationHint represents
|
DOMDocument |
getOwnerDocument()
Returns the owner document.
|
int |
getStart()
Returns the offset from the beginning of the document where this location
hint starts
|
public SchemaLocationHint(int start, int end, String hint, SchemaLocation parent)
SchemaLocation
.start
- The offset from the beginning of the document where this
location hint startsend
- The offset from the beginning of the document where this
location hint endshint
- The hint to the location of a schema (A URI that points to a
schema)parent
- The SchemaLocation
in which this hint was givenpublic String getHint()
public int getStart()
public int getEnd()
public DOMDocument getOwnerDocument()
DOMRange
getOwnerDocument
in interface DOMRange
Copyright © 2020. All rights reserved.