Skip navigation links


com.bea.portal.tools.da.taxonomy.content
Class NodeTaxonomy

java.lang.Object
  extended by com.bea.p13n.delegation.taxonomy.ParentedTaxonomyBuilder
      extended by com.bea.portal.tools.da.taxonomy.content.NodeParentTaxonomy
          extended by com.bea.portal.tools.da.taxonomy.content.NodeTaxonomy

All Implemented Interfaces
TaxonomyBuilder, Serializable

public class NodeTaxonomy
extends NodeParentTaxonomy

Taxonomy for a content Node, which is always parented by a NodeParentTaxonomy, which can be either the content RepositoryTaxonomy or another Node taxonomy.

See Also
Serialized Form

Field Summary

 

Fields inherited from interface com.bea.p13n.delegation.taxonomy.TaxonomyBuilder
TAXONOMY_DELIMITER

 

Constructor Summary
NodeTaxonomy(NodeParentTaxonomy parentTaxonomy, Node contentNode)
          Constructs a Node taxonomy, parented by a NodeParent taxonomy, and based on the content Node.
NodeTaxonomy(NodeParentTaxonomy parentTaxonomy, String contentNodePath)
           

 

Method Summary
 StringBuilder buildTaxonomy()
          Overridden version of buildTaxonomy that builds a content Node specific format of the taxonomy, which is unique to content Nodes versus other types of taxonomies.
 String getLeafTaxonomy()
          Method that individual ParentedTaxonomyBuilder implementations implement to provide the leaf portion of their taxonomy, which will in most cases be directed derived from the resource they represent.

 

Methods inherited from class com.bea.p13n.delegation.taxonomy.ParentedTaxonomyBuilder
getParentTaxonomy, getTaxonomyLevel, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

NodeTaxonomy

public NodeTaxonomy(NodeParentTaxonomy parentTaxonomy,
                    Node contentNode)
Constructs a Node taxonomy, parented by a NodeParent taxonomy, and based on the content Node.
Parameters
parentTaxonomy - the parent NodeParentTaxonomy
contentNode - the content Node

NodeTaxonomy

public NodeTaxonomy(NodeParentTaxonomy parentTaxonomy,
                    String contentNodePath)

Method Detail

buildTaxonomy

public StringBuilder buildTaxonomy()
Overridden version of buildTaxonomy that builds a content Node specific format of the taxonomy, which is unique to content Nodes versus other types of taxonomies.
Specified by:
buildTaxonomy in interface TaxonomyBuilder
Overrides:
buildTaxonomy in class ParentedTaxonomyBuilder
Returns
a StringBuilder containing the assembled taxonomy

getLeafTaxonomy

public String getLeafTaxonomy()
Description copied from class: ParentedTaxonomyBuilder
Method that individual ParentedTaxonomyBuilder implementations implement to provide the leaf portion of their taxonomy, which will in most cases be directed derived from the resource they represent.
Specified by:
getLeafTaxonomy in class ParentedTaxonomyBuilder
Returns

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.