com.microsoft.schemas.office.visio.x2012.main.impl.VisioDocumentTypeImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds:
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip
The newest version!
/*
* XML Type: VisioDocument_Type
* Namespace: http://schemas.microsoft.com/office/visio/2012/main
* Java type: com.microsoft.schemas.office.visio.x2012.main.VisioDocumentType
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
* An XML VisioDocument_Type(@http://schemas.microsoft.com/office/visio/2012/main).
*
* This is a complex type.
*/
public class VisioDocumentTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.VisioDocumentType
{
private static final long serialVersionUID = 1L;
public VisioDocumentTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DOCUMENTSETTINGS$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "DocumentSettings");
private static final javax.xml.namespace.QName COLORS$2 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "Colors");
private static final javax.xml.namespace.QName FACENAMES$4 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "FaceNames");
private static final javax.xml.namespace.QName STYLESHEETS$6 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "StyleSheets");
private static final javax.xml.namespace.QName DOCUMENTSHEET$8 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "DocumentSheet");
private static final javax.xml.namespace.QName EVENTLIST$10 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "EventList");
private static final javax.xml.namespace.QName HEADERFOOTER$12 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "HeaderFooter");
private static final javax.xml.namespace.QName PUBLISHSETTINGS$14 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "PublishSettings");
/**
* Gets the "DocumentSettings" element
*/
public com.microsoft.schemas.office.visio.x2012.main.DocumentSettingsType getDocumentSettings()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.DocumentSettingsType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.DocumentSettingsType)get_store().find_element_user(DOCUMENTSETTINGS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "DocumentSettings" element
*/
public boolean isSetDocumentSettings()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(DOCUMENTSETTINGS$0) != 0;
}
}
/**
* Sets the "DocumentSettings" element
*/
public void setDocumentSettings(com.microsoft.schemas.office.visio.x2012.main.DocumentSettingsType documentSettings)
{
generatedSetterHelperImpl(documentSettings, DOCUMENTSETTINGS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "DocumentSettings" element
*/
public com.microsoft.schemas.office.visio.x2012.main.DocumentSettingsType addNewDocumentSettings()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.DocumentSettingsType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.DocumentSettingsType)get_store().add_element_user(DOCUMENTSETTINGS$0);
return target;
}
}
/**
* Unsets the "DocumentSettings" element
*/
public void unsetDocumentSettings()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(DOCUMENTSETTINGS$0, 0);
}
}
/**
* Gets the "Colors" element
*/
public com.microsoft.schemas.office.visio.x2012.main.ColorsType getColors()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.ColorsType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.ColorsType)get_store().find_element_user(COLORS$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Colors" element
*/
public boolean isSetColors()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(COLORS$2) != 0;
}
}
/**
* Sets the "Colors" element
*/
public void setColors(com.microsoft.schemas.office.visio.x2012.main.ColorsType colors)
{
generatedSetterHelperImpl(colors, COLORS$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "Colors" element
*/
public com.microsoft.schemas.office.visio.x2012.main.ColorsType addNewColors()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.ColorsType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.ColorsType)get_store().add_element_user(COLORS$2);
return target;
}
}
/**
* Unsets the "Colors" element
*/
public void unsetColors()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(COLORS$2, 0);
}
}
/**
* Gets the "FaceNames" element
*/
public com.microsoft.schemas.office.visio.x2012.main.FaceNamesType getFaceNames()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FaceNamesType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FaceNamesType)get_store().find_element_user(FACENAMES$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "FaceNames" element
*/
public boolean isSetFaceNames()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(FACENAMES$4) != 0;
}
}
/**
* Sets the "FaceNames" element
*/
public void setFaceNames(com.microsoft.schemas.office.visio.x2012.main.FaceNamesType faceNames)
{
generatedSetterHelperImpl(faceNames, FACENAMES$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "FaceNames" element
*/
public com.microsoft.schemas.office.visio.x2012.main.FaceNamesType addNewFaceNames()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FaceNamesType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FaceNamesType)get_store().add_element_user(FACENAMES$4);
return target;
}
}
/**
* Unsets the "FaceNames" element
*/
public void unsetFaceNames()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(FACENAMES$4, 0);
}
}
/**
* Gets the "StyleSheets" element
*/
public com.microsoft.schemas.office.visio.x2012.main.StyleSheetsType getStyleSheets()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.StyleSheetsType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.StyleSheetsType)get_store().find_element_user(STYLESHEETS$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "StyleSheets" element
*/
public boolean isSetStyleSheets()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(STYLESHEETS$6) != 0;
}
}
/**
* Sets the "StyleSheets" element
*/
public void setStyleSheets(com.microsoft.schemas.office.visio.x2012.main.StyleSheetsType styleSheets)
{
generatedSetterHelperImpl(styleSheets, STYLESHEETS$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "StyleSheets" element
*/
public com.microsoft.schemas.office.visio.x2012.main.StyleSheetsType addNewStyleSheets()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.StyleSheetsType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.StyleSheetsType)get_store().add_element_user(STYLESHEETS$6);
return target;
}
}
/**
* Unsets the "StyleSheets" element
*/
public void unsetStyleSheets()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(STYLESHEETS$6, 0);
}
}
/**
* Gets the "DocumentSheet" element
*/
public com.microsoft.schemas.office.visio.x2012.main.DocumentSheetType getDocumentSheet()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.DocumentSheetType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.DocumentSheetType)get_store().find_element_user(DOCUMENTSHEET$8, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "DocumentSheet" element
*/
public boolean isSetDocumentSheet()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(DOCUMENTSHEET$8) != 0;
}
}
/**
* Sets the "DocumentSheet" element
*/
public void setDocumentSheet(com.microsoft.schemas.office.visio.x2012.main.DocumentSheetType documentSheet)
{
generatedSetterHelperImpl(documentSheet, DOCUMENTSHEET$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "DocumentSheet" element
*/
public com.microsoft.schemas.office.visio.x2012.main.DocumentSheetType addNewDocumentSheet()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.DocumentSheetType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.DocumentSheetType)get_store().add_element_user(DOCUMENTSHEET$8);
return target;
}
}
/**
* Unsets the "DocumentSheet" element
*/
public void unsetDocumentSheet()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(DOCUMENTSHEET$8, 0);
}
}
/**
* Gets the "EventList" element
*/
public com.microsoft.schemas.office.visio.x2012.main.EventListType getEventList()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.EventListType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.EventListType)get_store().find_element_user(EVENTLIST$10, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "EventList" element
*/
public boolean isSetEventList()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EVENTLIST$10) != 0;
}
}
/**
* Sets the "EventList" element
*/
public void setEventList(com.microsoft.schemas.office.visio.x2012.main.EventListType eventList)
{
generatedSetterHelperImpl(eventList, EVENTLIST$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "EventList" element
*/
public com.microsoft.schemas.office.visio.x2012.main.EventListType addNewEventList()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.EventListType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.EventListType)get_store().add_element_user(EVENTLIST$10);
return target;
}
}
/**
* Unsets the "EventList" element
*/
public void unsetEventList()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EVENTLIST$10, 0);
}
}
/**
* Gets the "HeaderFooter" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderFooterType getHeaderFooter()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderFooterType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderFooterType)get_store().find_element_user(HEADERFOOTER$12, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "HeaderFooter" element
*/
public boolean isSetHeaderFooter()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(HEADERFOOTER$12) != 0;
}
}
/**
* Sets the "HeaderFooter" element
*/
public void setHeaderFooter(com.microsoft.schemas.office.visio.x2012.main.HeaderFooterType headerFooter)
{
generatedSetterHelperImpl(headerFooter, HEADERFOOTER$12, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "HeaderFooter" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderFooterType addNewHeaderFooter()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderFooterType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderFooterType)get_store().add_element_user(HEADERFOOTER$12);
return target;
}
}
/**
* Unsets the "HeaderFooter" element
*/
public void unsetHeaderFooter()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(HEADERFOOTER$12, 0);
}
}
/**
* Gets the "PublishSettings" element
*/
public com.microsoft.schemas.office.visio.x2012.main.PublishSettingsType getPublishSettings()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.PublishSettingsType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.PublishSettingsType)get_store().find_element_user(PUBLISHSETTINGS$14, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "PublishSettings" element
*/
public boolean isSetPublishSettings()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PUBLISHSETTINGS$14) != 0;
}
}
/**
* Sets the "PublishSettings" element
*/
public void setPublishSettings(com.microsoft.schemas.office.visio.x2012.main.PublishSettingsType publishSettings)
{
generatedSetterHelperImpl(publishSettings, PUBLISHSETTINGS$14, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "PublishSettings" element
*/
public com.microsoft.schemas.office.visio.x2012.main.PublishSettingsType addNewPublishSettings()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.PublishSettingsType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.PublishSettingsType)get_store().add_element_user(PUBLISHSETTINGS$14);
return target;
}
}
/**
* Unsets the "PublishSettings" element
*/
public void unsetPublishSettings()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PUBLISHSETTINGS$14, 0);
}
}
}