pl.mbdev.openstage.test
Class AllConstructors

java.lang.Object
  extended by pl.mbdev.openstage.test.OpenStageSDK_Test
      extended by pl.mbdev.openstage.test.AllConstructors

public class AllConstructors
extends OpenStageSDK_Test

This class contains all constructors of OpenStage SDK, the reader is able to see how the objects should be initialized and what is sent to OpenStage VoIP phone for each of the objects in the SDK.

 Copyright 2011 Mateusz Bysiek,
     mb@mbdev.pl, http://mbdev.pl/
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 
     http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 

Author:
Mateusz Bysiek

Constructor Summary
AllConstructors()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void writeXml(java.io.PrintWriter out)
          Here you should initialize all XML objects you would like to test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllConstructors

public AllConstructors()
Method Detail

main

public static void main(java.lang.String[] args)

writeXml

protected void writeXml(java.io.PrintWriter out)
Description copied from class: OpenStageSDK_Test
Here you should initialize all XML objects you would like to test. The generated content will be sent to console. Use any Xml sub-class, or your custom class.

Specified by:
writeXml in class OpenStageSDK_Test
Parameters:
out - PrintWriter created from System.out, you should use sendTo(out) at some point of your test to see any results