The interfaces and classes implementing an IDE's data model. JSR-198 specifies typical IDE documents that extension writers need to access from their extensions. These documents include:

This package also provides the framework for introducing new document types. To add custom text or xml documents, extensions writers extend {@link javax.ide.model.text.TextDocument} or {@link javax.ide.model.xml.XMLDocument}, respectively. To add a new custom document type extension writers extend the {@link javax.ide.model.Document} and declare in their extension manifest how to recognize their new document class.

The {@link javax.ide.model.DocumentFactory} processes the {@link javax.ide.model.Recognizer} information from the extension manifest and uses that information when clients request a document from the factory.