org.etsi.uri.x01903.v13.impl.EncapsulatedPKIDataTypeImpl Maven / Gradle / Ivy
/*
* XML Type: EncapsulatedPKIDataType
* Namespace: http://uri.etsi.org/01903/v1.3.2#
* Java type: org.etsi.uri.x01903.v13.EncapsulatedPKIDataType
*
* Automatically generated - do not modify.
*/
package org.etsi.uri.x01903.v13.impl;
/**
* An XML EncapsulatedPKIDataType(@http://uri.etsi.org/01903/v1.3.2#).
*
* This is an atomic type that is a restriction of org.etsi.uri.x01903.v13.EncapsulatedPKIDataType.
*/
public class EncapsulatedPKIDataTypeImpl extends org.apache.xmlbeans.impl.values.JavaBase64HolderEx implements org.etsi.uri.x01903.v13.EncapsulatedPKIDataType
{
public EncapsulatedPKIDataTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, true);
}
protected EncapsulatedPKIDataTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
private static final javax.xml.namespace.QName ID$0 =
new javax.xml.namespace.QName("", "Id");
private static final javax.xml.namespace.QName ENCODING$2 =
new javax.xml.namespace.QName("", "Encoding");
/**
* Gets the "Id" attribute
*/
public java.lang.String getId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Id" attribute
*/
public org.apache.xmlbeans.XmlID xgetId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlID target = null;
target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$0);
return target;
}
}
/**
* True if has "Id" attribute
*/
public boolean isSetId()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ID$0) != null;
}
}
/**
* Sets the "Id" attribute
*/
public void setId(java.lang.String id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$0);
}
target.setStringValue(id);
}
}
/**
* Sets (as xml) the "Id" attribute
*/
public void xsetId(org.apache.xmlbeans.XmlID id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlID target = null;
target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlID)get_store().add_attribute_user(ID$0);
}
target.set(id);
}
}
/**
* Unsets the "Id" attribute
*/
public void unsetId()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ID$0);
}
}
/**
* Gets the "Encoding" attribute
*/
public java.lang.String getEncoding()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENCODING$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Encoding" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetEncoding()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(ENCODING$2);
return target;
}
}
/**
* True if has "Encoding" attribute
*/
public boolean isSetEncoding()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ENCODING$2) != null;
}
}
/**
* Sets the "Encoding" attribute
*/
public void setEncoding(java.lang.String encoding)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENCODING$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ENCODING$2);
}
target.setStringValue(encoding);
}
}
/**
* Sets (as xml) the "Encoding" attribute
*/
public void xsetEncoding(org.apache.xmlbeans.XmlAnyURI encoding)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(ENCODING$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(ENCODING$2);
}
target.set(encoding);
}
}
/**
* Unsets the "Encoding" attribute
*/
public void unsetEncoding()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ENCODING$2);
}
}
}