by.belsoft.report.tools.reportdb
Class ViewMethods

java.lang.Object
  |
  +--by.belsoft.report.tools.reportdb.CommonMethods
        |
        +--by.belsoft.report.tools.reportdb.ViewMethods

public class ViewMethods
extends CommonMethods

The class to work with view xml

Author:
Ilya Kirillov

Constructor Summary
ViewMethods()
           
 
Method Summary
 java.util.ArrayList getPropertyTables(org.w3c.dom.Document doc)
          getPropertyTables gets property tables
 BaseTakenUp getSavedTable(org.w3c.dom.Document doc, java.lang.String id)
          getSavedTable gets saved table
 java.util.ArrayList getStructureTables(org.w3c.dom.Document doc)
          getStructureTables gets structure tables
 BaseTakenUp makeBaseTakenUpTables(BaseTakenUp to, org.w3c.dom.Node what)
          makeBaseTakenUpTables makes container tables from node
 BaseTakenUp makePropertyObject(BaseTakenUp container, org.w3c.dom.Node what)
          makePropertyObject makes property object
 BaseTakenUp makePropertyTables(BaseTakenUp to, org.w3c.dom.Node what)
          makePropertyTables makes property tables
 void removeRowUnusedNodes(org.w3c.dom.Document doc)
          removeRowUnusedNodes removes unnecessary rows
 org.w3c.dom.Document updateGeneralViewContainer(org.w3c.dom.Document doc, BaseTakenUp container)
          updateGeneralViewContainer updates all view.xml file
 
Methods inherited from class by.belsoft.report.tools.reportdb.CommonMethods
getStaticElement, getStaticElements, getTables, makeBaseTakenUpObject, makeBaseTakenUpObjects, makeBaseTakenUpXML, updateTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewMethods

public ViewMethods()
Method Detail

updateGeneralViewContainer

public org.w3c.dom.Document updateGeneralViewContainer(org.w3c.dom.Document doc,
                                                       BaseTakenUp container)
updateGeneralViewContainer updates all view.xml file

Parameters:
doc - Document the document element
container - BaseTakenUp the view container
Returns:
Document the updated document

getSavedTable

public BaseTakenUp getSavedTable(org.w3c.dom.Document doc,
                                 java.lang.String id)
getSavedTable gets saved table

Parameters:
doc - Document the document element
id - String the table id
Returns:
BaseTakenUp the result container

removeRowUnusedNodes

public void removeRowUnusedNodes(org.w3c.dom.Document doc)
removeRowUnusedNodes removes unnecessary rows

Parameters:
doc - Document the document element

getStructureTables

public java.util.ArrayList getStructureTables(org.w3c.dom.Document doc)
getStructureTables gets structure tables

Parameters:
doc - Document the document element
Returns:
ArrayList list with tables

makeBaseTakenUpTables

public BaseTakenUp makeBaseTakenUpTables(BaseTakenUp to,
                                         org.w3c.dom.Node what)
makeBaseTakenUpTables makes container tables from node

Parameters:
to - BaseTakenUp where to put data
what - Node the node to parse
Returns:
BaseTakenUp the result container

getPropertyTables

public java.util.ArrayList getPropertyTables(org.w3c.dom.Document doc)
getPropertyTables gets property tables

Parameters:
doc - Document the document element
Returns:
ArrayList the result list

makePropertyTables

public BaseTakenUp makePropertyTables(BaseTakenUp to,
                                      org.w3c.dom.Node what)
makePropertyTables makes property tables

Parameters:
to - BaseTakenUp where to put data
what - Node to be parsed
Returns:
BaseTakenUp the result container

makePropertyObject

public BaseTakenUp makePropertyObject(BaseTakenUp container,
                                      org.w3c.dom.Node what)
makePropertyObject makes property object

Parameters:
container - BaseTakenUp the container to put data
what - Node the node to parse
Returns:
BaseTakenUp the result container


Copyright © 2005 BelSoft Inc. All Rights Reserved.