< prev index next >

application/org.openjdk.jmc.commands/schema/command.exsd

Print this page


   1 <?xml version='1.0' encoding='UTF-8'?>
   2 <!--   
   3    Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
   4    
   5    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   6    
   7    The contents of this file are subject to the terms of either the Universal Permissive License 
   8    v 1.0 as shown at http://oss.oracle.com/licenses/upl
   9    
  10    or the following license:
  11    
  12    Redistribution and use in source and binary forms, with or without modification, are permitted
  13    provided that the following conditions are met:
  14    
  15    1. Redistributions of source code must retain the above copyright notice, this list of conditions
  16    and the following disclaimer.
  17    
  18    2. Redistributions in binary form must reproduce the above copyright notice, this list of
  19    conditions and the following disclaimer in the documentation and/or other materials provided with
  20    the distribution.
  21    
  22    3. Neither the name of the copyright holder nor the names of its contributors may be used to
  23    endorse or promote products derived from this software without specific prior written permission.


 298 import org.openjdk.jmc.commands.Statement;
 299 
 300 public class HelloWorld implements IExecute
 301 {
 302  public boolean execute(Statement statment, PrintStream writer)
 303  {
 304   System.out.println(&quot;Hello World&quot;);
 305  }
 306 }
 307 &lt;/pre&gt;
 308       </documentation>
 309    </annotation>
 310 
 311 
 312 
 313    <annotation>
 314       <appinfo>
 315          <meta.section type="copyright"/>
 316       </appinfo>
 317       <documentation>
 318          Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
 319       </documentation>
 320    </annotation>
 321 
 322 </schema>
   1 <?xml version='1.0' encoding='UTF-8'?>
   2 <!--   
   3    Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
   4    
   5    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   6    
   7    The contents of this file are subject to the terms of either the Universal Permissive License 
   8    v 1.0 as shown at http://oss.oracle.com/licenses/upl
   9    
  10    or the following license:
  11    
  12    Redistribution and use in source and binary forms, with or without modification, are permitted
  13    provided that the following conditions are met:
  14    
  15    1. Redistributions of source code must retain the above copyright notice, this list of conditions
  16    and the following disclaimer.
  17    
  18    2. Redistributions in binary form must reproduce the above copyright notice, this list of
  19    conditions and the following disclaimer in the documentation and/or other materials provided with
  20    the distribution.
  21    
  22    3. Neither the name of the copyright holder nor the names of its contributors may be used to
  23    endorse or promote products derived from this software without specific prior written permission.


 298 import org.openjdk.jmc.commands.Statement;
 299 
 300 public class HelloWorld implements IExecute
 301 {
 302  public boolean execute(Statement statment, PrintStream writer)
 303  {
 304   System.out.println(&quot;Hello World&quot;);
 305  }
 306 }
 307 &lt;/pre&gt;
 308       </documentation>
 309    </annotation>
 310 
 311 
 312 
 313    <annotation>
 314       <appinfo>
 315          <meta.section type="copyright"/>
 316       </appinfo>
 317       <documentation>
 318          Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
 319       </documentation>
 320    </annotation>
 321 
 322 </schema>
< prev index next >