Skip navigation links
com.bea.portal.tools.da.taxonomy.content
Class NodeTaxonomy
java.lang.Object
com.bea.p13n.delegation.taxonomy.ParentedTaxonomyBuilder
com.bea.portal.tools.da.taxonomy.content.NodeParentTaxonomy
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
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. |
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)
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.