public interface ComponentReference extends SourceLocator
Modifier and Type | Method and Description |
---|---|
EnterpriseConfiguration |
getConfiguration()
Determine the configuration containing this reference (and its target)
|
int |
getFingerprint()
Get the fingerprint of the target of this reference
|
int |
getSymbolSpace()
Get the symbol space of the target of this reference
|
SchemaComponent |
getTarget()
Get the schema component identified by this reference.
|
boolean |
isResolved()
Determine whether this reference has been resolved
|
void |
tryToResolve(SchemaCompiler compiler)
Try to resolve the reference if possible, relative to components present in a given schema.
|
getColumnNumber, getLineNumber, getPublicId, getSystemId
EnterpriseConfiguration getConfiguration()
void tryToResolve(SchemaCompiler compiler)
compiler
- The compiler being used to compile the referring component.
This is assumed to know about the schema containing the candidate target components for the reference. If
null, the schema containing the reference is used.boolean isResolved()
SchemaComponent getTarget() throws UnresolvedReferenceException
UnresolvedReferenceException
- if the reference has not been resolved. Note that
this is an unchecked exception.int getFingerprint()
int getSymbolSpace()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.