Extension SDK 9.0.5

Package oracle.jdeveloper.audit.model

The base classes for defining the Audit object model.

See:
          Description

Interface Summary
DocumentAdapterFactory A factory for document adapters.
Located A marker interface which identifies objects which have a Location.
PackageDirectory A single directory contributing to a package.
 

Class Summary
DocumentAdapter An abstract adapter between a JDeveloper document and the Audit framework.
DocumentTypeAdapter An adapter between a document type of the IDE and the Audit framework.
Location A location in a document in a project.
TextDocumentAdapter An abstract document adapter which specializes DocumentAdapter for text documents.
TextDocumentAdapter.TextBufferTracker A model which tracks edits to a text buffer.
TextDocumentAdapter.TextBufferTracker.Edit A representation of a single edit.
 

Package oracle.jdeveloper.audit.model Description

The base classes for defining the Audit object model. The Audit object model is the set of constructs traversed by Audit and is in reality composed of multiple models, each corresponding to a different document type in the IDE. The different models are largely independent of each other, although some, such as the Java and the EJB deployment descriptor models, are closely coupled.

The IDE document types which are included in the Audit object model are defined by the set of DocumentTypeAdapter subclasses registered with Audit at IDE initialization. Each type adapter subclass knows the IDE Element classes, including the actual Document class(es), which correspond to its document type. Each type adapter subclass also knows its corresponding DocumentAdapter subclass and how to create instances of it.

A DocumentAdapter knows how to get the constructs from its document, and works with the Location class to identify and track constructs as documents evolve. The Audit framework mostly works in terms of document adapters and locations.

Note that workspaces, projects, and packages are not exactly documents in the sense described above, but for uniformity, DocumentTypeAdapter and DocumentAdapter classes are provided to integrate the IDE Workspaces, Workspace, Project, PackageFolder, and related nodes into the Audit object model.


Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.