|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.parser.LyXmlNode
leon.view.LyViewNode
public class LyViewNode
This class is used to offer temporary storage to LyComponent instances. We chose not to extend ElementNode directly from LyComponent to save memory. In user execution mode, these instances can be freed after loading because they are totally unuseful at this time.
LyXmlNode
,
LyComponent
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyViewNode(org.xml.sax.Attributes attributes,
LyViewNodeFactory factory)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String attributeName)
Overriden to fetch attribute name. |
LyComponent |
getComponent(java.lang.String attributeName)
Utility method to get the value of an attribute as an LyComponent. |
LyEnvironment |
getEnvironment()
Access to the environment. |
int |
getInt(java.lang.String attributeName,
int defaultValue)
Utility method to get the value of an attribute as an int. |
boolean |
isSpecified(java.lang.String attributeName)
Checks if the attribute with given name is specified or not. |
Methods inherited from class leon.parser.LyXmlNode |
---|
getBoolean, getBoolean, getDate, getDouble, getDouble, getFloat, getFloat, getInt, getNumber, getString, getString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyViewNode(org.xml.sax.Attributes attributes, LyViewNodeFactory factory)
Method Detail |
---|
public java.lang.String getAttribute(java.lang.String attributeName)
getAttribute
in class LyXmlNode
attributeName
- the attribute name
public LyEnvironment getEnvironment()
public int getInt(java.lang.String attributeName, int defaultValue)
getInt
in class LyXmlNode
attributeName
- the attribute name.defaultValue
- the value to return for the attribute if no value is specified
LyXmlNode.getInt(java.lang.String, int)
public LyComponent getComponent(java.lang.String attributeName)
public boolean isSpecified(java.lang.String attributeName)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |