KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > htmleditors > JahiaClientCapabilities


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12
//
13

14 package org.jahia.services.htmleditors;
15
16 /**
17  * <p>Title: ClientCapabilities Interface</p>
18  * <p>Description: Interface for Client Capabilities</p>
19  * <p>Copyright: Copyright (c) 2002</p>
20  * <p>Company: Jahia S.A.R.L</p>
21  * @author Khue Nguyen
22  * @version 1.0
23  */

24
25 public class JahiaClientCapabilities implements ClientCapabilities {
26
27     private String JavaDoc clientAgent;
28
29     /**
30      * Constructor initialized with the Client Agent value
31      *
32      * @param clientAgent
33      */

34     public JahiaClientCapabilities(String JavaDoc clientAgent){
35         this.clientAgent = clientAgent;
36     }
37
38     /**
39      * Returns the Client Agent as String.
40      *
41      * @return the Client Agent
42      */

43     public String JavaDoc getClientAgent(){
44         return this.clientAgent;
45     }
46
47 }
Popular Tags