Supporting components
The following classes support the use of Java™ with Notes/Domino and the Domino® Objects:
- AgentBase
- AppletBase and JAppletBase
- Base
- NotesAppletContext
- NotesError and NotesException
- NotesFactory
- NotesThread
- XSLTResultTarget
The following methods appear in numerous classes and are documented here rather than in each class:
The Domino Objects support the Visibility interface.
- AgentBase (Java)
Notes/Domino agents must extend AgentBase and use NotesMain() as the entry point for their functional code. Use getSession() to create a Session object. For output to browsers as well as Notes clients (the Java debug console), create a PrintWriter object with getAgentOutput(). - AppletBase and JAppletBase classes (Java)
Applets must extend AppletBase or JAppletBase and use notesAppletInit(), notesAppletStart(), and notesAppletStop() as the entry points for their functional code. Use openSession() or openSession(String user, String pwd) to create a Session object. - Base (Java)
The Base class defines methods that are common to all the classes. User code should not directly access the Base class. - BluemixContext (Java)
Used to help in the development of XPages applications running on Bluemix. This class provides properties to retrieve information from the XPages runtime and connection information from any bound XPages NoSQL Database service. - NotesAppletContext (Java)
An applet in a Domino database can call the following methods of NotesAppletContext to get the context of the applet: - NotesError and NotesException classes (Java)
The NotesException class extends java.lang.Exception to include exception handling for Notes/Domino. The NotesError class defines constants for Domino error codes. - NotesFactory (Java)
Applications call the NotesFactory createSession methods to create a Session object. - NotesThread (Java)
The NotesThread class extends java.lang.Thread to include special initialization and termination code for Notes/Domino. This extension to Thread is required to run Java programs that make local calls to the Notes/Domino classes. It is not necessary for remote calls. An application that makes both local and remote calls can determine dynamically when to use the static methods sinitThread and stermThread. Remote calls can be made while a local thread is running; however, do not use an object obtained through one session in a call to the other session. Applets that do not start threads and agents that extend AppletBase and AgentBase do not need to code for local versus remote calls, as this capability is provided in the base code. - XSLTResultTarget (Java)
This is a wrapper class for the XSLTResultTarget class in the com.lotus.xsl package that contains the result of a transformation when you use the new XSL Processor. An instance of this class provides a container for the XSLT Result tree. The XSLTResultTarget class extends java.lang.Object. - InputSource (EmbeddedObject - Java)
Read-only. SAX InputSource representation of the contents of an EmbeddedObject, Item, or MIMEEntity object. - InputStream (EmbeddedObject - Java)
Read-only. InputStream representation of the contents of an EmbeddedObject, Item, or MIMEEntity object. - Reader (EmbeddedObject - Java)
Read-only. Contents of an EmbeddedObject, Item, or MIMEEntity object in the form of a java.io.Reader object. - getURL (Java)
The following method: - parseXML (EmbeddedObject - Java)
Parses the contents of an attachment and creates the DOM tree of the XML. - recycle (Java)
The recycle method unconditionally destroys an object and returns its memory to the system. - toString (Java)
The following lotus.domino classes override the toString method of java.lang.Object and return values as indicated: - transformXML (EmbeddedObject - Java)
Transforms the contents of an attachment using the specified Domino EmbeddedObject, Item, MIMEEntity, or RichTextItem style, or any InputSource style, and provides the results to the specified XSLTResultTarget object. - Visibility interface
All lotus.domino classes implement the java.beans.Visibility interface and are configured to be invisible. The following methods return values as indicated:
Parent topic: Java Classes A-Z
Related concepts: