org.netbeans.modules.xml.dtd.grammar |
Simple DTD completion grammar
Simple DTD based Completion Grammar Package
This package implements simple DTD grammar. It means
that the grammar can resolve queries by using no
document context. It means that if a content model declaration
prescribes a sequence and a document already contains
starting sequence members the grammar will provide
these also because it does not support document context.
This simplification is same as for HTML grammar provided
by editor module.
On the other hand there it prepared class {@link ContentModel}
that handles it. It is ready to be integrated.
|
Java Source File Name | Type | Comment |
ContentModel.java | Class | Implementation of queriable DTD content models. |
ContentModelTest.java | Class | Tests DTD code completion for exact content models. |
DTDGrammar.java | Class | Rather simple query implemetation based on DTD grammar. |
DTDGrammarQueryProvider.java | Class | Provide DTD grammar. |
DTDParser.java | Class | Produces
DTDGrammar from passed SAX declaration handler events. |
DTDParserTest.java | Class | It tests if internal and external DTD is properly parsed. |