public class SAXContentHelper extends Object implements Component, ThreadSafe, Serviceable
Modifier and Type | Field and Description |
---|---|
private ContentTypeExtensionPoint |
_contentTypeExtensionPoint |
private I18nUtils |
_i18nUtils |
private LanguagesManager |
_languagesManager |
private UserHelper |
_userHelper |
private WorkflowProvider |
_workflowProvider |
static String |
ROLE
The avalon ROLE
|
Constructor and Description |
---|
SAXContentHelper() |
Modifier and Type | Method and Description |
---|---|
void |
saxComments(ContentHandler contentHandler,
Content content)
SAX the content's comments
|
void |
saxContentCurrentState(ContentHandler contentHandler,
Content content)
SAX workflow current step of a
Content |
void |
saxContentLanguage(ContentHandler contentHandler,
Content content)
SAX the content language
|
void |
saxContentTypes(ContentHandler contentHandler,
Content content)
SAX the content's content types
|
void |
saxContentTypesAndMixins(ContentHandler contentHandler,
Content content)
SAX the content's mixins and content types
|
void |
saxContributor(ContentHandler contentHandler,
Content content)
SAX the contributor
|
void |
saxCreationDate(ContentHandler contentHandler,
Content content)
SAX the date of creation
|
void |
saxCreator(ContentHandler contentHandler,
Content content)
SAX the creator
|
void |
saxLastModified(ContentHandler contentHandler,
Content content)
SAX the last modified date
|
void |
saxMixinTypes(ContentHandler contentHandler,
Content content)
SAX the content's mixins
|
void |
service(ServiceManager smanager) |
private UserHelper _userHelper
private WorkflowProvider _workflowProvider
private LanguagesManager _languagesManager
private ContentTypeExtensionPoint _contentTypeExtensionPoint
private I18nUtils _i18nUtils
public SAXContentHelper()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
ServiceException
public void saxContentTypes(ContentHandler contentHandler, Content content) throws SAXException
contentHandler
- The content handler where to saxcontent
- the content The content concernedSAXException
- if an error occurred while saxingpublic void saxMixinTypes(ContentHandler contentHandler, Content content) throws SAXException
contentHandler
- The content handler where to saxcontent
- the content The content concernedSAXException
- if an error occurred while saxingpublic void saxContentTypesAndMixins(ContentHandler contentHandler, Content content) throws SAXException
contentHandler
- The content handler where to saxcontent
- the content The content concernedSAXException
- if an error occurred while saxingpublic void saxCreator(ContentHandler contentHandler, Content content) throws SAXException
contentHandler
- The content handler where to saxcontent
- the content The content concernedSAXException
- if an error occurred while saxingpublic void saxContributor(ContentHandler contentHandler, Content content) throws SAXException
contentHandler
- The content handler where to saxcontent
- the content The content concernedSAXException
- if an error occurred while saxingpublic void saxLastModified(ContentHandler contentHandler, Content content) throws SAXException
contentHandler
- The content handler where to saxcontent
- the content The content concernedSAXException
- if an error occurred while saxingpublic void saxCreationDate(ContentHandler contentHandler, Content content) throws SAXException
contentHandler
- The content handler where to saxcontent
- the content The content concernedSAXException
- if an error occurred while saxingpublic void saxComments(ContentHandler contentHandler, Content content) throws SAXException
contentHandler
- The content handler where to saxcontent
- the content The content concernedSAXException
- if an error occurred while saxingpublic void saxContentLanguage(ContentHandler contentHandler, Content content) throws SAXException
contentHandler
- The content handler where to saxcontent
- the content The content concernedSAXException
- if an error occurred while saxingpublic void saxContentCurrentState(ContentHandler contentHandler, Content content) throws SAXException, RepositoryException
Content
contentHandler
- The content handler where to saxcontent
- the content The content concernedSAXException
- if an error occurs while SAXingRepositoryException
- if an error occurs while retrieving current step