You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by li...@apache.org on 2013/07/04 08:28:12 UTC
[03/71] [abbrv] [partial] CLOUDSTACK-1444. Contains regenerated JAVA
stubs and services.xml obtained by generating code from ec2 wsdl 2012-08-15
[Support for EC2 API version 2012-08-15]
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeleteVpnGatewayType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeleteVpnGatewayType.java b/awsapi/src/com/amazon/ec2/DeleteVpnGatewayType.java
index 9c34ef3..cb01b15 100644
--- a/awsapi/src/com/amazon/ec2/DeleteVpnGatewayType.java
+++ b/awsapi/src/com/amazon/ec2/DeleteVpnGatewayType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DeleteVpnGatewayType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = DeleteVpnGatewayType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -160,7 +144,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":DeleteVpnGatewayType",
@@ -174,7 +158,7 @@
}
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -370,7 +354,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"vpnGatewayId"));
if (localVpnGatewayId != null){
@@ -457,7 +441,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","vpnGatewayId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","vpnGatewayId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeregisterImage.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeregisterImage.java b/awsapi/src/com/amazon/ec2/DeregisterImage.java
index 8fe503a..7703850 100644
--- a/awsapi/src/com/amazon/ec2/DeregisterImage.java
+++ b/awsapi/src/com/amazon/ec2/DeregisterImage.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DeregisterImage.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,14 +17,14 @@
implements org.apache.axis2.databinding.ADBBean{
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
- "http://ec2.amazonaws.com/doc/2010-11-15/",
+ "http://ec2.amazonaws.com/doc/2012-08-15/",
"DeregisterImage",
"ns1");
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -343,7 +327,7 @@
while(!reader.isEndElement()) {
if (reader.isStartElement() ){
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","DeregisterImage").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","DeregisterImage").equals(reader.getName())){
object.setDeregisterImage(com.amazon.ec2.DeregisterImageType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeregisterImageResponse.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeregisterImageResponse.java b/awsapi/src/com/amazon/ec2/DeregisterImageResponse.java
index e268534..1d4485a 100644
--- a/awsapi/src/com/amazon/ec2/DeregisterImageResponse.java
+++ b/awsapi/src/com/amazon/ec2/DeregisterImageResponse.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DeregisterImageResponse.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,14 +17,14 @@
implements org.apache.axis2.databinding.ADBBean{
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
- "http://ec2.amazonaws.com/doc/2010-11-15/",
+ "http://ec2.amazonaws.com/doc/2012-08-15/",
"DeregisterImageResponse",
"ns1");
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -343,7 +327,7 @@
while(!reader.isEndElement()) {
if (reader.isStartElement() ){
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","DeregisterImageResponse").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","DeregisterImageResponse").equals(reader.getName())){
object.setDeregisterImageResponse(com.amazon.ec2.DeregisterImageResponseType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeregisterImageResponseType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeregisterImageResponseType.java b/awsapi/src/com/amazon/ec2/DeregisterImageResponseType.java
index aa0dc22..0b94889 100644
--- a/awsapi/src/com/amazon/ec2/DeregisterImageResponseType.java
+++ b/awsapi/src/com/amazon/ec2/DeregisterImageResponseType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DeregisterImageResponseType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = DeregisterImageResponseType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -190,7 +174,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":DeregisterImageResponseType",
@@ -204,7 +188,7 @@
}
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -238,7 +222,7 @@
xmlWriter.writeEndElement();
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -429,7 +413,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"requestId"));
if (localRequestId != null){
@@ -438,7 +422,7 @@
throw new org.apache.axis2.databinding.ADBException("requestId cannot be null!!");
}
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"return"));
elementList.add(
@@ -522,7 +506,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","requestId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","requestId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -541,7 +525,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","return").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","return").equals(reader.getName())){
java.lang.String content = reader.getElementText();
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeregisterImageType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeregisterImageType.java b/awsapi/src/com/amazon/ec2/DeregisterImageType.java
index 65c446c..cd1eae9 100644
--- a/awsapi/src/com/amazon/ec2/DeregisterImageType.java
+++ b/awsapi/src/com/amazon/ec2/DeregisterImageType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DeregisterImageType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = DeregisterImageType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -160,7 +144,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":DeregisterImageType",
@@ -174,7 +158,7 @@
}
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -370,7 +354,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"imageId"));
if (localImageId != null){
@@ -457,7 +441,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","imageId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","imageId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DescribeAddresses.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DescribeAddresses.java b/awsapi/src/com/amazon/ec2/DescribeAddresses.java
index 129a510..08b8614 100644
--- a/awsapi/src/com/amazon/ec2/DescribeAddresses.java
+++ b/awsapi/src/com/amazon/ec2/DescribeAddresses.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DescribeAddresses.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,14 +17,14 @@
implements org.apache.axis2.databinding.ADBBean{
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
- "http://ec2.amazonaws.com/doc/2010-11-15/",
+ "http://ec2.amazonaws.com/doc/2012-08-15/",
"DescribeAddresses",
"ns1");
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -343,7 +327,7 @@
while(!reader.isEndElement()) {
if (reader.isStartElement() ){
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","DescribeAddresses").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","DescribeAddresses").equals(reader.getName())){
object.setDescribeAddresses(com.amazon.ec2.DescribeAddressesType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DescribeAddressesInfoType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DescribeAddressesInfoType.java b/awsapi/src/com/amazon/ec2/DescribeAddressesInfoType.java
index f552827..8272ce4 100644
--- a/awsapi/src/com/amazon/ec2/DescribeAddressesInfoType.java
+++ b/awsapi/src/com/amazon/ec2/DescribeAddressesInfoType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DescribeAddressesInfoType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = DescribeAddressesInfoType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -212,7 +196,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":DescribeAddressesInfoType",
@@ -229,7 +213,7 @@
if (localItem!=null){
for (int i = 0;i < localItem.length;i++){
if (localItem[i] != null){
- localItem[i].serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item"),
+ localItem[i].serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item"),
factory,xmlWriter);
} else {
@@ -410,7 +394,7 @@
for (int i = 0;i < localItem.length;i++){
if (localItem[i] != null){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"item"));
elementList.add(localItem[i]);
} else {
@@ -507,7 +491,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item").equals(reader.getName())){
@@ -529,7 +513,7 @@
//two continuous end elements means we are exiting the xml structure
loopDone1 = true;
} else {
- if (new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item").equals(reader.getName())){
+ if (new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item").equals(reader.getName())){
list1.add(com.amazon.ec2.DescribeAddressesItemType.Factory.parse(reader));
}else{
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DescribeAddressesItemType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DescribeAddressesItemType.java b/awsapi/src/com/amazon/ec2/DescribeAddressesItemType.java
index 474c28e..66823f7 100644
--- a/awsapi/src/com/amazon/ec2/DescribeAddressesItemType.java
+++ b/awsapi/src/com/amazon/ec2/DescribeAddressesItemType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DescribeAddressesItemType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = DescribeAddressesItemType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -160,7 +144,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":DescribeAddressesItemType",
@@ -174,7 +158,7 @@
}
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -370,7 +354,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"publicIp"));
if (localPublicIp != null){
@@ -457,7 +441,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","publicIp").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","publicIp").equals(reader.getName())){
java.lang.String content = reader.getElementText();
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DescribeAddressesResponse.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DescribeAddressesResponse.java b/awsapi/src/com/amazon/ec2/DescribeAddressesResponse.java
index a135aba..d6ef99c 100644
--- a/awsapi/src/com/amazon/ec2/DescribeAddressesResponse.java
+++ b/awsapi/src/com/amazon/ec2/DescribeAddressesResponse.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DescribeAddressesResponse.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,14 +17,14 @@
implements org.apache.axis2.databinding.ADBBean{
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
- "http://ec2.amazonaws.com/doc/2010-11-15/",
+ "http://ec2.amazonaws.com/doc/2012-08-15/",
"DescribeAddressesResponse",
"ns1");
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -343,7 +327,7 @@
while(!reader.isEndElement()) {
if (reader.isStartElement() ){
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","DescribeAddressesResponse").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","DescribeAddressesResponse").equals(reader.getName())){
object.setDescribeAddressesResponse(com.amazon.ec2.DescribeAddressesResponseType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DescribeAddressesResponseInfoType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DescribeAddressesResponseInfoType.java b/awsapi/src/com/amazon/ec2/DescribeAddressesResponseInfoType.java
index 2ab759b..ca53f8e 100644
--- a/awsapi/src/com/amazon/ec2/DescribeAddressesResponseInfoType.java
+++ b/awsapi/src/com/amazon/ec2/DescribeAddressesResponseInfoType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DescribeAddressesResponseInfoType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = DescribeAddressesResponseInfoType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -212,7 +196,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":DescribeAddressesResponseInfoType",
@@ -229,7 +213,7 @@
if (localItem!=null){
for (int i = 0;i < localItem.length;i++){
if (localItem[i] != null){
- localItem[i].serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item"),
+ localItem[i].serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item"),
factory,xmlWriter);
} else {
@@ -410,7 +394,7 @@
for (int i = 0;i < localItem.length;i++){
if (localItem[i] != null){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"item"));
elementList.add(localItem[i]);
} else {
@@ -507,7 +491,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item").equals(reader.getName())){
@@ -529,7 +513,7 @@
//two continuous end elements means we are exiting the xml structure
loopDone1 = true;
} else {
- if (new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item").equals(reader.getName())){
+ if (new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item").equals(reader.getName())){
list1.add(com.amazon.ec2.DescribeAddressesResponseItemType.Factory.parse(reader));
}else{
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DescribeAddressesResponseItemType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DescribeAddressesResponseItemType.java b/awsapi/src/com/amazon/ec2/DescribeAddressesResponseItemType.java
index 74ef850..367fe82 100644
--- a/awsapi/src/com/amazon/ec2/DescribeAddressesResponseItemType.java
+++ b/awsapi/src/com/amazon/ec2/DescribeAddressesResponseItemType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you 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.
/**
* DescribeAddressesResponseItemType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = DescribeAddressesResponseItemType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -78,6 +62,80 @@
/**
+ * field for AllocationId
+ */
+
+
+ protected java.lang.String localAllocationId ;
+
+ /* This tracker boolean wil be used to detect whether the user called the set method
+ * for this attribute. It will be used to determine whether to include this field
+ * in the serialized XML
+ */
+ protected boolean localAllocationIdTracker = false ;
+
+
+ /**
+ * Auto generated getter method
+ * @return java.lang.String
+ */
+ public java.lang.String getAllocationId(){
+ return localAllocationId;
+ }
+
+
+
+ /**
+ * Auto generated setter method
+ * @param param AllocationId
+ */
+ public void setAllocationId(java.lang.String param){
+
+ if (param != null){
+ //update the setting tracker
+ localAllocationIdTracker = true;
+ } else {
+ localAllocationIdTracker = false;
+
+ }
+
+ this.localAllocationId=param;
+
+
+ }
+
+
+ /**
+ * field for Domain
+ */
+
+
+ protected java.lang.String localDomain ;
+
+
+ /**
+ * Auto generated getter method
+ * @return java.lang.String
+ */
+ public java.lang.String getDomain(){
+ return localDomain;
+ }
+
+
+
+ /**
+ * Auto generated setter method
+ * @param param Domain
+ */
+ public void setDomain(java.lang.String param){
+
+ this.localDomain=param;
+
+
+ }
+
+
+ /**
* field for InstanceId
*/
@@ -121,6 +179,182 @@
}
+ /**
+ * field for AssociationId
+ */
+
+
+ protected java.lang.String localAssociationId ;
+
+ /* This tracker boolean wil be used to detect whether the user called the set method
+ * for this attribute. It will be used to determine whether to include this field
+ * in the serialized XML
+ */
+ protected boolean localAssociationIdTracker = false ;
+
+
+ /**
+ * Auto generated getter method
+ * @return java.lang.String
+ */
+ public java.lang.String getAssociationId(){
+ return localAssociationId;
+ }
+
+
+
+ /**
+ * Auto generated setter method
+ * @param param AssociationId
+ */
+ public void setAssociationId(java.lang.String param){
+
+ if (param != null){
+ //update the setting tracker
+ localAssociationIdTracker = true;
+ } else {
+ localAssociationIdTracker = false;
+
+ }
+
+ this.localAssociationId=param;
+
+
+ }
+
+
+ /**
+ * field for NetworkInterfaceId
+ */
+
+
+ protected java.lang.String localNetworkInterfaceId ;
+
+ /* This tracker boolean wil be used to detect whether the user called the set method
+ * for this attribute. It will be used to determine whether to include this field
+ * in the serialized XML
+ */
+ protected boolean localNetworkInterfaceIdTracker = false ;
+
+
+ /**
+ * Auto generated getter method
+ * @return java.lang.String
+ */
+ public java.lang.String getNetworkInterfaceId(){
+ return localNetworkInterfaceId;
+ }
+
+
+
+ /**
+ * Auto generated setter method
+ * @param param NetworkInterfaceId
+ */
+ public void setNetworkInterfaceId(java.lang.String param){
+
+ if (param != null){
+ //update the setting tracker
+ localNetworkInterfaceIdTracker = true;
+ } else {
+ localNetworkInterfaceIdTracker = false;
+
+ }
+
+ this.localNetworkInterfaceId=param;
+
+
+ }
+
+
+ /**
+ * field for NetworkInterfaceOwnerId
+ */
+
+
+ protected java.lang.String localNetworkInterfaceOwnerId ;
+
+ /* This tracker boolean wil be used to detect whether the user called the set method
+ * for this attribute. It will be used to determine whether to include this field
+ * in the serialized XML
+ */
+ protected boolean localNetworkInterfaceOwnerIdTracker = false ;
+
+
+ /**
+ * Auto generated getter method
+ * @return java.lang.String
+ */
+ public java.lang.String getNetworkInterfaceOwnerId(){
+ return localNetworkInterfaceOwnerId;
+ }
+
+
+
+ /**
+ * Auto generated setter method
+ * @param param NetworkInterfaceOwnerId
+ */
+ public void setNetworkInterfaceOwnerId(java.lang.String param){
+
+ if (param != null){
+ //update the setting tracker
+ localNetworkInterfaceOwnerIdTracker = true;
+ } else {
+ localNetworkInterfaceOwnerIdTracker = false;
+
+ }
+
+ this.localNetworkInterfaceOwnerId=param;
+
+
+ }
+
+
+ /**
+ * field for PrivateIpAddress
+ */
+
+
+ protected java.lang.String localPrivateIpAddress ;
+
+ /* This tracker boolean wil be used to detect whether the user called the set method
+ * for this attribute. It will be used to determine whether to include this field
+ * in the serialized XML
+ */
+ protected boolean localPrivateIpAddressTracker = false ;
+
+
+ /**
+ * Auto generated getter method
+ * @return java.lang.String
+ */
+ public java.lang.String getPrivateIpAddress(){
+ return localPrivateIpAddress;
+ }
+
+
+
+ /**
+ * Auto generated setter method
+ * @param param PrivateIpAddress
+ */
+ public void setPrivateIpAddress(java.lang.String param){
+
+ if (param != null){
+ //update the setting tracker
+ localPrivateIpAddressTracker = true;
+ } else {
+ localPrivateIpAddressTracker = false;
+
+ }
+
+ this.localPrivateIpAddress=param;
+
+
+ }
+
+
/**
* isReaderMTOMAware
* @return true if the reader supports MTOM
@@ -204,7 +438,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":DescribeAddressesResponseItemType",
@@ -218,7 +452,7 @@
}
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -251,8 +485,76 @@
}
xmlWriter.writeEndElement();
+ if (localAllocationIdTracker){
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
+ if (! namespace.equals("")) {
+ prefix = xmlWriter.getPrefix(namespace);
+
+ if (prefix == null) {
+ prefix = generatePrefix(namespace);
+
+ xmlWriter.writeStartElement(prefix,"allocationId", namespace);
+ xmlWriter.writeNamespace(prefix, namespace);
+ xmlWriter.setPrefix(prefix, namespace);
+
+ } else {
+ xmlWriter.writeStartElement(namespace,"allocationId");
+ }
+
+ } else {
+ xmlWriter.writeStartElement("allocationId");
+ }
+
+
+ if (localAllocationId==null){
+ // write the nil attribute
+
+ throw new org.apache.axis2.databinding.ADBException("allocationId cannot be null!!");
+
+ }else{
+
+
+ xmlWriter.writeCharacters(localAllocationId);
+
+ }
+
+ xmlWriter.writeEndElement();
+ }
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
+ if (! namespace.equals("")) {
+ prefix = xmlWriter.getPrefix(namespace);
+
+ if (prefix == null) {
+ prefix = generatePrefix(namespace);
+
+ xmlWriter.writeStartElement(prefix,"domain", namespace);
+ xmlWriter.writeNamespace(prefix, namespace);
+ xmlWriter.setPrefix(prefix, namespace);
+
+ } else {
+ xmlWriter.writeStartElement(namespace,"domain");
+ }
+
+ } else {
+ xmlWriter.writeStartElement("domain");
+ }
+
+
+ if (localDomain==null){
+ // write the nil attribute
+
+ throw new org.apache.axis2.databinding.ADBException("domain cannot be null!!");
+
+ }else{
+
+
+ xmlWriter.writeCharacters(localDomain);
+
+ }
+
+ xmlWriter.writeEndElement();
if (localInstanceIdTracker){
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -285,6 +587,142 @@
}
xmlWriter.writeEndElement();
+ } if (localAssociationIdTracker){
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
+ if (! namespace.equals("")) {
+ prefix = xmlWriter.getPrefix(namespace);
+
+ if (prefix == null) {
+ prefix = generatePrefix(namespace);
+
+ xmlWriter.writeStartElement(prefix,"associationId", namespace);
+ xmlWriter.writeNamespace(prefix, namespace);
+ xmlWriter.setPrefix(prefix, namespace);
+
+ } else {
+ xmlWriter.writeStartElement(namespace,"associationId");
+ }
+
+ } else {
+ xmlWriter.writeStartElement("associationId");
+ }
+
+
+ if (localAssociationId==null){
+ // write the nil attribute
+
+ throw new org.apache.axis2.databinding.ADBException("associationId cannot be null!!");
+
+ }else{
+
+
+ xmlWriter.writeCharacters(localAssociationId);
+
+ }
+
+ xmlWriter.writeEndElement();
+ } if (localNetworkInterfaceIdTracker){
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
+ if (! namespace.equals("")) {
+ prefix = xmlWriter.getPrefix(namespace);
+
+ if (prefix == null) {
+ prefix = generatePrefix(namespace);
+
+ xmlWriter.writeStartElement(prefix,"networkInterfaceId", namespace);
+ xmlWriter.writeNamespace(prefix, namespace);
+ xmlWriter.setPrefix(prefix, namespace);
+
+ } else {
+ xmlWriter.writeStartElement(namespace,"networkInterfaceId");
+ }
+
+ } else {
+ xmlWriter.writeStartElement("networkInterfaceId");
+ }
+
+
+ if (localNetworkInterfaceId==null){
+ // write the nil attribute
+
+ throw new org.apache.axis2.databinding.ADBException("networkInterfaceId cannot be null!!");
+
+ }else{
+
+
+ xmlWriter.writeCharacters(localNetworkInterfaceId);
+
+ }
+
+ xmlWriter.writeEndElement();
+ } if (localNetworkInterfaceOwnerIdTracker){
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
+ if (! namespace.equals("")) {
+ prefix = xmlWriter.getPrefix(namespace);
+
+ if (prefix == null) {
+ prefix = generatePrefix(namespace);
+
+ xmlWriter.writeStartElement(prefix,"networkInterfaceOwnerId", namespace);
+ xmlWriter.writeNamespace(prefix, namespace);
+ xmlWriter.setPrefix(prefix, namespace);
+
+ } else {
+ xmlWriter.writeStartElement(namespace,"networkInterfaceOwnerId");
+ }
+
+ } else {
+ xmlWriter.writeStartElement("networkInterfaceOwnerId");
+ }
+
+
+ if (localNetworkInterfaceOwnerId==null){
+ // write the nil attribute
+
+ throw new org.apache.axis2.databinding.ADBException("networkInterfaceOwnerId cannot be null!!");
+
+ }else{
+
+
+ xmlWriter.writeCharacters(localNetworkInterfaceOwnerId);
+
+ }
+
+ xmlWriter.writeEndElement();
+ } if (localPrivateIpAddressTracker){
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
+ if (! namespace.equals("")) {
+ prefix = xmlWriter.getPrefix(namespace);
+
+ if (prefix == null) {
+ prefix = generatePrefix(namespace);
+
+ xmlWriter.writeStartElement(prefix,"privateIpAddress", namespace);
+ xmlWriter.writeNamespace(prefix, namespace);
+ xmlWriter.setPrefix(prefix, namespace);
+
+ } else {
+ xmlWriter.writeStartElement(namespace,"privateIpAddress");
+ }
+
+ } else {
+ xmlWriter.writeStartElement("privateIpAddress");
+ }
+
+
+ if (localPrivateIpAddress==null){
+ // write the nil attribute
+
+ throw new org.apache.axis2.databinding.ADBException("privateIpAddress cannot be null!!");
+
+ }else{
+
+
+ xmlWriter.writeCharacters(localPrivateIpAddress);
+
+ }
+
+ xmlWriter.writeEndElement();
}
xmlWriter.writeEndElement();
@@ -448,7 +886,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"publicIp"));
if (localPublicIp != null){
@@ -456,8 +894,26 @@
} else {
throw new org.apache.axis2.databinding.ADBException("publicIp cannot be null!!");
}
+ if (localAllocationIdTracker){
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
+ "allocationId"));
+
+ if (localAllocationId != null){
+ elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllocationId));
+ } else {
+ throw new org.apache.axis2.databinding.ADBException("allocationId cannot be null!!");
+ }
+ }
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
+ "domain"));
+
+ if (localDomain != null){
+ elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localDomain));
+ } else {
+ throw new org.apache.axis2.databinding.ADBException("domain cannot be null!!");
+ }
if (localInstanceIdTracker){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"instanceId"));
if (localInstanceId != null){
@@ -465,6 +921,42 @@
} else {
throw new org.apache.axis2.databinding.ADBException("instanceId cannot be null!!");
}
+ } if (localAssociationIdTracker){
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
+ "associationId"));
+
+ if (localAssociationId != null){
+ elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAssociationId));
+ } else {
+ throw new org.apache.axis2.databinding.ADBException("associationId cannot be null!!");
+ }
+ } if (localNetworkInterfaceIdTracker){
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
+ "networkInterfaceId"));
+
+ if (localNetworkInterfaceId != null){
+ elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localNetworkInterfaceId));
+ } else {
+ throw new org.apache.axis2.databinding.ADBException("networkInterfaceId cannot be null!!");
+ }
+ } if (localNetworkInterfaceOwnerIdTracker){
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
+ "networkInterfaceOwnerId"));
+
+ if (localNetworkInterfaceOwnerId != null){
+ elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localNetworkInterfaceOwnerId));
+ } else {
+ throw new org.apache.axis2.databinding.ADBException("networkInterfaceOwnerId cannot be null!!");
+ }
+ } if (localPrivateIpAddressTracker){
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
+ "privateIpAddress"));
+
+ if (localPrivateIpAddress != null){
+ elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localPrivateIpAddress));
+ } else {
+ throw new org.apache.axis2.databinding.ADBException("privateIpAddress cannot be null!!");
+ }
}
return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray());
@@ -544,7 +1036,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","publicIp").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","publicIp").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -563,7 +1055,44 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","instanceId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","allocationId").equals(reader.getName())){
+
+ java.lang.String content = reader.getElementText();
+
+ object.setAllocationId(
+ org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
+
+ reader.next();
+
+ } // End of if for expected property start element
+
+ else {
+
+ }
+
+
+ while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","domain").equals(reader.getName())){
+
+ java.lang.String content = reader.getElementText();
+
+ object.setDomain(
+ org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
+
+ reader.next();
+
+ } // End of if for expected property start element
+
+ else{
+ // A start element we are not expecting indicates an invalid parameter was passed
+ throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName());
+ }
+
+
+ while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","instanceId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -577,6 +1106,78 @@
else {
}
+
+
+ while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","associationId").equals(reader.getName())){
+
+ java.lang.String content = reader.getElementText();
+
+ object.setAssociationId(
+ org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
+
+ reader.next();
+
+ } // End of if for expected property start element
+
+ else {
+
+ }
+
+
+ while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","networkInterfaceId").equals(reader.getName())){
+
+ java.lang.String content = reader.getElementText();
+
+ object.setNetworkInterfaceId(
+ org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
+
+ reader.next();
+
+ } // End of if for expected property start element
+
+ else {
+
+ }
+
+
+ while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","networkInterfaceOwnerId").equals(reader.getName())){
+
+ java.lang.String content = reader.getElementText();
+
+ object.setNetworkInterfaceOwnerId(
+ org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
+
+ reader.next();
+
+ } // End of if for expected property start element
+
+ else {
+
+ }
+
+
+ while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","privateIpAddress").equals(reader.getName())){
+
+ java.lang.String content = reader.getElementText();
+
+ object.setPrivateIpAddress(
+ org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
+
+ reader.next();
+
+ } // End of if for expected property start element
+
+ else {
+
+ }
while (!reader.isStartElement() && !reader.isEndElement())
reader.next();