com.day.cq.wcm.siteimporter.resource
Class HtmlImporterResource

java.lang.Object
  extended by com.day.cq.wcm.siteimporter.resource.ImporterResource
      extended by com.day.cq.wcm.siteimporter.resource.HtmlImporterResource

public class HtmlImporterResource
extends ImporterResource


Nested Class Summary
 
Nested classes/interfaces inherited from class com.day.cq.wcm.siteimporter.resource.ImporterResource
ImporterResource.LineProcessor
 
Field Summary
protected  ArrayList<com.day.cq.wcm.siteimporter.resource.HtmlImporterResource.ExtractableTag> tags
           
 
Fields inherited from class com.day.cq.wcm.siteimporter.resource.ImporterResource
content, contentType, ctx, downloadLocation, location, NULL_LINE_PROCESSOR, references
 
Constructor Summary
HtmlImporterResource(URL location, ImporterContext ctx)
           
 
Method Summary
 String getBasePath()
           
protected  ArrayList<ReferenceLocation> getCssReferences()
           
 ArrayList<ReferenceLocation> getExternalReferences()
           
protected  ArrayList<ReferenceLocation> getHtmlReferences()
           
protected  ArrayList<ReferenceLocation> getStyleAttributes(String content)
           
protected  ArrayList<ReferenceLocation> getStyleTags(String content)
           
 Object triggerAction(ImporterResourceVisitor is)
           
 
Methods inherited from class com.day.cq.wcm.siteimporter.resource.ImporterResource
getCharset, getContent, getContent, getContext, getDownloadLocation, getDownloadStream, getLocation, getMimeType, isDownloaded, reload, reload, setDownloadLocation, toAbsoluteReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tags

protected ArrayList<com.day.cq.wcm.siteimporter.resource.HtmlImporterResource.ExtractableTag> tags
Constructor Detail

HtmlImporterResource

public HtmlImporterResource(URL location,
                            ImporterContext ctx)
Method Detail

triggerAction

public Object triggerAction(ImporterResourceVisitor is)
Specified by:
triggerAction in class ImporterResource

getExternalReferences

public ArrayList<ReferenceLocation> getExternalReferences()
Specified by:
getExternalReferences in class ImporterResource

getHtmlReferences

protected ArrayList<ReferenceLocation> getHtmlReferences()

getCssReferences

protected ArrayList<ReferenceLocation> getCssReferences()

getStyleTags

protected ArrayList<ReferenceLocation> getStyleTags(String content)

getBasePath

public String getBasePath()
Overrides:
getBasePath in class ImporterResource

getStyleAttributes

protected ArrayList<ReferenceLocation> getStyleAttributes(String content)


Copyright © 2011-2012 Adobe Systems Incorporated. All Rights Reserved.