com.arsdigita.cms.search
Class ContentPageAssetExtractor

java.lang.Object
  extended bycom.arsdigita.domain.DomainObjectTraversal
      extended bycom.arsdigita.cms.search.ContentPageAssetExtractor

public class ContentPageAssetExtractor
extends com.arsdigita.domain.DomainObjectTraversal

An implementation of DomainObjectTraversal that generates a finds all associated binary assets

Version:
$Id: //cms/dev/src/com/arsdigita/cms/search/ContentPageAssetExtractor.java#5 $

Nested Class Summary
 
Nested classes inherited from class com.arsdigita.domain.DomainObjectTraversal
com.arsdigita.domain.DomainObjectTraversal.AdapterKey
 
Field Summary
static String FILE_ASSET_DATA_OBJ
           
static String TEXT_ASSET_DATA_OBJ
           
 
Fields inherited from class com.arsdigita.domain.DomainObjectTraversal
LINK_NAME
 
Constructor Summary
ContentPageAssetExtractor()
           
 
Method Summary
protected  void beginAssociation(com.arsdigita.domain.DomainObject obj, String path, com.arsdigita.persistence.metadata.Property property)
           
protected  void beginObject(com.arsdigita.domain.DomainObject obj, String path)
           
protected  void beginRole(com.arsdigita.domain.DomainObject obj, String path, com.arsdigita.persistence.metadata.Property property)
           
protected  void endAssociation(com.arsdigita.domain.DomainObject obj, String path, com.arsdigita.persistence.metadata.Property property)
           
protected  void endObject(com.arsdigita.domain.DomainObject obj, String path)
           
protected  void endRole(com.arsdigita.domain.DomainObject obj, String path, com.arsdigita.persistence.metadata.Property property)
           
 List getContent()
           
protected  void handleAttribute(com.arsdigita.domain.DomainObject obj, String path, com.arsdigita.persistence.metadata.Property property)
           
protected  void revisitObject(com.arsdigita.domain.DomainObject obj, String path)
           
 
Methods inherited from class com.arsdigita.domain.DomainObjectTraversal
appendToPath, beginLink, endLink, findAdapter, lookupAdapter, nameFromPath, parentFromPath, registerAdapter, registerAdapter, unregisterAdapter, unregisterAdapter, walk, walk
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_ASSET_DATA_OBJ

public static final String TEXT_ASSET_DATA_OBJ
See Also:
Constant Field Values

FILE_ASSET_DATA_OBJ

public static final String FILE_ASSET_DATA_OBJ
See Also:
Constant Field Values
Constructor Detail

ContentPageAssetExtractor

public ContentPageAssetExtractor()
Method Detail

getContent

public List getContent()

beginObject

protected void beginObject(com.arsdigita.domain.DomainObject obj,
                           String path)

endObject

protected void endObject(com.arsdigita.domain.DomainObject obj,
                         String path)

revisitObject

protected void revisitObject(com.arsdigita.domain.DomainObject obj,
                             String path)

handleAttribute

protected void handleAttribute(com.arsdigita.domain.DomainObject obj,
                               String path,
                               com.arsdigita.persistence.metadata.Property property)

beginRole

protected void beginRole(com.arsdigita.domain.DomainObject obj,
                         String path,
                         com.arsdigita.persistence.metadata.Property property)

endRole

protected void endRole(com.arsdigita.domain.DomainObject obj,
                       String path,
                       com.arsdigita.persistence.metadata.Property property)

beginAssociation

protected void beginAssociation(com.arsdigita.domain.DomainObject obj,
                                String path,
                                com.arsdigita.persistence.metadata.Property property)

endAssociation

protected void endAssociation(com.arsdigita.domain.DomainObject obj,
                              String path,
                              com.arsdigita.persistence.metadata.Property property)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC