LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.parser
Class LySAXParser

java.lang.Object
  extended by leon.parser.LySAXParser
Direct Known Subclasses:
LyInfoParser, LyViewParser

public abstract class LySAXParser
extends java.lang.Object

This class represents our abstract Xml Sax parser.

See Also:
LyXmlNode

Field Summary
static java.lang.String __VERSION
           
static java.lang.String COMMENTS_END_KEY
          When parsing the meta model, comments are usually ignored.
static java.lang.String COMMENTS_START_KEY
          When parsing the meta model, comments are usually ignored.
static boolean RESOLVE_XML_ENTITIES
          Indicates that the XML parser should search in the CLASSPATH for entities.
 
Constructor Summary
LySAXParser()
          Constructs a validating SAX parser.
LySAXParser(boolean validating)
          Constructs a SAX parser.
 
Method Summary
 java.lang.Object getRootElement()
          Gets the parser root element.
 boolean isValidating()
          Checks whether this parser is validating or not.
 
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

RESOLVE_XML_ENTITIES

public static boolean RESOLVE_XML_ENTITIES
Indicates that the XML parser should search in the CLASSPATH for entities.


COMMENTS_START_KEY

public static java.lang.String COMMENTS_START_KEY
When parsing the meta model, comments are usually ignored. If this value is set, comments containing this String are kept on next LyInfo and may be used by code. Studio keeps them.


COMMENTS_END_KEY

public static java.lang.String COMMENTS_END_KEY
When parsing the meta model, comments are usually ignored. If this value is set, comments containing this String are kept on next LyInfo and may be used by code. Studio keeps them.

Constructor Detail

LySAXParser

public LySAXParser()
Constructs a validating SAX parser.


LySAXParser

public LySAXParser(boolean validating)
Constructs a SAX parser.

Parameters:
validating - indicates if the parser is validating or not.
Method Detail

getRootElement

public java.lang.Object getRootElement()
Gets the parser root element.

Returns:
Root element built by this parser.

isValidating

public boolean isValidating()
Checks whether this parser is validating or not.

Returns:
True if validating, false otherwise.

(c) January 2013 - W4 S.A.

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