public class ServerDirectoryGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected CurrentUserProvider |
_currentUserProvider
The current user provider
|
protected SourceResolver |
_sourceResolver
Excalibur's source resolver
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
ServerDirectoryGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generate() |
protected void |
saxCollection(Source sourceFolder,
String zoneItemId)
SAX a
Source |
void |
service(ServiceManager smanager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected SourceResolver _sourceResolver
protected CurrentUserProvider _currentUserProvider
public ServerDirectoryGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
protected void saxCollection(Source sourceFolder, String zoneItemId) throws SAXException, SourceException, URISyntaxException
Source
sourceFolder
- The source to saxzoneItemId
- The zone item idSAXException
- If an error occurred while saxingSourceException
- If an error occurred while we get child from the sourceURISyntaxException
- if an error occurred