Skip navigation links


com.bea.content.manager.servlets.common
Class ContentPropertyHelper

java.lang.Object
  extended by com.bea.content.manager.servlets.common.ContentPropertyHelper


public class ContentPropertyHelper
extends Object

Helper class for routine taglib methods.


Method Summary
static String convertString(String conversionType, String in)
          Convert a string according to the specified convertType.
static Property getPropertyFromNode(Node node, String propertyName)
          Convenience method to retrieve a property by name from a node.
static Property getPropertyFromNode(Node node, Version version, String propertyName)
          Convenience method to retrieve a property by name from a node.

 

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

 

Method Detail

getPropertyFromNode

public static Property getPropertyFromNode(Node node,
                                           String propertyName)
                                    throws AuthorizationException,
                                           RepositoryException
Convenience method to retrieve a property by name from a node.

If the following standard properties are used as the property name then the corresponding value from the Node will be returned. These standard properties are not used if a particular version of the node is being used by specifying the version attribute.