|
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.LyAbstractViewNodeFactory
leon.view.LyViewNodeFactory
public class LyViewNodeFactory
This class is used to build instances from the SAX Parser.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyViewNodeFactory(LyEnvironment environment)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
buildElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes,
java.lang.Object parent)
Builds the result corresponding to each node. |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.Object parent,
java.lang.Object current)
End of Build of a node. |
LyEnvironment |
getEnvironment()
Access to the environment. |
static java.lang.String |
getTag(java.lang.String className)
Utility method to tag name from class name. |
Methods inherited from class leon.parser.LyAbstractViewNodeFactory |
---|
getClassName |
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 LyViewNodeFactory(LyEnvironment environment)
Method Detail |
---|
public static java.lang.String getTag(java.lang.String className)
className
- className
public LyEnvironment getEnvironment()
public java.lang.Object buildElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes, java.lang.Object parent) throws org.xml.sax.SAXException
buildElement
in interface LyXMLElementFactory
uri
- The Namespace URI.localName
- The Namespace local name.qName
- The qualified (prefixed) name.attributes
- The SAX2 attributes.parent
- The parent node (created by #buildElement(String, String, String,
Attributes)
)
org.xml.sax.SAXException
- if the result could not have been built.public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.Object parent, java.lang.Object current) throws org.xml.sax.SAXException
endElement
in interface LyXMLElementFactory
uri
- The Namespace URI.localName
- The Namespace local name.qName
- The qualified (prefixed) name.parent
- - The parent node (created by buildElement)current
- - The current node (created by buildElement)
org.xml.sax.SAXException
- if the result could not have been built.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |