Package org.ametys.cms.content
Class SAXContentHelper
java.lang.Object
org.ametys.cms.content.SAXContentHelper
- All Implemented Interfaces:
Component,Serviceable,ThreadSafe
Component helper for saxing content's properties
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsaxComments(ContentHandler contentHandler, Content content) SAX the content's commentsvoidsaxContentCurrentState(ContentHandler contentHandler, Content content) SAX workflow current step of aContentvoidsaxContentLanguage(ContentHandler contentHandler, Content content) SAX the content languagevoidsaxContentTypes(ContentHandler contentHandler, Content content) SAX the content's content typesvoidsaxContentTypesAndMixins(ContentHandler contentHandler, Content content) SAX the content's mixins and content typesvoidsaxContributor(ContentHandler contentHandler, Content content) SAX the contributorvoidsaxCreationDate(ContentHandler contentHandler, Content content) SAX the date of creationvoidsaxCreator(ContentHandler contentHandler, Content content) SAX the creatorvoidsaxLastModified(ContentHandler contentHandler, Content content) SAX the last modified datevoidsaxMixinTypes(ContentHandler contentHandler, Content content) SAX the content's mixinsvoidservice(ServiceManager smanager)
-
Field Details
-
ROLE
The avalon ROLE
-
-
Constructor Details
-
SAXContentHelper
public SAXContentHelper()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
saxContentTypes
SAX the content's content types- Parameters:
contentHandler- The content handler where to saxcontent- the content The content concerned- Throws:
SAXException- if an error occurred while saxing
-
saxMixinTypes
SAX the content's mixins- Parameters:
contentHandler- The content handler where to saxcontent- the content The content concerned- Throws:
SAXException- if an error occurred while saxing
-
saxContentTypesAndMixins
public void saxContentTypesAndMixins(ContentHandler contentHandler, Content content) throws SAXException SAX the content's mixins and content types- Parameters:
contentHandler- The content handler where to saxcontent- the content The content concerned- Throws:
SAXException- if an error occurred while saxing
-
saxCreator
SAX the creator- Parameters:
contentHandler- The content handler where to saxcontent- the content The content concerned- Throws:
SAXException- if an error occurred while saxing
-
saxContributor
SAX the contributor- Parameters:
contentHandler- The content handler where to saxcontent- the content The content concerned- Throws:
SAXException- if an error occurred while saxing
-
saxLastModified
SAX the last modified date- Parameters:
contentHandler- The content handler where to saxcontent- the content The content concerned- Throws:
SAXException- if an error occurred while saxing
-
saxCreationDate
SAX the date of creation- Parameters:
contentHandler- The content handler where to saxcontent- the content The content concerned- Throws:
SAXException- if an error occurred while saxing
-
saxComments
SAX the content's comments- Parameters:
contentHandler- The content handler where to saxcontent- the content The content concerned- Throws:
SAXException- if an error occurred while saxing
-
saxContentLanguage
SAX the content language- Parameters:
contentHandler- The content handler where to saxcontent- the content The content concerned- Throws:
SAXException- if an error occurred while saxing
-
saxContentCurrentState
public void saxContentCurrentState(ContentHandler contentHandler, Content content) throws SAXException, javax.jcr.RepositoryException SAX workflow current step of aContent- Parameters:
contentHandler- The content handler where to saxcontent- the content The content concerned- Throws:
SAXException- if an error occurs while SAXingjavax.jcr.RepositoryException- if an error occurs while retrieving current step
-