public class DesignImporterHTMLParser
extends java.lang.Object
Constructor and Description |
---|
DesignImporterHTMLParser() |
Modifier and Type | Method and Description |
---|---|
HTMLContent |
getBodyHtmlContent()
Deprecated.
Use
ParseResult.getBodyHtmlContent() instead |
java.util.List<PageComponent> |
getComponents()
Deprecated.
Use
ParseResult.getComponents() instead |
HTMLContent |
getHeadHtmlContent()
Deprecated.
Use
ParseResult.getHeadHtmlContent() instead |
java.lang.String |
getLanguage()
Deprecated.
Use
ParseResult.getLanguage() instead |
ParseResult |
parse(java.io.InputStream stream,
PageBuilder pageBuilder) |
void |
parse(Page page,
java.io.InputStream stream,
PageBuilder pageBuilder)
Deprecated.
|
void |
setCanvasResourceType(java.lang.String canvasResourceType)
Sets the unique name of the canvas component that would be generated by this page extractor
|
void |
setDesignImporterContext(DesignImporterContext designImporterContext)
Sets the import context
|
void |
setTagHandlerProvider(TagHandlerProvider tagHandlerProvider)
Sets the
TagHandlerProvider |
@Deprecated public HTMLContent getBodyHtmlContent()
ParseResult.getBodyHtmlContent()
insteadHTMLContent
associated with the body of the input HTML document.HTMLContent
@Deprecated public java.util.List<PageComponent> getComponents()
ParseResult.getComponents()
insteadPageComponent
objects tranlated from the marked component
divs during the import processList
of PageComponent
objects@Deprecated public HTMLContent getHeadHtmlContent()
ParseResult.getHeadHtmlContent()
insteadHTMLContent
associated with the head of the input HTML document.HTMLContent
@Deprecated public java.lang.String getLanguage()
ParseResult.getLanguage()
instead@Deprecated public void parse(Page page, java.io.InputStream stream, PageBuilder pageBuilder) throws DesignImportException
parse(java.io.InputStream, com.day.cq.dam.indd.PageBuilder)
insteadpage
- The page for which the components are being extractedstream
- The input HTML document streampageBuilder
- The PageBuilder
object for building the PageComponent
sRepositoryException
UnsupportedTagContentException
- if unsupported content is found within a tagMissingCanvasException
java.io.IOException
org.xml.sax.SAXException
TikaException
DesignImportException
public ParseResult parse(java.io.InputStream stream, PageBuilder pageBuilder) throws DesignImportException
DesignImportException
public void setCanvasResourceType(java.lang.String canvasResourceType)
canvasResourceType
- The resourceType of the canvas componentpublic void setDesignImporterContext(DesignImporterContext designImporterContext)
designImporterContext
- The DesignImporterContext
object representing the current import contextpublic void setTagHandlerProvider(TagHandlerProvider tagHandlerProvider)
TagHandlerProvider
tagHandlerProvider
- The TagHandlerProvider
objectCopyright © 2010 - 2020 Adobe. All Rights Reserved