leon.info
Class LyInfoDataFactory
java.lang.Object
leon.info.LyInfoFactory
leon.info.LyInfoDataFactory
- All Implemented Interfaces:
- LyXMLElementFactory
public final class LyInfoDataFactory
- extends LyInfoFactory
- implements LyXMLElementFactory
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:
LyInfoParser
,
LyInfo
,
LyObjectInfo
,
LyFieldInfo
,
LyChoiceFieldInfo
,
LyChoiceOption
,
LyDateFieldInfo
,
LyFileFieldInfo
,
LyNumberFieldInfo
,
LyRelationFieldInfo
,
LyTextFieldInfo
,
LyClassInfo
,
LyProject
,
LyFilter
,
LyFilterExpression
,
LyFilterRelation
,
LySort
,
LySortCriterion
,
LyRoute
,
LyStep
Field Summary |
static java.lang.String |
__VERSION
|
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyInfoDataFactory
public LyInfoDataFactory(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.
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.
Website: W4 S.A., contact us: support@w4global.com