home *** CD-ROM | disk | FTP | other *** search
- <!-- AdventNet Parser Framework configuration file -->
-
- <!-- Defines the contents of the MESSAGE-PARSER -->
- <!ELEMENT MESSAGE-PARSER (PARSER*) >
-
- <!-- The PARSER element contains the description of the parser that should be
- used for parsing the responses for commands present within it. The TYPE
- attribute acts as an identifier for the particular kind of parser. The
- CLASSNAME attribute specifies the class name of the ParserInterface
- implementation. The class specified here will be used for interpreting
- data within the METADATA tag -->
- <!ELEMENT PARSER (COMMAND+) >
- <!ATTLIST PARSER
- TYPE CDATA #REQUIRED
- CLASSNAME CDATA #REQUIRED
- >
-
- <!-- The COMMAND element refers to the command whose response needs to be
- parsed. The Command is identified by the NAME attribute-->
- <!ELEMENT COMMAND (METADATA) >
- <!ATTLIST COMMAND
- NAME CDATA #REQUIRED>
-
- <!-- The METADATA element corresponds to the rule using which the Response
- needs to be parsed. The contents inside the METADATA are directly passed
- to the class that was specified in CLASSNAME attribute of the PARSER
- element for interpretation -->
- <!ELEMENT METADATA EMPTY >
-