Package org.ametys.cms.content
Class SAXContentHelper
- java.lang.Object
-
- org.ametys.cms.content.SAXContentHelper
-
- All Implemented Interfaces:
Component
,Serviceable
,ThreadSafe
public class SAXContentHelper extends Object implements Component, ThreadSafe, Serviceable
Component helper for saxing content's properties
-
-
Constructor Summary
Constructors Constructor Description SAXContentHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
saxComments(ContentHandler contentHandler, Content content)
SAX the content's commentsvoid
saxContentCurrentState(ContentHandler contentHandler, Content content)
SAX workflow current step of aContent
void
saxContentLanguage(ContentHandler contentHandler, Content content)
SAX the content languagevoid
saxContentTypes(ContentHandler contentHandler, Content content)
SAX the content's content typesvoid
saxContentTypesAndMixins(ContentHandler contentHandler, Content content)
SAX the content's mixins and content typesvoid
saxContributor(ContentHandler contentHandler, Content content)
SAX the contributorvoid
saxCreationDate(ContentHandler contentHandler, Content content)
SAX the date of creationvoid
saxCreator(ContentHandler contentHandler, Content content)
SAX the creatorvoid
saxLastModified(ContentHandler contentHandler, Content content)
SAX the last modified datevoid
saxMixinTypes(ContentHandler contentHandler, Content content)
SAX the content's mixinsvoid
service(ServiceManager smanager)
-
-
-
Constructor Detail
-
SAXContentHelper
public SAXContentHelper()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
saxContentTypes
public void saxContentTypes(ContentHandler contentHandler, Content content) throws SAXException
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
public void saxMixinTypes(ContentHandler contentHandler, Content content) throws SAXException
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
public void saxCreator(ContentHandler contentHandler, Content content) throws SAXException
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
public void saxContributor(ContentHandler contentHandler, Content content) throws SAXException
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
public void saxLastModified(ContentHandler contentHandler, Content content) throws SAXException
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
public void saxCreationDate(ContentHandler contentHandler, Content content) throws SAXException
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
public void saxComments(ContentHandler contentHandler, Content content) throws SAXException
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
public void saxContentLanguage(ContentHandler contentHandler, Content content) throws SAXException
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, 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 SAXingRepositoryException
- if an error occurs while retrieving current step
-
-