Skip navigation links


com.bea.content.manager.servlets.attribute.node
Class NodeAttributeResolver

java.lang.Object
  extended by com.bea.content.manager.servlets.attribute.impl.AbstractContentAttributeResolver<Node>
      extended by com.bea.content.manager.servlets.attribute.node.NodeAttributeResolver

All Implemented Interfaces
AttributeResolver<Node>, ContentResolverConstants, NodeResolverConstants

public class NodeAttributeResolver
extends com.bea.content.manager.servlets.attribute.impl.AbstractContentAttributeResolver<Node>
implements NodeResolverConstants

This attribute resolver is responsible for retrieve a node using the CM apis.


Field Summary

 

Fields inherited from class com.bea.content.manager.servlets.attribute.impl.AbstractContentAttributeResolver
debug, txDebug

 

Fields inherited from interface com.bea.content.manager.servlets.attribute.node.NodeResolverConstants
ATTR_NODE_ID, ATTR_NODE_PATH

 

Constructor Summary
NodeAttributeResolver()
           

 

Method Summary
protected  Map<String,Object> getDefaultContextValues()
          Returns a map of key/values that contain default values if/when their associated context keys are null or not provided.
protected  ID getNodeID(AttributeContext context)
           
protected  String getNodePath(AttributeContext context)
           
protected  Set<String> getRequiredContextAttributes()
          Returns a collection of required AttributeContext keys.
protected  Map<String,Class<?>> getValidContextAttributeClasses()
          Used for validation of classes associated with context keys.
 Node resolveAttribute(AttributeContext context)
          Resolves a node based on the provided attribute context.
 void resolveAttribute(AttributeContext context, Writer writer)
          This method is not supported by this implementation of attribute resolver.
 String resolveAttributeToString(AttributeContext context)
          Returns the string representation of the node.
protected  void validateAttributeContext(AttributeContext context)
          Validates the AttributeContext based on required attributes and context attribute values.

 

Methods inherited from class com.bea.content.manager.servlets.attribute.impl.AbstractContentAttributeResolver
checkCallerCanViewNode, getContextAttribute, validateAttributeValueFromOptions

 

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

 

Constructor Detail

NodeAttributeResolver

public NodeAttributeResolver()

Method Detail

resolveAttribute

public Node resolveAttribute(AttributeContext context)
Resolves a node based on the provided attribute context. <p/> The following context attributes are required for this attribute resolver: Either: