Class AttachmentMacroVisitor
java.lang.Object
com.atlassian.confluence.internal.content.collab.AttachmentMacroVisitor
- All Implemented Interfaces:
- XhtmlVisitor
Provides a handler for detecting if a page contains an atlassian page layout. If so the layout
 name will be parsed out
- 
Constructor SummaryConstructorsConstructorDescriptionAttachmentMacroVisitor(List<Attachment> attachments, ContentEntityObject contentEntityObject, ContentEntityObject parentCeo) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanhandle(XMLEvent xmlEvent, ConversionContext context) Called on each XMLEvent during a parse of an XHTML document.booleanbooleanboolean
- 
Constructor Details- 
AttachmentMacroVisitorpublic AttachmentMacroVisitor(List<Attachment> attachments, ContentEntityObject contentEntityObject, ContentEntityObject parentCeo) 
 
- 
- 
Method Details- 
handleDescription copied from interface:XhtmlVisitorCalled on each XMLEvent during a parse of an XHTML document.- Specified by:
- handlein interface- XhtmlVisitor
- Returns:
- true if visiting should be halted immediately, false if it should continue
 
- 
isMacroStartedpublic boolean isMacroStarted()
- 
isAttachmentLinkedpublic boolean isAttachmentLinked()
- 
isContentLinkedpublic boolean isContentLinked()
 
-