|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A reference to a schema component. The reference may have been resolved to a specific component, or may be as yet unresolved. Any attempt to use a reference that has not yet been resolved causes an unchecked exception.
Method Summary | |
int |
getFingerprint()
Get the fingerprint of the target of this reference |
PreparedSchema |
getSchema()
Determine the schema containing 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(PreparedSchema schema)
Try to resolve the reference if possible, relative to components present in a given schema. |
Methods inherited from interface javax.xml.transform.SourceLocator |
getColumnNumber, getLineNumber, getPublicId, getSystemId |
Method Detail |
public PreparedSchema getSchema()
public void tryToResolve(PreparedSchema schema)
schema
- The schema containing the candidate target components for the reference. If
null, the schema containing the reference is used.public boolean isResolved()
public SchemaComponent getTarget() throws UnresolvedReferenceException
UnresolvedReferenceException
- if the reference has not been resolved. Note that
this is an unchecked exception.public int getFingerprint()
public int getSymbolSpace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |