|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.services.psmlmanager.db.DBUtils
This is a utility class used for database PSML implementation.
| Constructor Summary | |
DBUtils()
|
|
| Method Summary | |
static Portlets |
bytesToPortlets(byte[] portletBytes,
org.exolab.castor.mapping.Mapping mapping)
Deserialize a PSML structure read from bytes array using Castor XML unmarshaller |
static byte[] |
portletsToBytes(Portlets portlets,
org.exolab.castor.mapping.Mapping mapping)
Serialize a PSML structure using string writer with Castor XML marshaller, put it in bytes array and return it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DBUtils()
| Method Detail |
public static Portlets bytesToPortlets(byte[] portletBytes,
org.exolab.castor.mapping.Mapping mapping)
portletBytes - Bytes array to load the PSML from
public static byte[] portletsToBytes(Portlets portlets,
org.exolab.castor.mapping.Mapping mapping)
portlets - the structure to convert to bytes array
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||