Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* SprayFixed.java
*
* This file was auto-generated from WSDL
* by the Apache Axis2 version: 1.7.9 Built on : Nov 16, 2018 (12:06:07 GMT)
*/
package org.hpccsystems.ws.client.gen.axis2.filespray.v1_20;
/**
* SprayFixed bean class
*/
@SuppressWarnings({"unchecked",
"unused"
})
public class SprayFixed implements org.apache.axis2.databinding.ADBBean {
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray",
"SprayFixed", "ns2");
/**
* field for SourceIP
*/
protected java.lang.String localSourceIP;
/* 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 localSourceIPTracker = false;
/**
* field for SourcePath
*/
protected java.lang.String localSourcePath;
/* 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 localSourcePathTracker = false;
/**
* field for Srcxml
*/
protected javax.activation.DataHandler localSrcxml;
/* 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 localSrcxmlTracker = false;
/**
* field for SourceFormat
*/
protected java.lang.String localSourceFormat;
/* 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 localSourceFormatTracker = false;
/**
* field for SourceRecordSize
*/
protected int localSourceRecordSize;
/* 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 localSourceRecordSizeTracker = false;
/**
* field for DestGroup
*/
protected java.lang.String localDestGroup;
/* 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 localDestGroupTracker = false;
/**
* field for DestLogicalName
*/
protected java.lang.String localDestLogicalName;
/* 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 localDestLogicalNameTracker = false;
/**
* field for Overwrite
*/
protected boolean localOverwrite;
/* 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 localOverwriteTracker = false;
/**
* field for Replicate
*/
protected boolean localReplicate;
/* 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 localReplicateTracker = false;
/**
* field for ReplicateOffset
*/
protected int localReplicateOffset = org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(
"1");
/* 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 localReplicateOffsetTracker = false;
/**
* field for MaxConnections
*/
protected int localMaxConnections;
/* 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 localMaxConnectionsTracker = false;
/**
* field for Throttle
*/
protected int localThrottle;
/* 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 localThrottleTracker = false;
/**
* field for TransferBufferSize
*/
protected int localTransferBufferSize;
/* 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 localTransferBufferSizeTracker = false;
/**
* field for Prefix
*/
protected java.lang.String localPrefix;
/* 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 localPrefixTracker = false;
/**
* field for Nosplit
*/
protected boolean localNosplit = org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
"false");
/* 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 localNosplitTracker = false;
/**
* field for Norecover
*/
protected boolean localNorecover = org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
"false");
/* 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 localNorecoverTracker = false;
/**
* field for Compress
*/
protected boolean localCompress = org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
"false");
/* 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 localCompressTracker = false;
/**
* field for Push
*/
protected boolean localPush = org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
"false");
/* 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 localPushTracker = false;
/**
* field for Pull
*/
protected boolean localPull = org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
"false");
/* 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 localPullTracker = false;
/**
* field for NoCommon
*/
protected boolean localNoCommon = org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
"true");
/* 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 localNoCommonTracker = false;
/**
* field for Encrypt
*/
protected java.lang.String localEncrypt;
/* 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 localEncryptTracker = false;
/**
* field for Decrypt
*/
protected java.lang.String localDecrypt;
/* 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 localDecryptTracker = false;
/**
* field for Wrap
*/
protected boolean localWrap = org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
"false");
/* 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 localWrapTracker = false;
/**
* field for FailIfNoSourceFile
*/
protected boolean localFailIfNoSourceFile = org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
"false");
/* 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 localFailIfNoSourceFileTracker = false;
/**
* field for RecordStructurePresent
*/
protected boolean localRecordStructurePresent = org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
"false");
/* 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 localRecordStructurePresentTracker = false;
/**
* field for QuotedTerminator
*/
protected boolean localQuotedTerminator = org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
"true");
/* 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 localQuotedTerminatorTracker = false;
/**
* field for ExpireDays
*/
protected int localExpireDays;
/* 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 localExpireDaysTracker = false;
/**
* field for DFUServerQueue
*/
protected java.lang.String localDFUServerQueue;
/* 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 localDFUServerQueueTracker = false;
public boolean isSourceIPSpecified() {
return localSourceIPTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getSourceIP() {
return localSourceIP;
}
/**
* Auto generated setter method
* @param param SourceIP
*/
public void setSourceIP(java.lang.String param) {
localSourceIPTracker = param != null;
this.localSourceIP = param;
}
public boolean isSourcePathSpecified() {
return localSourcePathTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getSourcePath() {
return localSourcePath;
}
/**
* Auto generated setter method
* @param param SourcePath
*/
public void setSourcePath(java.lang.String param) {
localSourcePathTracker = param != null;
this.localSourcePath = param;
}
public boolean isSrcxmlSpecified() {
return localSrcxmlTracker;
}
/**
* Auto generated getter method
* @return javax.activation.DataHandler
*/
public javax.activation.DataHandler getSrcxml() {
return localSrcxml;
}
/**
* Auto generated setter method
* @param param Srcxml
*/
public void setSrcxml(javax.activation.DataHandler param) {
localSrcxmlTracker = param != null;
this.localSrcxml = param;
}
public boolean isSourceFormatSpecified() {
return localSourceFormatTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getSourceFormat() {
return localSourceFormat;
}
/**
* Auto generated setter method
* @param param SourceFormat
*/
public void setSourceFormat(java.lang.String param) {
localSourceFormatTracker = param != null;
this.localSourceFormat = param;
}
public boolean isSourceRecordSizeSpecified() {
return localSourceRecordSizeTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getSourceRecordSize() {
return localSourceRecordSize;
}
/**
* Auto generated setter method
* @param param SourceRecordSize
*/
public void setSourceRecordSize(int param) {
// setting primitive attribute tracker to true
localSourceRecordSizeTracker = param != java.lang.Integer.MIN_VALUE;
this.localSourceRecordSize = param;
}
public boolean isDestGroupSpecified() {
return localDestGroupTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getDestGroup() {
return localDestGroup;
}
/**
* Auto generated setter method
* @param param DestGroup
*/
public void setDestGroup(java.lang.String param) {
localDestGroupTracker = param != null;
this.localDestGroup = param;
}
public boolean isDestLogicalNameSpecified() {
return localDestLogicalNameTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getDestLogicalName() {
return localDestLogicalName;
}
/**
* Auto generated setter method
* @param param DestLogicalName
*/
public void setDestLogicalName(java.lang.String param) {
localDestLogicalNameTracker = param != null;
this.localDestLogicalName = param;
}
public boolean isOverwriteSpecified() {
return localOverwriteTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getOverwrite() {
return localOverwrite;
}
/**
* Auto generated setter method
* @param param Overwrite
*/
public void setOverwrite(boolean param) {
// setting primitive attribute tracker to true
localOverwriteTracker = true;
this.localOverwrite = param;
}
public boolean isReplicateSpecified() {
return localReplicateTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getReplicate() {
return localReplicate;
}
/**
* Auto generated setter method
* @param param Replicate
*/
public void setReplicate(boolean param) {
// setting primitive attribute tracker to true
localReplicateTracker = true;
this.localReplicate = param;
}
public boolean isReplicateOffsetSpecified() {
return localReplicateOffsetTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getReplicateOffset() {
return localReplicateOffset;
}
/**
* Auto generated setter method
* @param param ReplicateOffset
*/
public void setReplicateOffset(int param) {
// setting primitive attribute tracker to true
localReplicateOffsetTracker = param != java.lang.Integer.MIN_VALUE;
this.localReplicateOffset = param;
}
public boolean isMaxConnectionsSpecified() {
return localMaxConnectionsTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getMaxConnections() {
return localMaxConnections;
}
/**
* Auto generated setter method
* @param param MaxConnections
*/
public void setMaxConnections(int param) {
// setting primitive attribute tracker to true
localMaxConnectionsTracker = param != java.lang.Integer.MIN_VALUE;
this.localMaxConnections = param;
}
public boolean isThrottleSpecified() {
return localThrottleTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getThrottle() {
return localThrottle;
}
/**
* Auto generated setter method
* @param param Throttle
*/
public void setThrottle(int param) {
// setting primitive attribute tracker to true
localThrottleTracker = param != java.lang.Integer.MIN_VALUE;
this.localThrottle = param;
}
public boolean isTransferBufferSizeSpecified() {
return localTransferBufferSizeTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getTransferBufferSize() {
return localTransferBufferSize;
}
/**
* Auto generated setter method
* @param param TransferBufferSize
*/
public void setTransferBufferSize(int param) {
// setting primitive attribute tracker to true
localTransferBufferSizeTracker = param != java.lang.Integer.MIN_VALUE;
this.localTransferBufferSize = param;
}
public boolean isPrefixSpecified() {
return localPrefixTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getPrefix() {
return localPrefix;
}
/**
* Auto generated setter method
* @param param Prefix
*/
public void setPrefix(java.lang.String param) {
localPrefixTracker = param != null;
this.localPrefix = param;
}
public boolean isNosplitSpecified() {
return localNosplitTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getNosplit() {
return localNosplit;
}
/**
* Auto generated setter method
* @param param Nosplit
*/
public void setNosplit(boolean param) {
// setting primitive attribute tracker to true
localNosplitTracker = true;
this.localNosplit = param;
}
public boolean isNorecoverSpecified() {
return localNorecoverTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getNorecover() {
return localNorecover;
}
/**
* Auto generated setter method
* @param param Norecover
*/
public void setNorecover(boolean param) {
// setting primitive attribute tracker to true
localNorecoverTracker = true;
this.localNorecover = param;
}
public boolean isCompressSpecified() {
return localCompressTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getCompress() {
return localCompress;
}
/**
* Auto generated setter method
* @param param Compress
*/
public void setCompress(boolean param) {
// setting primitive attribute tracker to true
localCompressTracker = true;
this.localCompress = param;
}
public boolean isPushSpecified() {
return localPushTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getPush() {
return localPush;
}
/**
* Auto generated setter method
* @param param Push
*/
public void setPush(boolean param) {
// setting primitive attribute tracker to true
localPushTracker = true;
this.localPush = param;
}
public boolean isPullSpecified() {
return localPullTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getPull() {
return localPull;
}
/**
* Auto generated setter method
* @param param Pull
*/
public void setPull(boolean param) {
// setting primitive attribute tracker to true
localPullTracker = true;
this.localPull = param;
}
public boolean isNoCommonSpecified() {
return localNoCommonTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getNoCommon() {
return localNoCommon;
}
/**
* Auto generated setter method
* @param param NoCommon
*/
public void setNoCommon(boolean param) {
// setting primitive attribute tracker to true
localNoCommonTracker = true;
this.localNoCommon = param;
}
public boolean isEncryptSpecified() {
return localEncryptTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getEncrypt() {
return localEncrypt;
}
/**
* Auto generated setter method
* @param param Encrypt
*/
public void setEncrypt(java.lang.String param) {
localEncryptTracker = param != null;
this.localEncrypt = param;
}
public boolean isDecryptSpecified() {
return localDecryptTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getDecrypt() {
return localDecrypt;
}
/**
* Auto generated setter method
* @param param Decrypt
*/
public void setDecrypt(java.lang.String param) {
localDecryptTracker = param != null;
this.localDecrypt = param;
}
public boolean isWrapSpecified() {
return localWrapTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getWrap() {
return localWrap;
}
/**
* Auto generated setter method
* @param param Wrap
*/
public void setWrap(boolean param) {
// setting primitive attribute tracker to true
localWrapTracker = true;
this.localWrap = param;
}
public boolean isFailIfNoSourceFileSpecified() {
return localFailIfNoSourceFileTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getFailIfNoSourceFile() {
return localFailIfNoSourceFile;
}
/**
* Auto generated setter method
* @param param FailIfNoSourceFile
*/
public void setFailIfNoSourceFile(boolean param) {
// setting primitive attribute tracker to true
localFailIfNoSourceFileTracker = true;
this.localFailIfNoSourceFile = param;
}
public boolean isRecordStructurePresentSpecified() {
return localRecordStructurePresentTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getRecordStructurePresent() {
return localRecordStructurePresent;
}
/**
* Auto generated setter method
* @param param RecordStructurePresent
*/
public void setRecordStructurePresent(boolean param) {
// setting primitive attribute tracker to true
localRecordStructurePresentTracker = true;
this.localRecordStructurePresent = param;
}
public boolean isQuotedTerminatorSpecified() {
return localQuotedTerminatorTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getQuotedTerminator() {
return localQuotedTerminator;
}
/**
* Auto generated setter method
* @param param QuotedTerminator
*/
public void setQuotedTerminator(boolean param) {
// setting primitive attribute tracker to true
localQuotedTerminatorTracker = true;
this.localQuotedTerminator = param;
}
public boolean isExpireDaysSpecified() {
return localExpireDaysTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getExpireDays() {
return localExpireDays;
}
/**
* Auto generated setter method
* @param param ExpireDays
*/
public void setExpireDays(int param) {
// setting primitive attribute tracker to true
localExpireDaysTracker = param != java.lang.Integer.MIN_VALUE;
this.localExpireDays = param;
}
public boolean isDFUServerQueueSpecified() {
return localDFUServerQueueTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getDFUServerQueue() {
return localDFUServerQueue;
}
/**
* Auto generated setter method
* @param param DFUServerQueue
*/
public void setDFUServerQueue(java.lang.String param) {
localDFUServerQueueTracker = param != null;
this.localDFUServerQueue = param;
}
/**
*
* @param parentQName
* @param factory
* @return org.apache.axiom.om.OMElement
*/
public org.apache.axiom.om.OMElement getOMElement(
final javax.xml.namespace.QName parentQName,
final org.apache.axiom.om.OMFactory factory)
throws org.apache.axis2.databinding.ADBException {
return factory.createOMElement(new org.apache.axis2.databinding.ADBDataSource(
this, MY_QNAME));
}
public void serialize(final javax.xml.namespace.QName parentQName,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException,
org.apache.axis2.databinding.ADBException {
serialize(parentQName, xmlWriter, false);
}
public void serialize(final javax.xml.namespace.QName parentQName,
javax.xml.stream.XMLStreamWriter xmlWriter, boolean serializeType)
throws javax.xml.stream.XMLStreamException,
org.apache.axis2.databinding.ADBException {
java.lang.String prefix = null;
java.lang.String namespace = null;
prefix = parentQName.getPrefix();
namespace = parentQName.getNamespaceURI();
writeStartElement(prefix, namespace, parentQName.getLocalPart(),
xmlWriter);
if (serializeType) {
java.lang.String namespacePrefix = registerPrefix(xmlWriter,
"urn:hpccsystems:ws:filespray");
if ((namespacePrefix != null) &&
(namespacePrefix.trim().length() > 0)) {
writeAttribute("xsi",
"http://www.w3.org/2001/XMLSchema-instance", "type",
namespacePrefix + ":SprayFixed", xmlWriter);
} else {
writeAttribute("xsi",
"http://www.w3.org/2001/XMLSchema-instance", "type",
"SprayFixed", xmlWriter);
}
}
if (localSourceIPTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "sourceIP", xmlWriter);
if (localSourceIP == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"sourceIP cannot be null!!");
} else {
xmlWriter.writeCharacters(localSourceIP);
}
xmlWriter.writeEndElement();
}
if (localSourcePathTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "sourcePath", xmlWriter);
if (localSourcePath == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"sourcePath cannot be null!!");
} else {
xmlWriter.writeCharacters(localSourcePath);
}
xmlWriter.writeEndElement();
}
if (localSrcxmlTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "srcxml", xmlWriter);
if (localSrcxml != null) {
try {
org.apache.axiom.util.stax.XMLStreamWriterUtils.writeDataHandler(xmlWriter,
localSrcxml, null, true);
} catch (java.io.IOException ex) {
throw new javax.xml.stream.XMLStreamException("Unable to read data handler for srcxml",
ex);
}
} else {
}
xmlWriter.writeEndElement();
}
if (localSourceFormatTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "sourceFormat", xmlWriter);
if (localSourceFormat == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"sourceFormat cannot be null!!");
} else {
xmlWriter.writeCharacters(localSourceFormat);
}
xmlWriter.writeEndElement();
}
if (localSourceRecordSizeTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "sourceRecordSize", xmlWriter);
if (localSourceRecordSize == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"sourceRecordSize cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localSourceRecordSize));
}
xmlWriter.writeEndElement();
}
if (localDestGroupTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "destGroup", xmlWriter);
if (localDestGroup == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"destGroup cannot be null!!");
} else {
xmlWriter.writeCharacters(localDestGroup);
}
xmlWriter.writeEndElement();
}
if (localDestLogicalNameTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "destLogicalName", xmlWriter);
if (localDestLogicalName == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"destLogicalName cannot be null!!");
} else {
xmlWriter.writeCharacters(localDestLogicalName);
}
xmlWriter.writeEndElement();
}
if (localOverwriteTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "overwrite", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"overwrite cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localOverwrite));
}
xmlWriter.writeEndElement();
}
if (localReplicateTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "replicate", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"replicate cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localReplicate));
}
xmlWriter.writeEndElement();
}
if (localReplicateOffsetTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "ReplicateOffset", xmlWriter);
if (localReplicateOffset == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"ReplicateOffset cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localReplicateOffset));
}
xmlWriter.writeEndElement();
}
if (localMaxConnectionsTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "maxConnections", xmlWriter);
if (localMaxConnections == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"maxConnections cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localMaxConnections));
}
xmlWriter.writeEndElement();
}
if (localThrottleTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "throttle", xmlWriter);
if (localThrottle == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"throttle cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localThrottle));
}
xmlWriter.writeEndElement();
}
if (localTransferBufferSizeTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "transferBufferSize", xmlWriter);
if (localTransferBufferSize == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"transferBufferSize cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localTransferBufferSize));
}
xmlWriter.writeEndElement();
}
if (localPrefixTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "prefix", xmlWriter);
if (localPrefix == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"prefix cannot be null!!");
} else {
xmlWriter.writeCharacters(localPrefix);
}
xmlWriter.writeEndElement();
}
if (localNosplitTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "nosplit", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"nosplit cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localNosplit));
}
xmlWriter.writeEndElement();
}
if (localNorecoverTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "norecover", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"norecover cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localNorecover));
}
xmlWriter.writeEndElement();
}
if (localCompressTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "compress", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"compress cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localCompress));
}
xmlWriter.writeEndElement();
}
if (localPushTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "push", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"push cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localPush));
}
xmlWriter.writeEndElement();
}
if (localPullTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "pull", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"pull cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localPull));
}
xmlWriter.writeEndElement();
}
if (localNoCommonTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "noCommon", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"noCommon cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localNoCommon));
}
xmlWriter.writeEndElement();
}
if (localEncryptTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "encrypt", xmlWriter);
if (localEncrypt == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"encrypt cannot be null!!");
} else {
xmlWriter.writeCharacters(localEncrypt);
}
xmlWriter.writeEndElement();
}
if (localDecryptTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "decrypt", xmlWriter);
if (localDecrypt == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"decrypt cannot be null!!");
} else {
xmlWriter.writeCharacters(localDecrypt);
}
xmlWriter.writeEndElement();
}
if (localWrapTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "wrap", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"wrap cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localWrap));
}
xmlWriter.writeEndElement();
}
if (localFailIfNoSourceFileTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "failIfNoSourceFile", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"failIfNoSourceFile cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localFailIfNoSourceFile));
}
xmlWriter.writeEndElement();
}
if (localRecordStructurePresentTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "recordStructurePresent",
xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"recordStructurePresent cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localRecordStructurePresent));
}
xmlWriter.writeEndElement();
}
if (localQuotedTerminatorTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "quotedTerminator", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"quotedTerminator cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localQuotedTerminator));
}
xmlWriter.writeEndElement();
}
if (localExpireDaysTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "expireDays", xmlWriter);
if (localExpireDays == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"expireDays cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localExpireDays));
}
xmlWriter.writeEndElement();
}
if (localDFUServerQueueTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "DFUServerQueue", xmlWriter);
if (localDFUServerQueue == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"DFUServerQueue cannot be null!!");
} else {
xmlWriter.writeCharacters(localDFUServerQueue);
}
xmlWriter.writeEndElement();
}
xmlWriter.writeEndElement();
}
private static java.lang.String generatePrefix(java.lang.String namespace) {
if (namespace.equals("urn:hpccsystems:ws:filespray")) {
return "ns2";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
}
/**
* Utility method to write an element start tag.
*/
private void writeStartElement(java.lang.String prefix,
java.lang.String namespace, java.lang.String localPart,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);
if (writerPrefix != null) {
xmlWriter.writeStartElement(writerPrefix, localPart, namespace);
} else {
if (namespace.length() == 0) {
prefix = "";
} else if (prefix == null) {
prefix = generatePrefix(namespace);
}
xmlWriter.writeStartElement(prefix, localPart, namespace);
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
}
}
/**
* Util method to write an attribute with the ns prefix
*/
private void writeAttribute(java.lang.String prefix,
java.lang.String namespace, java.lang.String attName,
java.lang.String attValue, javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);
if (writerPrefix != null) {
xmlWriter.writeAttribute(writerPrefix, namespace, attName, attValue);
} else {
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
xmlWriter.writeAttribute(prefix, namespace, attName, attValue);
}
}
/**
* Util method to write an attribute without the ns prefix
*/
private void writeAttribute(java.lang.String namespace,
java.lang.String attName, java.lang.String attValue,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
if (namespace.equals("")) {
xmlWriter.writeAttribute(attName, attValue);
} else {
xmlWriter.writeAttribute(registerPrefix(xmlWriter, namespace),
namespace, attName, attValue);
}
}
/**
* Util method to write an attribute without the ns prefix
*/
private void writeQNameAttribute(java.lang.String namespace,
java.lang.String attName, javax.xml.namespace.QName qname,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
java.lang.String attributeNamespace = qname.getNamespaceURI();
java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace);
if (attributePrefix == null) {
attributePrefix = registerPrefix(xmlWriter, attributeNamespace);
}
java.lang.String attributeValue;
if (attributePrefix.trim().length() > 0) {
attributeValue = attributePrefix + ":" + qname.getLocalPart();
} else {
attributeValue = qname.getLocalPart();
}
if (namespace.equals("")) {
xmlWriter.writeAttribute(attName, attributeValue);
} else {
registerPrefix(xmlWriter, namespace);
xmlWriter.writeAttribute(attributePrefix, namespace, attName,
attributeValue);
}
}
/**
* method to handle Qnames
*/
private void writeQName(javax.xml.namespace.QName qname,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
java.lang.String namespaceURI = qname.getNamespaceURI();
if (namespaceURI != null) {
java.lang.String prefix = xmlWriter.getPrefix(namespaceURI);
if (prefix == null) {
prefix = generatePrefix(namespaceURI);
xmlWriter.writeNamespace(prefix, namespaceURI);
xmlWriter.setPrefix(prefix, namespaceURI);
}
if (prefix.trim().length() > 0) {
xmlWriter.writeCharacters(prefix + ":" +
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
qname));
} else {
// i.e this is the default namespace
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
qname));
}
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
qname));
}
}
private void writeQNames(javax.xml.namespace.QName[] qnames,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
if (qnames != null) {
// we have to store this data until last moment since it is not possible to write any
// namespace data after writing the charactor data
java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer();
java.lang.String namespaceURI = null;
java.lang.String prefix = null;
for (int i = 0; i < qnames.length; i++) {
if (i > 0) {
stringToWrite.append(" ");
}
namespaceURI = qnames[i].getNamespaceURI();
if (namespaceURI != null) {
prefix = xmlWriter.getPrefix(namespaceURI);
if ((prefix == null) || (prefix.length() == 0)) {
prefix = generatePrefix(namespaceURI);
xmlWriter.writeNamespace(prefix, namespaceURI);
xmlWriter.setPrefix(prefix, namespaceURI);
}
if (prefix.trim().length() > 0) {
stringToWrite.append(prefix).append(":")
.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
qnames[i]));
} else {
stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
qnames[i]));
}
} else {
stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
qnames[i]));
}
}
xmlWriter.writeCharacters(stringToWrite.toString());
}
}
/**
* Register a namespace prefix
*/
private java.lang.String registerPrefix(
javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace)
throws javax.xml.stream.XMLStreamException {
java.lang.String prefix = xmlWriter.getPrefix(namespace);
if (prefix == null) {
prefix = generatePrefix(namespace);
javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext();
while (true) {
java.lang.String uri = nsContext.getNamespaceURI(prefix);
if ((uri == null) || (uri.length() == 0)) {
break;
}
prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
}
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
}
return prefix;
}
/**
* Factory class that keeps the parse method
*/
public static class Factory {
private static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(Factory.class);
/**
* static method to create the object
* Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable
* If this object is not an element, it is a complex type and the reader is at the event just after the outer start element
* Postcondition: If this object is an element, the reader is positioned at its end element
* If this object is a complex type, the reader is positioned at the end element of its outer element
*/
public static SprayFixed parse(javax.xml.stream.XMLStreamReader reader)
throws java.lang.Exception {
SprayFixed object = new SprayFixed();
int event;
javax.xml.namespace.QName currentQName = null;
java.lang.String nillableValue = null;
java.lang.String prefix = "";
java.lang.String namespaceuri = "";
try {
while (!reader.isStartElement() && !reader.isEndElement())
reader.next();
currentQName = reader.getName();
if (reader.getAttributeValue(
"http://www.w3.org/2001/XMLSchema-instance", "type") != null) {
java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"type");
if (fullTypeName != null) {
java.lang.String nsPrefix = null;
if (fullTypeName.indexOf(":") > -1) {
nsPrefix = fullTypeName.substring(0,
fullTypeName.indexOf(":"));
}
nsPrefix = (nsPrefix == null) ? "" : nsPrefix;
java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(
":") + 1);
if (!"SprayFixed".equals(type)) {
//find namespace for the prefix
java.lang.String nsUri = reader.getNamespaceContext()
.getNamespaceURI(nsPrefix);
return (SprayFixed) org.hpccsystems.ws.client.gen.axis2.filespray.v1_20.ExtensionMapper.getTypeObject(nsUri,
type, reader);
}
}
}
// Note all attributes that were handled. Used to differ normal attributes
// from anyAttributes.
java.util.Vector handledAttributes = new java.util.Vector();
reader.next();
while (!reader.isEndElement()) {
if (reader.isStartElement()) {
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "sourceIP").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "sourceIP" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSourceIP(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "sourcePath").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "sourcePath" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSourcePath(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "srcxml").equals(
reader.getName())) {
object.setSrcxml(org.apache.axiom.util.stax.XMLStreamReaderUtils.getDataHandlerFromElement(
reader));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray",
"sourceFormat").equals(reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "sourceFormat" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSourceFormat(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray",
"sourceRecordSize").equals(reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "sourceRecordSize" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSourceRecordSize(org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "destGroup").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "destGroup" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setDestGroup(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray",
"destLogicalName").equals(reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "destLogicalName" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setDestLogicalName(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "overwrite").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "overwrite" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setOverwrite(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "replicate").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "replicate" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setReplicate(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray",
"ReplicateOffset").equals(reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "ReplicateOffset" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setReplicateOffset(org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray",
"maxConnections").equals(reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "maxConnections" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setMaxConnections(org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "throttle").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "throttle" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setThrottle(org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray",
"transferBufferSize").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "transferBufferSize" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setTransferBufferSize(org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "prefix").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "prefix" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setPrefix(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "nosplit").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "nosplit" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setNosplit(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "norecover").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "norecover" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setNorecover(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "compress").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "compress" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setCompress(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "push").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "push" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setPush(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "pull").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "pull" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setPull(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "noCommon").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "noCommon" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setNoCommon(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "encrypt").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "encrypt" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setEncrypt(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "decrypt").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "decrypt" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setDecrypt(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "wrap").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "wrap" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setWrap(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray",
"failIfNoSourceFile").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "failIfNoSourceFile" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setFailIfNoSourceFile(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray",
"recordStructurePresent").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "recordStructurePresent" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setRecordStructurePresent(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray",
"quotedTerminator").equals(reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "quotedTerminator" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setQuotedTerminator(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "expireDays").equals(
reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "expireDays" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setExpireDays(org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(
content));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray",
"DFUServerQueue").equals(reader.getName())) {
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"nil");
if ("true".equals(nillableValue) ||
"1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "DFUServerQueue" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setDFUServerQueue(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
content));
reader.next();
} // End of if for expected property start element
else {
// 3 - A start element we are not expecting indicates an invalid parameter was passed
throw new org.apache.axis2.databinding.ADBException(
"Unexpected subelement " + reader.getName());
}
} else {
reader.next();
}
} // end of while loop
} catch (javax.xml.stream.XMLStreamException e) {
throw new java.lang.Exception(e);
}
return object;
}
} //end of factory class
}