Package eu.bandm.tools.xantlr
Class XmlRepresentationFilter
java.lang.Object
antlr.TreeParser
eu.bandm.tools.xantlr.XmlRepresentationFilter
- All Implemented Interfaces:
- ANTLRFilter,- XmlRepresentationFilterTokenTypes
public class XmlRepresentationFilter
extends antlr.TreeParser
implements XmlRepresentationFilterTokenTypes, ANTLRFilter
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final String[](package private) String(package private) XmlRepresentation.Type(package private) String(package private) XmlRepresentation(package private) String(package private) String(package private) String(package private) boolean(package private) boolean(package private) final HashMap<String, XmlRepresentation> Fields inherited from class antlr.TreeParser_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepthFields inherited from interface eu.bandm.tools.xantlr.XmlRepresentationFilterTokenTypesACTION, Alternative, ARG_ACTION, ASSIGN, BANG, CARET, CHAR_LITERAL, CharSet, ClassDef, CLOSE_ELEMENT_OPTION, COLON, COMMA, COMMENT, DIGIT, DOC_COMMENT, Element, EOF, ESC, Grammar, IMPLIES, INT, INTERNAL_RULE_REF, LastInRule, LITERAL_catch, LITERAL_charVocabulary, LITERAL_class, LITERAL_exception, LITERAL_extends, LITERAL_header, LITERAL_lexclass, LITERAL_Lexer, LITERAL_options, LITERAL_Parser, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_returns, LITERAL_throws, LITERAL_tokens, LITERAL_TreeParser, LPAREN, ML_COMMENT, NESTED_ACTION, NESTED_ARG_ACTION, NOT_OP, NULL_TREE_LOOKAHEAD, OPEN_ELEMENT_OPTION, OPTIONS, OR, PLUS, QUESTION, RANGE, RCURLY, RPAREN, Rule, RULE_REF, SEMI, SEMPRED, SL_COMMENT, STAR, STRING_LITERAL, SuperClass, TOKEN_REF, TOKENS, TokensSpecOptions, TREE_BEGIN, WILDCARD, WS, WS_LOOP, WS_OPT, XDIGIT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal voidalternative(antlr.collections.AST _t) final voidast_type_spec(antlr.collections.AST _t) final voidblock(antlr.collections.AST _t) final voidcharSet(antlr.collections.AST _t) final voidclassDef(antlr.collections.AST _t) final voidebnf(antlr.collections.AST _t) final voidelement(antlr.collections.AST _t) final voidelementNoOptionSpec(antlr.collections.AST _t) final voidelementOptionSpec(antlr.collections.AST _t) final voidexceptionGroup(antlr.collections.AST _t) final voidexceptionHandler(antlr.collections.AST _t) final voidexceptionSpec(antlr.collections.AST _t) final voidexceptionSpecNoLabel(antlr.collections.AST _t) final voidfileOptionsSpec(antlr.collections.AST _t) (package private) XmlRepresentationgetXmlRepresentation(String className, String ruleName) final voidgrammar(antlr.collections.AST _t) final voidid(antlr.collections.AST _t) final voidlexerOptionsSpec(antlr.collections.AST _t) final voidlexerSpec(antlr.collections.AST _t) final voidnotTerminal(antlr.collections.AST _t) final voidoptionValue(antlr.collections.AST _t) final voidparserOptionsSpec(antlr.collections.AST _t) final voidparserSpec(antlr.collections.AST _t) final voidqualifiedID(antlr.collections.AST _t) final voidrange(antlr.collections.AST _t) final voidrootNode(antlr.collections.AST _t) final voidrule(antlr.collections.AST _t) final voidruleOptionsSpec(antlr.collections.AST _t) final voidrules(antlr.collections.AST _t) final voidsetBlockElement(antlr.collections.AST _t) voidsetFilename(String filename) final voidsubruleOptionsSpec(antlr.collections.AST _t) final voidsuperClass(antlr.collections.AST _t) final voidterminal(antlr.collections.AST _t) final voidtokensSpec(antlr.collections.AST _t) final voidtokensSpecOptions(antlr.collections.AST _t) final voidtree(antlr.collections.AST _t) final voidtreeParserOptionsSpec(antlr.collections.AST _t) final voidtreeParserSpec(antlr.collections.AST _t) Methods inherited from class antlr.TreeParsergetAST, getASTFactory, getTokenName, getTokenNames, match, match, matchNot, panic, reportError, reportError, reportWarning, setASTFactory, setASTNodeClass, setASTNodeType, traceIn, traceIndent, traceOutMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.bandm.tools.xantlr.ANTLRFiltergetAST
- 
Field Details- 
filenameString filename
- 
currentClassString currentClass
- 
currentRuleString currentRule
- 
currentDefaultNodeTypeXmlRepresentation.Type currentDefaultNodeType
- 
defaultNamespaceURIString defaultNamespaceURI
- 
defaultNamespacePrefixString defaultNamespacePrefix
- 
currentXmlXmlRepresentation currentXml
- 
isLexerboolean isLexer
- 
xml
- 
namespaceMapping
- 
forTDOMboolean forTDOM
- 
_tokenNames
 
- 
- 
Constructor Details- 
XmlRepresentationFilterpublic XmlRepresentationFilter()
 
- 
- 
Method Details- 
getXmlRepresentation
- 
setFilename
- 
getFilename
- 
fileOptionsSpecpublic final void fileOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
idpublic final void id(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
optionValuepublic final void optionValue(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
parserOptionsSpecpublic final void parserOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
parserSpecpublic final void parserSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
superClasspublic final void superClass(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
tokensSpecpublic final void tokensSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
lexerSpecpublic final void lexerSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
lexerOptionsSpecpublic final void lexerOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
treeParserSpecpublic final void treeParserSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
treeParserOptionsSpecpublic final void treeParserOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
rulepublic final void rule(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
ruleOptionsSpecpublic final void ruleOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
blockpublic final void block(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
exceptionGrouppublic final void exceptionGroup(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
grammarpublic final void grammar(antlr.collections.AST _t) throws antlr.RecognitionException - Specified by:
- grammarin interface- ANTLRFilter
- Throws:
- antlr.RecognitionException
 
- 
classDefpublic final void classDef(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
rulespublic final void rules(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
charSetpublic final void charSet(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
subruleOptionsSpecpublic final void subruleOptionsSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
qualifiedIDpublic final void qualifiedID(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
setBlockElementpublic final void setBlockElement(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
tokensSpecOptionspublic final void tokensSpecOptions(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
alternativepublic final void alternative(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
elementpublic final void element(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
exceptionSpecNoLabelpublic final void exceptionSpecNoLabel(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
exceptionSpecpublic final void exceptionSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
exceptionHandlerpublic final void exceptionHandler(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
elementNoOptionSpecpublic final void elementNoOptionSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
elementOptionSpecpublic final void elementOptionSpec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
rangepublic final void range(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
terminalpublic final void terminal(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
notTerminalpublic final void notTerminal(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
ebnfpublic final void ebnf(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
treepublic final void tree(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
rootNodepublic final void rootNode(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
- 
ast_type_specpublic final void ast_type_spec(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
- antlr.RecognitionException
 
 
-