| |
|
| java.lang.Object dom.DOMSubDocument com.knowgate.dataxslt.Page
Page | public class Page extends DOMSubDocument (Code) | | PageSet Page
This class represents a <page></page> section of a PageSet XML definition file.
author: Sergio Montoro Ten version: 1.1 |
Method Summary | |
public int[] | blockIds() Get a list of Block identifiers in source order
Array of Block Identifiers in the same order as thay appear in source document. throws: NumberFormatException - If any Block Id. | public Vector | blocks() Get Page blocks.
Vector containing objects of class Block for this Page. Returned blocks are always sorted by their metablock id attribute and theirblock id attribute. | public Vector | blocks(String sMetaBlockId, String sTag, String sZone) Get Page blocks matching a given criteria.
Parameters: sMetaBlockId - Identifier of metablock to match Parameters: sTag - Parameters: sZone - Vector containing objects of class Block for this Page. Blocks are returned in source order. | public String | container() | public String | filePath() | public void | filePath(String sPath) Set path to final document generated after XSL transformation of Page. | public Container | getContainer() | public PageSet | getPaseSet() | public String | getTitle() | public String | guid() | public String | nextBlockId() Get next free block integer identifier. | public void | permute(int[] aNewBlcksPerm) Permute Blocks
This method is used for reordering blocks. | public void | setTitle(String sTitle) Set <title>element contents. | public String | template() |
Page | public Page(Node oRefNode, PageSet oPagSet)(Code) | | Parameters: oRefNode - DOMDocument Node holding <page> element. Parameters: oPagSet - Reference to PageSet object that contains this page |
blockIds | public int[] blockIds() throws NumberFormatException(Code) | | Get a list of Block identifiers in source order
Array of Block Identifiers in the same order as thay appear in source document. throws: NumberFormatException - If any Block Id. is not an integer |
blocks | public Vector blocks() throws DOMException(Code) | | Get Page blocks.
Vector containing objects of class Block for this Page. Returned blocks are always sorted by their metablock id attribute and theirblock id attribute. The metablock id and the block id are concatenated throws: DOMException - If <blocks> node is not found |
blocks | public Vector blocks(String sMetaBlockId, String sTag, String sZone) throws DOMException(Code) | | Get Page blocks matching a given criteria.
Parameters: sMetaBlockId - Identifier of metablock to match Parameters: sTag - Parameters: sZone - Vector containing objects of class Block for this Page. Blocks are returned in source order. Independently of theit id attribute value. throws: DOMException - If <blocks> node is not found |
container | public String container()(Code) | | GUID of Container that describes this Page structure
String representing the Container GUID |
filePath | public String filePath()(Code) | | Path to final document generated after XSL transformation of Page.This property is not part of the Page XML file but it is set at runtime andstored appart. |
filePath | public void filePath(String sPath)(Code) | | Set path to final document generated after XSL transformation of Page.
This property is not part of the Page XML file but it is set at runtime and
stored appart.
Parameters: sPath - Path to generated XHTML (or other) final file. |
getContainer | public Container getContainer()(Code) | | Reference to Container object that describes this Page structure
|
getPaseSet | public PageSet getPaseSet()(Code) | | Reference to PageSet object that contains this Page
|
getTitle | public String getTitle()(Code) | | <title>element contents. |
guid | public String guid()(Code) | | Value of attribute guid for this Page at PageSet XML file
GUID of this Page |
setTitle | public void setTitle(String sTitle)(Code) | | Set <title>element contents.
Parameters: sTitle - |
|
|
|