public class MetaBlock
extends dom.DOMSubDocument
Microsite MetaBlock.
This class represents a <metablock></metablock> section of a Microsite XML definition file. The XML file is first parsed into a DOMDocument and then DOMDocument nodes are wrapped with classes that add specific Microsite behavior.
Constructor and Description |
---|
MetaBlock(org.w3c.dom.Node oRefNode) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowHTML() |
java.lang.String |
id() |
int |
maxoccurs()
Get metablock <maxoccurs> node
|
java.lang.String |
name() |
java.lang.String[] |
objects()
Split <objects> node by commas and return resulting array
|
java.lang.String |
template() |
java.lang.String |
thumbnail() |
public MetaBlock(org.w3c.dom.Node oRefNode)
oRefNode
- DOMDocument Node holding <metablock> element.public boolean allowHTML()
public java.lang.String id()
public int maxoccurs() throws java.lang.NumberFormatException
Get metablock <maxoccurs> node
java.lang.NumberFormatException
- If maxoccurs value is not a valid integerpublic java.lang.String name()
public java.lang.String template()
public java.lang.String thumbnail()
public java.lang.String[] objects()
Split <objects> node by commas and return resulting array