Class CreateNewsletterFunction.LocalImageHandler
- java.lang.Object
-
- org.apache.excalibur.xml.sax.ContentHandlerProxy
-
- org.ametys.plugins.newsletter.workflow.CreateNewsletterFunction.LocalImageHandler
-
- All Implemented Interfaces:
ContentHandler
- Enclosing class:
- CreateNewsletterFunction
protected class CreateNewsletterFunction.LocalImageHandler extends ContentHandlerProxy
Local image handler: injects attributes so that the image will be properly handled.
-
-
Field Summary
Fields Modifier and Type Field Description private String_contentId
-
Constructor Summary
Constructors Constructor Description LocalImageHandler(ContentHandler contentHandler, String contentId)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstartElement(String uri, String loc, String raw, Attributes a)-
Methods inherited from class org.apache.excalibur.xml.sax.ContentHandlerProxy
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
-
-
-
-
Field Detail
-
_contentId
private String _contentId
-
-
Constructor Detail
-
LocalImageHandler
public LocalImageHandler(ContentHandler contentHandler, String contentId)
Constructor- Parameters:
contentHandler- the contentHandler to pass SAX events to.contentId- The id of content
-
-
Method Detail
-
startElement
public void startElement(String uri, String loc, String raw, Attributes a) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classContentHandlerProxy- Throws:
SAXException
-
-