LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info
Class LyInfoGuiFactory

java.lang.Object
  extended by leon.info.LyInfoFactory
      extended by leon.info.LyInfoGuiFactory
All Implemented Interfaces:
LyXMLElementFactory

public class LyInfoGuiFactory
extends LyInfoFactory

This class builds instances corresponding to XML tags read from the data description file. Almost all objects built during parsing inherit from LyInfo (except very elementary objects).

See Also:
LyAction, LyCompoundAction, LyTabAction, LyRule, LyChartInfo, LyPreference

Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.info.LyInfoFactory
NULL_VALUE, OLD_NULL_VALUE
 
Constructor Summary
LyInfoGuiFactory(LyInfoParser parser, LyApplication application)
          Constructor of the factory for an application.
 
Method Summary
 java.lang.Object buildElement(LyInfoNode node, java.lang.String tag)
          Builds node corresponding to an element read from the XML data description file.
 
Methods inherited from class leon.info.LyInfoFactory
buildElement, endElement, getInfo, getParsingErrors
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyInfoGuiFactory

public LyInfoGuiFactory(LyInfoParser parser,
                        LyApplication application)
Constructor of the factory for an application. All objects built by this factory will belong to the given application.

Parameters:
parser - Parser that builts this factory.
application - Application for which the factory is built.
Method Detail

buildElement

public java.lang.Object buildElement(LyInfoNode node,
                                     java.lang.String tag)
                              throws org.xml.sax.SAXException
Builds node corresponding to an element read from the XML data description file. The result associated to the built node depends on the node tag. This method is invoked by SAXParser at the beginning of each new tag.

Overrides:
buildElement in class LyInfoFactory
Parameters:
tag - Current tag.
node - Current node.
Returns:
The object built corresponding to the given tag and attributes.
Throws:
org.xml.sax.SAXException - if the result could not have been built.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com