All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
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.
org.w3.x1999.xlink.impl.ExtendedImpl Maven / Gradle / Ivy
/*
* XML Type: extended
* Namespace: http://www.w3.org/1999/xlink
* Java type: org.w3.x1999.xlink.Extended
*
* Automatically generated - do not modify.
*/
package org.w3.x1999.xlink.impl;
/**
* An XML extended(@http://www.w3.org/1999/xlink).
*
* This is a complex type.
*/
public class ExtendedImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.x1999.xlink.Extended
{
private static final long serialVersionUID = 1L;
public ExtendedImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TITLE$0 =
new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "title");
private static final javax.xml.namespace.QName RESOURCE$2 =
new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "resource");
private static final javax.xml.namespace.QName LOCATOR$4 =
new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "locator");
private static final javax.xml.namespace.QName ARC$6 =
new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "arc");
private static final javax.xml.namespace.QName TYPE$8 =
new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "type");
private static final javax.xml.namespace.QName ROLE$10 =
new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "role");
private static final javax.xml.namespace.QName TITLE2$12 =
new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "title");
/**
* Gets array of all "title" elements
*/
public org.w3.x1999.xlink.TitleEltType[] getTitleArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(TITLE2$12, targetList);
org.w3.x1999.xlink.TitleEltType[] result = new org.w3.x1999.xlink.TitleEltType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "title" element
*/
public org.w3.x1999.xlink.TitleEltType getTitleArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.TitleEltType target = null;
target = (org.w3.x1999.xlink.TitleEltType)get_store().find_element_user(TITLE2$12, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "title" element
*/
public int sizeOfTitleArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TITLE2$12);
}
}
/**
* Sets array of all "title" element
*/
public void setTitleArray(org.w3.x1999.xlink.TitleEltType[] titleArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(titleArray, TITLE2$12);
}
}
/**
* Sets ith "title" element
*/
public void setTitleArray(int i, org.w3.x1999.xlink.TitleEltType title)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.TitleEltType target = null;
target = (org.w3.x1999.xlink.TitleEltType)get_store().find_element_user(TITLE2$12, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(title);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "title" element
*/
public org.w3.x1999.xlink.TitleEltType insertNewTitle(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.TitleEltType target = null;
target = (org.w3.x1999.xlink.TitleEltType)get_store().insert_element_user(TITLE2$12, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "title" element
*/
public org.w3.x1999.xlink.TitleEltType addNewTitle()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.TitleEltType target = null;
target = (org.w3.x1999.xlink.TitleEltType)get_store().add_element_user(TITLE2$12);
return target;
}
}
/**
* Removes the ith "title" element
*/
public void removeTitle(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TITLE2$12, i);
}
}
/**
* Gets array of all "resource" elements
*/
public org.w3.x1999.xlink.ResourceType[] getResourceArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(RESOURCE$2, targetList);
org.w3.x1999.xlink.ResourceType[] result = new org.w3.x1999.xlink.ResourceType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "resource" element
*/
public org.w3.x1999.xlink.ResourceType getResourceArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.ResourceType target = null;
target = (org.w3.x1999.xlink.ResourceType)get_store().find_element_user(RESOURCE$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "resource" element
*/
public int sizeOfResourceArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(RESOURCE$2);
}
}
/**
* Sets array of all "resource" element
*/
public void setResourceArray(org.w3.x1999.xlink.ResourceType[] resourceArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(resourceArray, RESOURCE$2);
}
}
/**
* Sets ith "resource" element
*/
public void setResourceArray(int i, org.w3.x1999.xlink.ResourceType resource)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.ResourceType target = null;
target = (org.w3.x1999.xlink.ResourceType)get_store().find_element_user(RESOURCE$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(resource);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "resource" element
*/
public org.w3.x1999.xlink.ResourceType insertNewResource(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.ResourceType target = null;
target = (org.w3.x1999.xlink.ResourceType)get_store().insert_element_user(RESOURCE$2, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "resource" element
*/
public org.w3.x1999.xlink.ResourceType addNewResource()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.ResourceType target = null;
target = (org.w3.x1999.xlink.ResourceType)get_store().add_element_user(RESOURCE$2);
return target;
}
}
/**
* Removes the ith "resource" element
*/
public void removeResource(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(RESOURCE$2, i);
}
}
/**
* Gets array of all "locator" elements
*/
public org.w3.x1999.xlink.LocatorType[] getLocatorArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(LOCATOR$4, targetList);
org.w3.x1999.xlink.LocatorType[] result = new org.w3.x1999.xlink.LocatorType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "locator" element
*/
public org.w3.x1999.xlink.LocatorType getLocatorArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.LocatorType target = null;
target = (org.w3.x1999.xlink.LocatorType)get_store().find_element_user(LOCATOR$4, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "locator" element
*/
public int sizeOfLocatorArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(LOCATOR$4);
}
}
/**
* Sets array of all "locator" element
*/
public void setLocatorArray(org.w3.x1999.xlink.LocatorType[] locatorArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(locatorArray, LOCATOR$4);
}
}
/**
* Sets ith "locator" element
*/
public void setLocatorArray(int i, org.w3.x1999.xlink.LocatorType locator)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.LocatorType target = null;
target = (org.w3.x1999.xlink.LocatorType)get_store().find_element_user(LOCATOR$4, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(locator);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "locator" element
*/
public org.w3.x1999.xlink.LocatorType insertNewLocator(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.LocatorType target = null;
target = (org.w3.x1999.xlink.LocatorType)get_store().insert_element_user(LOCATOR$4, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "locator" element
*/
public org.w3.x1999.xlink.LocatorType addNewLocator()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.LocatorType target = null;
target = (org.w3.x1999.xlink.LocatorType)get_store().add_element_user(LOCATOR$4);
return target;
}
}
/**
* Removes the ith "locator" element
*/
public void removeLocator(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(LOCATOR$4, i);
}
}
/**
* Gets array of all "arc" elements
*/
public org.w3.x1999.xlink.ArcType[] getArcArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(ARC$6, targetList);
org.w3.x1999.xlink.ArcType[] result = new org.w3.x1999.xlink.ArcType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "arc" element
*/
public org.w3.x1999.xlink.ArcType getArcArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.ArcType target = null;
target = (org.w3.x1999.xlink.ArcType)get_store().find_element_user(ARC$6, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "arc" element
*/
public int sizeOfArcArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ARC$6);
}
}
/**
* Sets array of all "arc" element
*/
public void setArcArray(org.w3.x1999.xlink.ArcType[] arcArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(arcArray, ARC$6);
}
}
/**
* Sets ith "arc" element
*/
public void setArcArray(int i, org.w3.x1999.xlink.ArcType arc)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.ArcType target = null;
target = (org.w3.x1999.xlink.ArcType)get_store().find_element_user(ARC$6, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(arc);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "arc" element
*/
public org.w3.x1999.xlink.ArcType insertNewArc(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.ArcType target = null;
target = (org.w3.x1999.xlink.ArcType)get_store().insert_element_user(ARC$6, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "arc" element
*/
public org.w3.x1999.xlink.ArcType addNewArc()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.ArcType target = null;
target = (org.w3.x1999.xlink.ArcType)get_store().add_element_user(ARC$6);
return target;
}
}
/**
* Removes the ith "arc" element
*/
public void removeArc(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ARC$6, i);
}
}
/**
* Gets the "type" attribute
*/
public org.w3.x1999.xlink.TypeType.Enum getType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(TYPE$8);
}
if (target == null)
{
return null;
}
return (org.w3.x1999.xlink.TypeType.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "type" attribute
*/
public org.w3.x1999.xlink.TypeType xgetType()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.TypeType target = null;
target = (org.w3.x1999.xlink.TypeType)get_store().find_attribute_user(TYPE$8);
if (target == null)
{
target = (org.w3.x1999.xlink.TypeType)get_default_attribute_value(TYPE$8);
}
return target;
}
}
/**
* Sets the "type" attribute
*/
public void setType(org.w3.x1999.xlink.TypeType.Enum type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$8);
}
target.setEnumValue(type);
}
}
/**
* Sets (as xml) the "type" attribute
*/
public void xsetType(org.w3.x1999.xlink.TypeType type)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.TypeType target = null;
target = (org.w3.x1999.xlink.TypeType)get_store().find_attribute_user(TYPE$8);
if (target == null)
{
target = (org.w3.x1999.xlink.TypeType)get_store().add_attribute_user(TYPE$8);
}
target.set(type);
}
}
/**
* Gets the "role" attribute
*/
public java.lang.String getRole()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ROLE$10);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "role" attribute
*/
public org.w3.x1999.xlink.RoleType xgetRole()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.RoleType target = null;
target = (org.w3.x1999.xlink.RoleType)get_store().find_attribute_user(ROLE$10);
return target;
}
}
/**
* True if has "role" attribute
*/
public boolean isSetRole()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ROLE$10) != null;
}
}
/**
* Sets the "role" attribute
*/
public void setRole(java.lang.String role)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ROLE$10);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ROLE$10);
}
target.setStringValue(role);
}
}
/**
* Sets (as xml) the "role" attribute
*/
public void xsetRole(org.w3.x1999.xlink.RoleType role)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.RoleType target = null;
target = (org.w3.x1999.xlink.RoleType)get_store().find_attribute_user(ROLE$10);
if (target == null)
{
target = (org.w3.x1999.xlink.RoleType)get_store().add_attribute_user(ROLE$10);
}
target.set(role);
}
}
/**
* Unsets the "role" attribute
*/
public void unsetRole()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ROLE$10);
}
}
/**
* Gets the "title" attribute
*/
public java.lang.String getTitle2()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TITLE2$12);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "title" attribute
*/
public org.w3.x1999.xlink.TitleAttrType xgetTitle2()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.TitleAttrType target = null;
target = (org.w3.x1999.xlink.TitleAttrType)get_store().find_attribute_user(TITLE2$12);
return target;
}
}
/**
* True if has "title" attribute
*/
public boolean isSetTitle2()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TITLE2$12) != null;
}
}
/**
* Sets the "title" attribute
*/
public void setTitle2(java.lang.String title2)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TITLE2$12);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TITLE2$12);
}
target.setStringValue(title2);
}
}
/**
* Sets (as xml) the "title" attribute
*/
public void xsetTitle2(org.w3.x1999.xlink.TitleAttrType title2)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.TitleAttrType target = null;
target = (org.w3.x1999.xlink.TitleAttrType)get_store().find_attribute_user(TITLE2$12);
if (target == null)
{
target = (org.w3.x1999.xlink.TitleAttrType)get_store().add_attribute_user(TITLE2$12);
}
target.set(title2);
}
}
/**
* Unsets the "title" attribute
*/
public void unsetTitle2()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TITLE2$12);
}
}
}