|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.content.manager.servlets.common.ContentPropertyHelper
public class ContentPropertyHelper
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 |
---|
public static Property getPropertyFromNode(Node node, String propertyName) throws AuthorizationException, RepositoryException
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.
node
- propertyName
-
AuthorizationException
RepositoryException
public static Property getPropertyFromNode(Node node, Version version, String propertyName) throws AuthorizationException, RepositoryException
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.
It is important to note that some explicit properties are not versioned and will be retrieved from the node itself. These include:
node
- the node to retrieve the property fromversion
- the version of the node to retrieve the property from.propertyName
- the name of the property to retrieve.
AuthorizationException
RepositoryException
public static String convertString(String conversionType, String in)
conversionType
- "html", "url", or anything else for no encoding.in
- the string
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |