Return-Path: X-Original-To: apmail-chemistry-commits-archive@www.apache.org Delivered-To: apmail-chemistry-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66EAF9DD5 for ; Tue, 3 Apr 2012 05:30:51 +0000 (UTC) Received: (qmail 74453 invoked by uid 500); 3 Apr 2012 05:30:51 -0000 Delivered-To: apmail-chemistry-commits-archive@chemistry.apache.org Received: (qmail 74418 invoked by uid 500); 3 Apr 2012 05:30:51 -0000 Mailing-List: contact commits-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list commits@chemistry.apache.org Received: (qmail 74409 invoked by uid 99); 3 Apr 2012 05:30:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 05:30:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 05:30:37 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id E407D2388A32; Tue, 3 Apr 2012 05:30:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1308700 [4/4] - in /chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools: ./ css/ images/ images/logos/ xref/ xref/org/ xref/org/apache/ xref/org/apache/chemistry/ xref/org/apache/chemistry/op... Date: Tue, 03 Apr 2012 05:30:12 -0000 To: commits@chemistry.apache.org From: gabriele@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120403053014.E407D2388A32@eris.apache.org> Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/Commander.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/Commander.html?rev=1308700&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/Commander.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/Commander.html Tue Apr 3 05:30:10 2012 @@ -0,0 +1,166 @@ + + + + +Commander xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.commander;
+20  
+21  import java.io.FileInputStream;
+22  import java.io.PrintWriter;
+23  import java.util.Enumeration;
+24  import java.util.HashMap;
+25  import java.util.LinkedHashMap;
+26  import java.util.Map;
+27  import java.util.Properties;
+28  
+29  import org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory;
+30  import org.apache.chemistry.opencmis.commons.SessionParameter;
+31  import org.apache.chemistry.opencmis.commons.exceptions.CmisBaseException;
+32  import org.apache.chemistry.opencmis.commons.spi.CmisBinding;
+33  
+34  /**
+35   * Commander tool main.
+36   *
+37   * @author <a href="mailto:fmueller@opentext.com">Florian M&uuml;ller</a>
+38   *
+39   */
+40  public class Commander {
+41  
+42      private static final Map<String, Command> COMMAND_MAP = new LinkedHashMap<String, Command>();
+43      static {
+44          addCommand(new InfosCommand());
+45          addCommand(new ListCommand());
+46          addCommand(new DeleteCommand());
+47      }
+48  
+49      private final PrintWriter fPW;
+50  
+51      /**
+52       * Constructor.
+53       */
+54      public Commander(String[] args) {
+55          fPW = new PrintWriter(System.out);
+56  
+57          if (args.length < 2) {
+58              printUsage(fPW);
+59              return;
+60          }
+61  
+62          try {
+63              // get the command object
+64              Command command = COMMAND_MAP.get(args[1].toLowerCase());
+65              if (command == null) {
+66                  printUsage(fPW);
+67                  return;
+68              }
+69  
+70              // get provider object
+71              CmisBinding binding = createBinding(args[0]);
+72  
+73              // prepare args
+74              String[] commandArgs = new String[args.length - 2];
+75              System.arraycopy(args, 2, commandArgs, 0, commandArgs.length);
+76  
+77              // execute
+78              command.execute(binding, commandArgs, fPW);
+79          } catch (Exception e) {
+80              fPW.println("Exception:");
+81  
+82              if (e instanceof CmisBaseException) {
+83                  fPW.println(e);
+84              } else {
+85                  e.printStackTrace(fPW);
+86              }
+87          } finally {
+88              fPW.flush();
+89          }
+90      }
+91  
+92      /**
+93       * Prints usage.
+94       */
+95      private static void printUsage(PrintWriter output) {
+96          output.println("CMIS Commander\n");
+97          output.println("Usage: Commander <config file> <command>\n");
+98          output.println("Available commands:");
+99          for (Command command : COMMAND_MAP.values()) {
+100             output.println("  " + command.getUsage());
+101         }
+102 
+103         output.flush();
+104     }
+105 
+106     /**
+107      * Creates the provider object
+108      */
+109     private static CmisBinding createBinding(String configFile) throws Exception {
+110         Properties properties = new Properties();
+111         properties.load(new FileInputStream(configFile));
+112 
+113         Map<String, String> sessionParameters = new HashMap<String, String>();
+114 
+115         for (Enumeration<?> e = properties.propertyNames(); e.hasMoreElements();) {
+116             String key = (String) e.nextElement();
+117             String value = properties.getProperty(key);
+118             sessionParameters.put(key, value);
+119         }
+120 
+121         CmisBindingFactory factory = CmisBindingFactory.newInstance();
+122 
+123         CmisBinding result = null;
+124         if (sessionParameters.containsKey(SessionParameter.ATOMPUB_URL)) {
+125             result = factory.createCmisAtomPubBinding(sessionParameters);
+126         } else if (sessionParameters.containsKey(SessionParameter.WEBSERVICES_REPOSITORY_SERVICE)) {
+127             result = factory.createCmisWebServicesBinding(sessionParameters);
+128         } else {
+129             throw new IllegalArgumentException("Cannot find CMIS binding information in config file!");
+130         }
+131 
+132         return result;
+133     }
+134 
+135     /**
+136      * Adds a command
+137      */
+138     private static final void addCommand(Command command) {
+139         if ((command == null) || (command.getCommandName() == null)) {
+140             return;
+141         }
+142 
+143         COMMAND_MAP.put(command.getCommandName().toLowerCase(), command);
+144     }
+145 
+146     /**
+147      * Main.
+148      */
+149     public static void main(String[] args) {
+150         new Commander(args);
+151     }
+152 }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/DeleteCommand.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/DeleteCommand.html?rev=1308700&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/DeleteCommand.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/DeleteCommand.html Tue Apr 3 05:30:10 2012 @@ -0,0 +1,76 @@ + + + + +DeleteCommand xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.commander;
+20  
+21  import java.io.PrintWriter;
+22  
+23  import org.apache.chemistry.opencmis.commons.spi.CmisBinding;
+24  
+25  public class DeleteCommand implements Command {
+26  
+27      /*
+28       * (non-Javadoc)
+29       * 
+30       * @see org.apache.opencmis.commander.Command#getCommandName()
+31       */
+32      public String getCommandName() {
+33          return "delete";
+34      }
+35  
+36      /*
+37       * (non-Javadoc)
+38       * 
+39       * @see org.apache.opencmis.commander.Command#getUsage()
+40       */
+41      public String getUsage() {
+42          return "DELETE <repository id> <object id> [all versions: true/false]";
+43      }
+44  
+45      public void execute(CmisBinding binding, String[] args, PrintWriter output) {
+46          if (args.length < 2) {
+47              output.println(getUsage());
+48              return;
+49          }
+50  
+51          String repositoryId = args[0];
+52          String objectId = args[1];
+53          Boolean allVersions = (args.length > 2 ? Boolean.valueOf(args[2]) : null);
+54  
+55          output.println("Deleting " + objectId + " ...");
+56          output.flush();
+57  
+58          binding.getObjectService().deleteObject(repositoryId, objectId, allVersions, null);
+59  
+60          output.println("done.");
+61      }
+62  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/InfosCommand.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/InfosCommand.html?rev=1308700&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/InfosCommand.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/InfosCommand.html Tue Apr 3 05:30:10 2012 @@ -0,0 +1,79 @@ + + + + +InfosCommand xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.commander;
+20  
+21  import java.io.PrintWriter;
+22  import java.util.List;
+23  
+24  import org.apache.chemistry.opencmis.commons.data.RepositoryInfo;
+25  import org.apache.chemistry.opencmis.commons.spi.CmisBinding;
+26  
+27  public class InfosCommand implements Command {
+28  
+29      /*
+30       * (non-Javadoc)
+31       *
+32       * @see org.apache.opencmis.commander.Command#getCommandName()
+33       */
+34      public String getCommandName() {
+35          return "infos";
+36      }
+37  
+38      /*
+39       * (non-Javadoc)
+40       *
+41       * @see org.apache.opencmis.commander.Command#getUsage()
+42       */
+43      public String getUsage() {
+44          return "INFOS";
+45      }
+46  
+47      public void execute(CmisBinding binding, String[] args, PrintWriter output) {
+48          List<RepositoryInfo> repositoryInfos = binding.getRepositoryService().getRepositoryInfos(null);
+49  
+50          for (RepositoryInfo repositoryInfo : repositoryInfos) {
+51              printRepositoryInfo(repositoryInfo, output);
+52          }
+53      }
+54  
+55      private static void printRepositoryInfo(RepositoryInfo repositoryInfo, PrintWriter output) {
+56          output.println("Id:           " + repositoryInfo.getId());
+57          output.println("Name:         " + repositoryInfo.getProductName());
+58          output.println("Description:  " + repositoryInfo.getDescription());
+59          output.println("Vendor:       " + repositoryInfo.getVendorName());
+60          output.println("Product:      " + repositoryInfo.getProductName() + " " + repositoryInfo.getProductVersion());
+61          output.println("Root Folder:  " + repositoryInfo.getRootFolderId());
+62          output.println("Capabilities: " + repositoryInfo.getCapabilities());
+63          output.println("------------------------------------------------------");
+64      }
+65  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/ListCommand.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/ListCommand.html?rev=1308700&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/ListCommand.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/ListCommand.html Tue Apr 3 05:30:10 2012 @@ -0,0 +1,98 @@ + + + + +ListCommand xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.commander;
+20  
+21  import java.io.PrintWriter;
+22  
+23  import org.apache.chemistry.opencmis.commons.PropertyIds;
+24  import org.apache.chemistry.opencmis.commons.data.ObjectInFolderData;
+25  import org.apache.chemistry.opencmis.commons.data.ObjectInFolderList;
+26  import org.apache.chemistry.opencmis.commons.data.PropertyData;
+27  import org.apache.chemistry.opencmis.commons.spi.CmisBinding;
+28  
+29  public class ListCommand implements Command {
+30  
+31      /*
+32       * (non-Javadoc)
+33       *
+34       * @see org.apache.opencmis.commander.Command#getCommandName()
+35       */
+36      public String getCommandName() {
+37          return "list";
+38      }
+39  
+40      /*
+41       * (non-Javadoc)
+42       *
+43       * @see org.apache.opencmis.commander.Command#getUsage()
+44       */
+45      public String getUsage() {
+46          return "LIST <repository id> <folder id>";
+47      }
+48  
+49      public void execute(CmisBinding binding, String[] args, PrintWriter output) {
+50          if (args.length < 2) {
+51              output.println(getUsage());
+52              return;
+53          }
+54  
+55          String repositoryId = args[0];
+56          String folderId = args[1];
+57  
+58          ObjectInFolderList list = binding.getNavigationService().getChildren(repositoryId, folderId, null, null, null,
+59                  null, null, null, null, null, null);
+60  
+61          for (ObjectInFolderData object : list.getObjects()) {
+62              output.println(getPropertyValue(object, PropertyIds.OBJECT_ID) + "\t"
+63                      + getPropertyValue(object, PropertyIds.NAME) + "\t"
+64                      + getPropertyValue(object, PropertyIds.OBJECT_TYPE_ID));
+65          }
+66      }
+67  
+68      /**
+69       * Returns a property value as string.
+70       */
+71      private static String getPropertyValue(ObjectInFolderData object, String name) {
+72          if ((object == null) || (object.getObject() == null) || (object.getObject().getProperties() == null)
+73                  || (object.getObject().getProperties().getProperties() == null)) {
+74              return "?";
+75          }
+76  
+77          PropertyData<?> property = object.getObject().getProperties().getProperties().get(name);
+78          if ((property == null) || (property.getFirstValue() == null)) {
+79              return "<not set>";
+80          }
+81  
+82          return property.getFirstValue().toString();
+83      }
+84  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/package-frame.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/package-frame.html?rev=1308700&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/package-frame.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/package-frame.html Tue Apr 3 05:30:10 2012 @@ -0,0 +1,36 @@ + + + + + + OpenCMIS Tools 0.7.0 Reference Package org.apache.chemistry.opencmis.commander + + + + +

+ org.apache.chemistry.opencmis.commander +

+ +

Classes

+ + + + + \ No newline at end of file Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/package-summary.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/package-summary.html?rev=1308700&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/package-summary.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/org/apache/chemistry/opencmis/commander/package-summary.html Tue Apr 3 05:30:10 2012 @@ -0,0 +1,87 @@ + + + + + + OpenCMIS Tools 0.7.0 Reference Package org.apache.chemistry.opencmis.commander + + + +
+ +
+
+ +
+ +

Package org.apache.chemistry.opencmis.commander

+ + + + + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ Command +
+ Commander +
+ DeleteCommand +
+ InfosCommand +
+ ListCommand +
+ +
+ +
+
+ +
+
+ Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved. + + \ No newline at end of file Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/overview-frame.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/overview-frame.html?rev=1308700&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/overview-frame.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/overview-frame.html Tue Apr 3 05:30:10 2012 @@ -0,0 +1,25 @@ + + + + + + OpenCMIS Tools 0.7.0 Reference + + + + +

+ All Classes +

+ +

Packages

+ + + + + + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/overview-summary.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/overview-summary.html?rev=1308700&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/overview-summary.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/overview-summary.html Tue Apr 3 05:30:10 2012 @@ -0,0 +1,64 @@ + + + + + + OpenCMIS Tools 0.7.0 Reference + + + +
+
    +
  • Overview
  • +
  • Package
  • +
+
+
+ +
+ +

OpenCMIS Tools 0.7.0 Reference

+ + + + + + + + + + + + +
Packages
+ org.apache.chemistry.opencmis.commander +
+ +
+
    +
  • Overview
  • +
  • Package
  • +
+
+
+ +
+ +
+ Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved. + + \ No newline at end of file Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/stylesheet.css URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/stylesheet.css?rev=1308700&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/stylesheet.css (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tools/xref/stylesheet.css Tue Apr 3 05:30:10 2012 @@ -0,0 +1,116 @@ +/* Javadoc style sheet */ +/* Define colors, fonts and other style attributes here to override the defaults */ +body { + background-color: #fff; + font-family: Arial, Helvetica, sans-serif; +} + +a:link { + color: #00f; +} +a:visited { + color: #00a; +} + +a:active, a:hover { + color: #f30 !important; +} + +ul, li { + list-style-type:none; + margin:0; + padding:0; +} + +table td { + padding: 3px; + border: 1px solid #000; +} +table { + width:100%; + border: 1px solid #000; + border-collapse: collapse; +} + +div.overview { + background-color:#ddd; + padding: 4px 4px 4px 0; +} +div.overview li, div.framenoframe li { + display: inline; +} +div.framenoframe { + text-align: center; + font-size: x-small; +} +div.framenoframe li { + margin: 0 3px 0 3px; +} +div.overview li { + margin:3px 3px 0 3px; + padding: 4px; +} +li.selected { + background-color:#888; + color: #fff; + font-weight: bold; +} + +table.summary { + margin-bottom: 20px; +} +table.summary td, table.summary th { + font-weight: bold; + text-align: left; + padding: 3px; +} +table.summary th { + background-color:#036; + color: #fff; +} +table.summary td { + background-color:#eee; + border: 1px solid black; +} + +em { + color: #A00; +} +em.comment { + color: #390; +} +.string { + color: #009; +} +div#footer { + text-align:center; +} +#overview { + padding:2px; +} + +hr { + height: 1px; + color: #000; +} + +/* JXR style sheet */ +.jxr_comment +{ + color: #390; +} + +.jxr_javadoccomment +{ + color: #A00; +} + +.jxr_string +{ + color: #009; +} + +.jxr_keyword +{ + color: #000; +}