public class DatabaseUriResolver extends java.lang.Object implements DTSCascadeURIResolver
Constructor and Description |
---|
DatabaseUriResolver(javax.xml.transform.URIResolver nextResolver,
org.hibernate.Session session)
Instantiates a new database uri resolver.
|
Modifier and Type | Method and Description |
---|---|
void |
endDTSDiscovery()
This is a callback method that will be called when a DTSContainer
has finished to discover files in the DTS.
|
javax.xml.transform.URIResolver |
getNextResolver()
The next resolved in the cascade. null means this is the last resolver
|
javax.xml.transform.Source |
resolve(java.lang.String href,
java.lang.String base) |
void |
setNextResolver(javax.xml.transform.URIResolver newNextResolver)
Sets the next resolver to the resolver specified in the parameter.
|
void |
setSession(org.hibernate.Session session)
Sets the session.
|
void |
startDTSDiscovery()
This is a callback method that will be called when a DTSContainer
starts the DTS Discovery process.
|
public DatabaseUriResolver(javax.xml.transform.URIResolver nextResolver, org.hibernate.Session session)
nextResolver
- the next resolversession
- the sessionpublic void setSession(org.hibernate.Session session)
session
- the new sessionpublic javax.xml.transform.Source resolve(java.lang.String href, java.lang.String base) throws javax.xml.transform.TransformerException
resolve
in interface javax.xml.transform.URIResolver
javax.xml.transform.TransformerException
public javax.xml.transform.URIResolver getNextResolver()
DTSCascadeURIResolver
getNextResolver
in interface DTSCascadeURIResolver
public void setNextResolver(javax.xml.transform.URIResolver newNextResolver)
DTSCascadeURIResolver
setNextResolver
in interface DTSCascadeURIResolver
newNextResolver
- the new next resolverpublic void startDTSDiscovery()
DTSCascadeURIResolver
startDTSDiscovery
in interface DTSCascadeURIResolver
public void endDTSDiscovery()
DTSCascadeURIResolver
endDTSDiscovery
in interface DTSCascadeURIResolver
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa