Interface XHTMLDataDefinitionBlock
-
- All Superinterfaces:
BaseAsset
,Block
,FolderContainedAsset
,MetadataAwareAsset
,NamedAsset
,PermissionsCapableAsset
,StructuredDataCapableAsset
public interface XHTMLDataDefinitionBlock extends Block, StructuredDataCapableAsset
Represents a XHTML/Data Definition Block asset.- Since:
- 4.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getXHTML()
Get the XHTML content of this block.org.jdom.Element
getXHTMLAsXMLElement()
Get the block's XHTML content as XML element instead of String-
Methods inherited from interface com.hannonhill.cascade.api.asset.common.BaseAsset
getAssetId, getAssetType, getIdentifer
-
Methods inherited from interface com.hannonhill.cascade.api.asset.home.Block
getBlockType
-
Methods inherited from interface com.hannonhill.cascade.api.asset.home.FolderContainedAsset
getCreatedBy, 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.MetadataAwareAsset
getLabel, getLinkingAssets, getMetadata, getMetadataSet, getMetadataSetId
-
Methods inherited from interface com.hannonhill.cascade.api.asset.common.NamedAsset
getName, setName
-
Methods inherited from interface com.hannonhill.cascade.api.asset.common.PermissionsCapableAsset
isCurrentUserCanRead, isCurrentUserCanWrite, isUserCanRead, isUserCanWrite
-
Methods inherited from interface com.hannonhill.cascade.api.asset.home.StructuredDataCapableAsset
getDataDefinition, getDataDefinitionId, getDataDefinitionPath, getStructuredData, getStructuredDataNode, getStructuredDataNodes, getStructuredDataNodesWithFieldId, getStructuredDataNodeWithFieldId, setName
-
-
-
-
Method Detail
-
getXHTML
java.lang.String getXHTML() throws java.lang.Exception
Get the XHTML content of this block.- Returns:
- the XHTML content as a String
- Throws:
java.lang.Exception
- An exception will be thrown if the blocks's XHTML contents are not valid XML
-
getXHTMLAsXMLElement
org.jdom.Element getXHTMLAsXMLElement() throws java.lang.Exception
Get the block's XHTML content as XML element instead of String- Returns:
- Throws:
java.lang.Exception
-
-