cz.zcu.fav.kiv.editor.stylesheet
Class OpenFileHadler

java.lang.Object
  extended by cz.zcu.fav.kiv.editor.stylesheet.OpenFileHadler

public class OpenFileHadler
extends java.lang.Object

The OpenFileHadler class contains methods for processing elements of loading XSL stylesheet files.

Version:
1.0, 05/2007
Author:
Marta Vaclavikova

Constructor Summary
OpenFileHadler()
           
 
Method Summary
static void parserParameterTag(org.w3c.dom.Element node, int line, ConfigData data)
          Parses node 'parameter' and its value in the input XSL file.
static void parserPropertyAttribute(org.w3c.dom.Element node, int line, Property propery)
          Parses node 'attribute' of the node 'attribute-set' and its value in the input XSL file.
static Property parserPropertyTag(org.w3c.dom.Element node, int line, ConfigData data)
          Parses node 'attribute-set' and its value in the input XSL file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenFileHadler

public OpenFileHadler()
Method Detail

parserParameterTag

public static void parserParameterTag(org.w3c.dom.Element node,
                                      int line,
                                      ConfigData data)
Parses node 'parameter' and its value in the input XSL file.

Parameters:
node - the node 'parameter' in the input XSL file.
line - the number of line where is the node 'parameter' in the input XSL file.
data - the data containing editor data structure.

parserPropertyTag

public static Property parserPropertyTag(org.w3c.dom.Element node,
                                         int line,
                                         ConfigData data)
Parses node 'attribute-set' and its value in the input XSL file.

Parameters:
node - the node 'attribute-set' in the input XSL file.
line - the number of line where is the node 'attribute-set' in the input XSL file.
data - the data containing editor data structure.
Returns:
the editor property corresponding to the node 'attribute-set'

parserPropertyAttribute

public static void parserPropertyAttribute(org.w3c.dom.Element node,
                                           int line,
                                           Property propery)
Parses node 'attribute' of the node 'attribute-set' and its value in the input XSL file.

Parameters:
node - the node 'attribute' in the input XSL file.
line - the number of line where is the node 'attribute' in the input XSL file.
propery - the parent property of attribute.