Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2006 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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.

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

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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 BEA Systems, Inc. All Rights Reserved