
org.w3.x1999.xlink.impl.ActuateAttributeImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML attribute type.
* Localname: actuate
* Namespace: http://www.w3.org/1999/xlink
* Java type: org.w3.x1999.xlink.ActuateAttribute
*
* Automatically generated - do not modify.
*/
package org.w3.x1999.xlink.impl;
/*-
* #%L
* GraphWalker Input/Output
* %%
* Copyright (C) 2005 - 2024 GraphWalker
* %%
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
* #L%
*/
/**
* A document containing one actuate(@http://www.w3.org/1999/xlink) attribute.
*
* This is a complex type.
*/
public class ActuateAttributeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.x1999.xlink.ActuateAttribute
{
private static final long serialVersionUID = 1L;
public ActuateAttributeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ACTUATE$0 =
new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "actuate");
/**
* Gets the "actuate" attribute
*/
public org.w3.x1999.xlink.ActuateAttribute.Actuate.Enum getActuate()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTUATE$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(ACTUATE$0);
}
if (target == null)
{
return null;
}
return (org.w3.x1999.xlink.ActuateAttribute.Actuate.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "actuate" attribute
*/
public org.w3.x1999.xlink.ActuateAttribute.Actuate xgetActuate()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.ActuateAttribute.Actuate target = null;
target = (org.w3.x1999.xlink.ActuateAttribute.Actuate)get_store().find_attribute_user(ACTUATE$0);
if (target == null)
{
target = (org.w3.x1999.xlink.ActuateAttribute.Actuate)get_default_attribute_value(ACTUATE$0);
}
return target;
}
}
/**
* True if has "actuate" attribute
*/
public boolean isSetActuate()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ACTUATE$0) != null;
}
}
/**
* Sets the "actuate" attribute
*/
public void setActuate(org.w3.x1999.xlink.ActuateAttribute.Actuate.Enum actuate)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTUATE$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ACTUATE$0);
}
target.setEnumValue(actuate);
}
}
/**
* Sets (as xml) the "actuate" attribute
*/
public void xsetActuate(org.w3.x1999.xlink.ActuateAttribute.Actuate actuate)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.ActuateAttribute.Actuate target = null;
target = (org.w3.x1999.xlink.ActuateAttribute.Actuate)get_store().find_attribute_user(ACTUATE$0);
if (target == null)
{
target = (org.w3.x1999.xlink.ActuateAttribute.Actuate)get_store().add_attribute_user(ACTUATE$0);
}
target.set(actuate);
}
}
/**
* Unsets the "actuate" attribute
*/
public void unsetActuate()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ACTUATE$0);
}
}
/**
* An XML actuate(@http://www.w3.org/1999/xlink).
*
* This is an atomic type that is a restriction of org.w3.x1999.xlink.ActuateAttribute$Actuate.
*/
public static class ActuateImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements org.w3.x1999.xlink.ActuateAttribute.Actuate
{
private static final long serialVersionUID = 1L;
public ActuateImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, false);
}
protected ActuateImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy