public class ResourcesExplorerGenerator extends ResourcesExplorerGenerator
ExplorerNode
with the DublinCore metadata.Modifier and Type | Field and Description |
---|---|
protected DublinCoreMetadataProvider |
_dcProvider
The DublinCore metadata provider
|
protected I18nUtils |
_i18nUtils
The I18n utils
|
_explorerApplicationEP, _resolver, _userManager, RESOURCE, RESOURCE_COLLECTION
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
ResourcesExplorerGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
_saxNonEmptyAttributes(AttributesImpl attrs,
String metadataName,
String value,
String language)
SAX attribute if value is not empty
|
void |
generate() |
protected void |
getAdditionalAttributes(AttributesImpl attrs,
Resource resource)
Get the additional attributes
|
void |
service(ServiceManager sManager) |
_matchFilter, getExplorerNodeAttributes, getResourceAttributes, getResourcesIconCls, saxCollection, saxCollection, saxCollection, saxCollection, saxCollection, saxExplorerNode, saxExplorerNode, saxResource
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected DublinCoreMetadataProvider _dcProvider
protected I18nUtils _i18nUtils
public ResourcesExplorerGenerator()
public void service(ServiceManager sManager) throws ServiceException
service
in interface Serviceable
service
in class ResourcesExplorerGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
generate
in interface Generator
generate
in class ResourcesExplorerGenerator
IOException
SAXException
ProcessingException
protected void getAdditionalAttributes(AttributesImpl attrs, Resource resource)
ResourcesExplorerGenerator
getAdditionalAttributes
in class ResourcesExplorerGenerator
attrs
- The attributesresource
- The resourceprotected void _saxNonEmptyAttributes(AttributesImpl attrs, String metadataName, String value, String language)
attrs
- The attributes to sax intometadataName
- The name of attributevalue
- The value.language
- The sitemap language