|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Excerpter
| Method Summary | |
|---|---|
java.lang.String |
createExcerpt(ContentEntityObject contentEntityObject,
java.lang.String outputType)
Creates an excerpt of the contentEntityObject without any tags excluded including an implementation specific number of blocking |
java.lang.String |
createExcerpt(ContentEntityObject contentEntity,
java.lang.String outputType,
ExcerptConfig config)
Creates an excerpt of the contentEntityObject excluding any html tags that are in the exclude set. |
java.util.List<javax.activation.DataSource> |
extractImageSrc(ContentEntityObject ceo,
int numImages)
|
java.util.List<javax.activation.DataSource> |
extractImageSrc(ContentEntityObject ceo,
int numImages,
boolean useThumbnails)
|
java.util.List<java.lang.String> |
extractImageSrc(java.lang.String contentHtml,
int numImages)
|
java.util.List<java.net.URI> |
extractImageThumbnailUris(ContentEntityObject contentEntity,
int maxUris)
Returns the URIs of thumbnails for each of the images attached to the specified content entity. |
| Method Detail |
|---|
java.lang.String createExcerpt(ContentEntityObject contentEntityObject,
java.lang.String outputType)
throws java.lang.Exception
contentEntityObject - - contentEntityObject to create an excerpt ofoutputType - - the output type in which to render the content, @see RenderContextOutputType
java.lang.Exception - - if an excerpt could not be created for this ContentEntityObject
java.lang.String createExcerpt(ContentEntityObject contentEntity,
java.lang.String outputType,
ExcerptConfig config)
throws javax.xml.stream.XMLStreamException,
com.atlassian.plugin.web.renderer.RendererException
contentEntityObject - - contentEntityObject to create an excerpt ofoutputType - - the output type in which to render the content, @see RenderContextOutputTypeconfig - - a parameter object that allows the content of the excerpt to be customized. @see ExcerptConfig
java.lang.Exception - - if an excerpt could not be created for this ContentEntityObject
javax.xml.stream.XMLStreamException
com.atlassian.plugin.web.renderer.RendererException
java.util.List<java.lang.String> extractImageSrc(java.lang.String contentHtml,
int numImages)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
java.util.List<java.net.URI> extractImageThumbnailUris(ContentEntityObject contentEntity,
int maxUris)
throws XhtmlException
contentEntity - the content entitymaxUris - the maximum URI's to return
XhtmlException - if there is an error parsing the contents for image references.
java.util.List<javax.activation.DataSource> extractImageSrc(ContentEntityObject ceo,
int numImages)
throws javax.xml.stream.XMLStreamException,
XhtmlException
javax.xml.stream.XMLStreamException
XhtmlException
java.util.List<javax.activation.DataSource> extractImageSrc(ContentEntityObject ceo,
int numImages,
boolean useThumbnails)
throws javax.xml.stream.XMLStreamException,
XhtmlException
javax.xml.stream.XMLStreamException
XhtmlException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||