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 NodeParentTaxonomycontentNode
- 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
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.