com.sforce.soap.metadata.CspTrustedSite Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of force-metadata-api Show documentation
Show all versions of force-metadata-api Show documentation
Force.com Web Service Connector
package com.sforce.soap.metadata;
/**
* This is a generated class for the SObject Enterprise API.
* Do not edit this file, as your changes will be lost.
*/
public class CspTrustedSite extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public CspTrustedSite() {}
/* Cache the typeInfo instead of declaring static fields throughout*/
private transient java.util.Map typeInfoCache = new java.util.HashMap();
private com.sforce.ws.bind.TypeInfo _lookupTypeInfo(String fieldName, String namespace, String name, String typeNS, String type, int minOcc, int maxOcc, boolean elementForm) {
com.sforce.ws.bind.TypeInfo typeInfo = typeInfoCache.get(fieldName);
if (typeInfo == null) {
typeInfo = new com.sforce.ws.bind.TypeInfo(namespace, name, typeNS, type, minOcc, maxOcc, elementForm);
typeInfoCache.put(fieldName, typeInfo);
}
return typeInfo;
}
/**
* element : canAccessCamera of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean canAccessCamera__is_set = false;
private boolean canAccessCamera;
public boolean getCanAccessCamera() {
return canAccessCamera;
}
public boolean isCanAccessCamera() {
return canAccessCamera;
}
public void setCanAccessCamera(boolean canAccessCamera) {
this.canAccessCamera = canAccessCamera;
canAccessCamera__is_set = true;
}
protected void setCanAccessCamera(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("canAccessCamera", "http://soap.sforce.com/2006/04/metadata","canAccessCamera","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setCanAccessCamera(__typeMapper.readBoolean(__in, _lookupTypeInfo("canAccessCamera", "http://soap.sforce.com/2006/04/metadata","canAccessCamera","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldCanAccessCamera(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("canAccessCamera", "http://soap.sforce.com/2006/04/metadata","canAccessCamera","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), canAccessCamera, canAccessCamera__is_set);
}
/**
* element : canAccessMicrophone of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean canAccessMicrophone__is_set = false;
private boolean canAccessMicrophone;
public boolean getCanAccessMicrophone() {
return canAccessMicrophone;
}
public boolean isCanAccessMicrophone() {
return canAccessMicrophone;
}
public void setCanAccessMicrophone(boolean canAccessMicrophone) {
this.canAccessMicrophone = canAccessMicrophone;
canAccessMicrophone__is_set = true;
}
protected void setCanAccessMicrophone(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("canAccessMicrophone", "http://soap.sforce.com/2006/04/metadata","canAccessMicrophone","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setCanAccessMicrophone(__typeMapper.readBoolean(__in, _lookupTypeInfo("canAccessMicrophone", "http://soap.sforce.com/2006/04/metadata","canAccessMicrophone","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldCanAccessMicrophone(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("canAccessMicrophone", "http://soap.sforce.com/2006/04/metadata","canAccessMicrophone","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), canAccessMicrophone, canAccessMicrophone__is_set);
}
/**
* element : context of type {http://soap.sforce.com/2006/04/metadata}CspTrustedSiteContext
* java type: com.sforce.soap.metadata.CspTrustedSiteContext
*/
private boolean context__is_set = false;
private com.sforce.soap.metadata.CspTrustedSiteContext context;
public com.sforce.soap.metadata.CspTrustedSiteContext getContext() {
return context;
}
public void setContext(com.sforce.soap.metadata.CspTrustedSiteContext context) {
this.context = context;
context__is_set = true;
}
protected void setContext(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("context", "http://soap.sforce.com/2006/04/metadata","context","http://soap.sforce.com/2006/04/metadata","CspTrustedSiteContext",0,1,true))) {
setContext((com.sforce.soap.metadata.CspTrustedSiteContext)__typeMapper.readObject(__in, _lookupTypeInfo("context", "http://soap.sforce.com/2006/04/metadata","context","http://soap.sforce.com/2006/04/metadata","CspTrustedSiteContext",0,1,true), com.sforce.soap.metadata.CspTrustedSiteContext.class));
}
}
private void writeFieldContext(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("context", "http://soap.sforce.com/2006/04/metadata","context","http://soap.sforce.com/2006/04/metadata","CspTrustedSiteContext",0,1,true), context, context__is_set);
}
/**
* element : description of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean description__is_set = false;
private java.lang.String description;
public java.lang.String getDescription() {
return description;
}
public void setDescription(java.lang.String description) {
this.description = description;
description__is_set = true;
}
protected void setDescription(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setDescription(__typeMapper.readString(__in, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldDescription(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), description, description__is_set);
}
/**
* element : endpointUrl of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean endpointUrl__is_set = false;
private java.lang.String endpointUrl;
public java.lang.String getEndpointUrl() {
return endpointUrl;
}
public void setEndpointUrl(java.lang.String endpointUrl) {
this.endpointUrl = endpointUrl;
endpointUrl__is_set = true;
}
protected void setEndpointUrl(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("endpointUrl", "http://soap.sforce.com/2006/04/metadata","endpointUrl","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setEndpointUrl(__typeMapper.readString(__in, _lookupTypeInfo("endpointUrl", "http://soap.sforce.com/2006/04/metadata","endpointUrl","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
}
}
private void writeFieldEndpointUrl(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("endpointUrl", "http://soap.sforce.com/2006/04/metadata","endpointUrl","http://www.w3.org/2001/XMLSchema","string",1,1,true), endpointUrl, endpointUrl__is_set);
}
/**
* element : isActive of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isActive__is_set = false;
private boolean isActive;
public boolean getIsActive() {
return isActive;
}
public boolean isIsActive() {
return isActive;
}
public void setIsActive(boolean isActive) {
this.isActive = isActive;
isActive__is_set = true;
}
protected void setIsActive(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("isActive", "http://soap.sforce.com/2006/04/metadata","isActive","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setIsActive(__typeMapper.readBoolean(__in, _lookupTypeInfo("isActive", "http://soap.sforce.com/2006/04/metadata","isActive","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldIsActive(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isActive", "http://soap.sforce.com/2006/04/metadata","isActive","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), isActive, isActive__is_set);
}
/**
* element : isApplicableToConnectSrc of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isApplicableToConnectSrc__is_set = false;
private boolean isApplicableToConnectSrc;
public boolean getIsApplicableToConnectSrc() {
return isApplicableToConnectSrc;
}
public boolean isIsApplicableToConnectSrc() {
return isApplicableToConnectSrc;
}
public void setIsApplicableToConnectSrc(boolean isApplicableToConnectSrc) {
this.isApplicableToConnectSrc = isApplicableToConnectSrc;
isApplicableToConnectSrc__is_set = true;
}
protected void setIsApplicableToConnectSrc(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("isApplicableToConnectSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToConnectSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setIsApplicableToConnectSrc(__typeMapper.readBoolean(__in, _lookupTypeInfo("isApplicableToConnectSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToConnectSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldIsApplicableToConnectSrc(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isApplicableToConnectSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToConnectSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isApplicableToConnectSrc, isApplicableToConnectSrc__is_set);
}
/**
* element : isApplicableToFontSrc of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isApplicableToFontSrc__is_set = false;
private boolean isApplicableToFontSrc;
public boolean getIsApplicableToFontSrc() {
return isApplicableToFontSrc;
}
public boolean isIsApplicableToFontSrc() {
return isApplicableToFontSrc;
}
public void setIsApplicableToFontSrc(boolean isApplicableToFontSrc) {
this.isApplicableToFontSrc = isApplicableToFontSrc;
isApplicableToFontSrc__is_set = true;
}
protected void setIsApplicableToFontSrc(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("isApplicableToFontSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToFontSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setIsApplicableToFontSrc(__typeMapper.readBoolean(__in, _lookupTypeInfo("isApplicableToFontSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToFontSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldIsApplicableToFontSrc(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isApplicableToFontSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToFontSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isApplicableToFontSrc, isApplicableToFontSrc__is_set);
}
/**
* element : isApplicableToFrameSrc of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isApplicableToFrameSrc__is_set = false;
private boolean isApplicableToFrameSrc;
public boolean getIsApplicableToFrameSrc() {
return isApplicableToFrameSrc;
}
public boolean isIsApplicableToFrameSrc() {
return isApplicableToFrameSrc;
}
public void setIsApplicableToFrameSrc(boolean isApplicableToFrameSrc) {
this.isApplicableToFrameSrc = isApplicableToFrameSrc;
isApplicableToFrameSrc__is_set = true;
}
protected void setIsApplicableToFrameSrc(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("isApplicableToFrameSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToFrameSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setIsApplicableToFrameSrc(__typeMapper.readBoolean(__in, _lookupTypeInfo("isApplicableToFrameSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToFrameSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldIsApplicableToFrameSrc(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isApplicableToFrameSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToFrameSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isApplicableToFrameSrc, isApplicableToFrameSrc__is_set);
}
/**
* element : isApplicableToImgSrc of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isApplicableToImgSrc__is_set = false;
private boolean isApplicableToImgSrc;
public boolean getIsApplicableToImgSrc() {
return isApplicableToImgSrc;
}
public boolean isIsApplicableToImgSrc() {
return isApplicableToImgSrc;
}
public void setIsApplicableToImgSrc(boolean isApplicableToImgSrc) {
this.isApplicableToImgSrc = isApplicableToImgSrc;
isApplicableToImgSrc__is_set = true;
}
protected void setIsApplicableToImgSrc(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("isApplicableToImgSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToImgSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setIsApplicableToImgSrc(__typeMapper.readBoolean(__in, _lookupTypeInfo("isApplicableToImgSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToImgSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldIsApplicableToImgSrc(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isApplicableToImgSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToImgSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isApplicableToImgSrc, isApplicableToImgSrc__is_set);
}
/**
* element : isApplicableToMediaSrc of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isApplicableToMediaSrc__is_set = false;
private boolean isApplicableToMediaSrc;
public boolean getIsApplicableToMediaSrc() {
return isApplicableToMediaSrc;
}
public boolean isIsApplicableToMediaSrc() {
return isApplicableToMediaSrc;
}
public void setIsApplicableToMediaSrc(boolean isApplicableToMediaSrc) {
this.isApplicableToMediaSrc = isApplicableToMediaSrc;
isApplicableToMediaSrc__is_set = true;
}
protected void setIsApplicableToMediaSrc(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("isApplicableToMediaSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToMediaSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setIsApplicableToMediaSrc(__typeMapper.readBoolean(__in, _lookupTypeInfo("isApplicableToMediaSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToMediaSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldIsApplicableToMediaSrc(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isApplicableToMediaSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToMediaSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isApplicableToMediaSrc, isApplicableToMediaSrc__is_set);
}
/**
* element : isApplicableToStyleSrc of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isApplicableToStyleSrc__is_set = false;
private boolean isApplicableToStyleSrc;
public boolean getIsApplicableToStyleSrc() {
return isApplicableToStyleSrc;
}
public boolean isIsApplicableToStyleSrc() {
return isApplicableToStyleSrc;
}
public void setIsApplicableToStyleSrc(boolean isApplicableToStyleSrc) {
this.isApplicableToStyleSrc = isApplicableToStyleSrc;
isApplicableToStyleSrc__is_set = true;
}
protected void setIsApplicableToStyleSrc(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("isApplicableToStyleSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToStyleSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setIsApplicableToStyleSrc(__typeMapper.readBoolean(__in, _lookupTypeInfo("isApplicableToStyleSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToStyleSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldIsApplicableToStyleSrc(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isApplicableToStyleSrc", "http://soap.sforce.com/2006/04/metadata","isApplicableToStyleSrc","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isApplicableToStyleSrc, isApplicableToStyleSrc__is_set);
}
/**
* element : mobileExtension of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean mobileExtension__is_set = false;
private java.lang.String mobileExtension;
public java.lang.String getMobileExtension() {
return mobileExtension;
}
public void setMobileExtension(java.lang.String mobileExtension) {
this.mobileExtension = mobileExtension;
mobileExtension__is_set = true;
}
protected void setMobileExtension(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("mobileExtension", "http://soap.sforce.com/2006/04/metadata","mobileExtension","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setMobileExtension(__typeMapper.readString(__in, _lookupTypeInfo("mobileExtension", "http://soap.sforce.com/2006/04/metadata","mobileExtension","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldMobileExtension(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("mobileExtension", "http://soap.sforce.com/2006/04/metadata","mobileExtension","http://www.w3.org/2001/XMLSchema","string",0,1,true), mobileExtension, mobileExtension__is_set);
}
/**
*/
@Override
public void write(javax.xml.namespace.QName __element,
com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
throws java.io.IOException {
__out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart());
__typeMapper.writeXsiType(__out, "http://soap.sforce.com/2006/04/metadata", "CspTrustedSite");
writeFields(__out, __typeMapper);
__out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart());
}
protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
com.sforce.ws.bind.TypeMapper __typeMapper)
throws java.io.IOException {
super.writeFields(__out, __typeMapper);
writeFields1(__out, __typeMapper);
}
@Override
public void load(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__typeMapper.consumeStartTag(__in);
loadFields(__in, __typeMapper);
__typeMapper.consumeEndTag(__in);
}
protected void loadFields(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
super.loadFields(__in, __typeMapper);
loadFields1(__in, __typeMapper);
}
@Override
public String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("[CspTrustedSite ");
sb.append(super.toString());
toString1(sb);
sb.append("]\n");
return sb.toString();
}
private void toStringHelper(StringBuilder sb, String name, Object value) {
sb.append(' ').append(name).append("='").append(com.sforce.ws.util.Verbose.toString(value)).append("'\n");
}
private void writeFields1(com.sforce.ws.parser.XmlOutputStream __out,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
writeFieldCanAccessCamera(__out, __typeMapper);
writeFieldCanAccessMicrophone(__out, __typeMapper);
writeFieldContext(__out, __typeMapper);
writeFieldDescription(__out, __typeMapper);
writeFieldEndpointUrl(__out, __typeMapper);
writeFieldIsActive(__out, __typeMapper);
writeFieldIsApplicableToConnectSrc(__out, __typeMapper);
writeFieldIsApplicableToFontSrc(__out, __typeMapper);
writeFieldIsApplicableToFrameSrc(__out, __typeMapper);
writeFieldIsApplicableToImgSrc(__out, __typeMapper);
writeFieldIsApplicableToMediaSrc(__out, __typeMapper);
writeFieldIsApplicableToStyleSrc(__out, __typeMapper);
writeFieldMobileExtension(__out, __typeMapper);
}
private void loadFields1(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
setCanAccessCamera(__in, __typeMapper);
setCanAccessMicrophone(__in, __typeMapper);
setContext(__in, __typeMapper);
setDescription(__in, __typeMapper);
setEndpointUrl(__in, __typeMapper);
setIsActive(__in, __typeMapper);
setIsApplicableToConnectSrc(__in, __typeMapper);
setIsApplicableToFontSrc(__in, __typeMapper);
setIsApplicableToFrameSrc(__in, __typeMapper);
setIsApplicableToImgSrc(__in, __typeMapper);
setIsApplicableToMediaSrc(__in, __typeMapper);
setIsApplicableToStyleSrc(__in, __typeMapper);
setMobileExtension(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "canAccessCamera", canAccessCamera);
toStringHelper(sb, "canAccessMicrophone", canAccessMicrophone);
toStringHelper(sb, "context", context);
toStringHelper(sb, "description", description);
toStringHelper(sb, "endpointUrl", endpointUrl);
toStringHelper(sb, "isActive", isActive);
toStringHelper(sb, "isApplicableToConnectSrc", isApplicableToConnectSrc);
toStringHelper(sb, "isApplicableToFontSrc", isApplicableToFontSrc);
toStringHelper(sb, "isApplicableToFrameSrc", isApplicableToFrameSrc);
toStringHelper(sb, "isApplicableToImgSrc", isApplicableToImgSrc);
toStringHelper(sb, "isApplicableToMediaSrc", isApplicableToMediaSrc);
toStringHelper(sb, "isApplicableToStyleSrc", isApplicableToStyleSrc);
toStringHelper(sb, "mobileExtension", mobileExtension);
}
}