org.jboss.portal.cms
Class ContentNode
java.lang.Object
org.jboss.portal.cms.Node
org.jboss.portal.cms.ContentNode
public class ContentNode
- extends Node
A node that carries some content.
Constructor Summary |
ContentNode(org.apache.slide.common.NamespaceAccessToken nat,
org.apache.slide.common.SlideToken token,
org.apache.slide.structure.ObjectNode objectNode)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
contentType
protected java.lang.String contentType
contentBytes
protected byte[] contentBytes
ContentNode
public ContentNode(org.apache.slide.common.NamespaceAccessToken nat,
org.apache.slide.common.SlideToken token,
org.apache.slide.structure.ObjectNode objectNode)
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory
in class Node
getContentType
public java.lang.String getContentType()
throws CMSException
- Throws:
CMSException
getContent
public byte[] getContent()
throws CMSException
- Throws:
CMSException