org.w3.x1999.xlink.impl.TitleDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: title
* Namespace: http://www.w3.org/1999/xlink
* Java type: org.w3.x1999.xlink.TitleDocument
*
* Automatically generated - do not modify.
*/
package org.w3.x1999.xlink.impl;
/**
* A document containing one title(@http://www.w3.org/1999/xlink) element.
*
* This is a complex type.
*/
public class TitleDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.x1999.xlink.TitleDocument
{
private static final long serialVersionUID = 1L;
public TitleDocumentImpl(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");
/**
* Gets the "title" element
*/
public org.w3.x1999.xlink.TitleEltType getTitle()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x1999.xlink.TitleEltType target = null;
target = (org.w3.x1999.xlink.TitleEltType)get_store().find_element_user(TITLE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "title" element
*/
public void setTitle(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(TITLE$0, 0);
if (target == null)
{
target = (org.w3.x1999.xlink.TitleEltType)get_store().add_element_user(TITLE$0);
}
target.set(title);
}
}
/**
* Appends and returns a new empty "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(TITLE$0);
return target;
}
}
}