Interface Page
- 
- All Superinterfaces:
- BaseAsset,- FolderContainedAsset,- MetadataAwareAsset,- NamedAsset,- PermissionsCapableAsset,- PublishableAsset,- StructuredDataCapableAsset
 
 public interface Page extends PublishableAsset, StructuredDataCapableAsset Represents a page asset.- Since:
- 4.7
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetXHTML()Get the page's XHTML content, possibly null if the page uses structured data.org.jdom.ElementgetXHTMLAsXMLElement()Get the page's XHTML content as XML element instead of String.voidsetXHTML(java.lang.String xhtml)Set the page's XHTML content.- 
Methods inherited from interface com.hannonhill.cascade.api.asset.common.BaseAssetgetAssetId, getAssetType, getIdentifer
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.home.FolderContainedAssetgetCreatedBy, getCreatedOn, getFolderOrder, getIdentifier, getLastModified, getLastModifiedBy, getParentFolder, getParentFolderIdentifier, getPath, getSite, getSiteId, getSiteName, getTags, isHideSystemName, setHideSystemName, setParentFolder, setParentFolderIdentifier
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.home.MetadataAwareAssetgetLabel, getLinkingAssets, getMetadata, getMetadataSet, getMetadataSetId
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.common.NamedAssetgetName, setName
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.common.PermissionsCapableAssetisCurrentUserCanRead, isCurrentUserCanWrite, isUserCanRead, isUserCanWrite
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.home.PublishableAssetgetLastPublishedBy, getLastPublishedOn, getLink, getShouldBeIndexed, getShouldBePublished, setIncludeWhenIndexing, setIncludeWhenPublishing
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.home.StructuredDataCapableAssetgetDataDefinition, getDataDefinitionId, getDataDefinitionPath, getStructuredData, getStructuredDataNode, getStructuredDataNodes, getStructuredDataNodesWithFieldId, getStructuredDataNodeWithFieldId, setName
 
- 
 
- 
- 
- 
Method Detail- 
getXHTMLjava.lang.String getXHTML() throws java.lang.ExceptionGet the page's XHTML content, possibly null if the page uses structured data.- Returns:
- the XHTML content as a String, or null if the page is a Structured Data page.
- Throws:
- java.lang.Exception- An exception will be thrown if the page's XHTML contents are not valid XML
 
 - 
getXHTMLAsXMLElementorg.jdom.Element getXHTMLAsXMLElement() throws java.lang.ExceptionGet the page's XHTML content as XML element instead of String. The returned Element will always be system-xml element containing the actual XHTML as its children.- Returns:
- Throws:
- java.lang.Exception
 
 - 
setXHTMLvoid setXHTML(java.lang.String xhtml) Set the page's XHTML content.- Parameters:
- xhtml- the content to be set
 
 
- 
 
-