com.microsoft.schemas.office.visio.x2012.main.impl.HeaderFooterTypeImpl 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
/*
* XML Type: HeaderFooter_Type
* Namespace: http://schemas.microsoft.com/office/visio/2012/main
* Java type: com.microsoft.schemas.office.visio.x2012.main.HeaderFooterType
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
* An XML HeaderFooter_Type(@http://schemas.microsoft.com/office/visio/2012/main).
*
* This is a complex type.
*/
public class HeaderFooterTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.HeaderFooterType
{
public HeaderFooterTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName HEADERMARGIN$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "HeaderMargin");
private static final javax.xml.namespace.QName FOOTERMARGIN$2 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "FooterMargin");
private static final javax.xml.namespace.QName HEADERLEFT$4 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "HeaderLeft");
private static final javax.xml.namespace.QName HEADERCENTER$6 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "HeaderCenter");
private static final javax.xml.namespace.QName HEADERRIGHT$8 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "HeaderRight");
private static final javax.xml.namespace.QName FOOTERLEFT$10 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "FooterLeft");
private static final javax.xml.namespace.QName FOOTERCENTER$12 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "FooterCenter");
private static final javax.xml.namespace.QName FOOTERRIGHT$14 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "FooterRight");
private static final javax.xml.namespace.QName HEADERFOOTERFONT$16 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "HeaderFooterFont");
private static final javax.xml.namespace.QName HEADERFOOTERCOLOR$18 =
new javax.xml.namespace.QName("", "HeaderFooterColor");
/**
* Gets the "HeaderMargin" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderMarginType getHeaderMargin()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderMarginType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderMarginType)get_store().find_element_user(HEADERMARGIN$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "HeaderMargin" element
*/
public boolean isSetHeaderMargin()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(HEADERMARGIN$0) != 0;
}
}
/**
* Sets the "HeaderMargin" element
*/
public void setHeaderMargin(com.microsoft.schemas.office.visio.x2012.main.HeaderMarginType headerMargin)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderMarginType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderMarginType)get_store().find_element_user(HEADERMARGIN$0, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderMarginType)get_store().add_element_user(HEADERMARGIN$0);
}
target.set(headerMargin);
}
}
/**
* Appends and returns a new empty "HeaderMargin" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderMarginType addNewHeaderMargin()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderMarginType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderMarginType)get_store().add_element_user(HEADERMARGIN$0);
return target;
}
}
/**
* Unsets the "HeaderMargin" element
*/
public void unsetHeaderMargin()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(HEADERMARGIN$0, 0);
}
}
/**
* Gets the "FooterMargin" element
*/
public com.microsoft.schemas.office.visio.x2012.main.FooterMarginType getFooterMargin()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterMarginType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterMarginType)get_store().find_element_user(FOOTERMARGIN$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "FooterMargin" element
*/
public boolean isSetFooterMargin()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(FOOTERMARGIN$2) != 0;
}
}
/**
* Sets the "FooterMargin" element
*/
public void setFooterMargin(com.microsoft.schemas.office.visio.x2012.main.FooterMarginType footerMargin)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterMarginType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterMarginType)get_store().find_element_user(FOOTERMARGIN$2, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.visio.x2012.main.FooterMarginType)get_store().add_element_user(FOOTERMARGIN$2);
}
target.set(footerMargin);
}
}
/**
* Appends and returns a new empty "FooterMargin" element
*/
public com.microsoft.schemas.office.visio.x2012.main.FooterMarginType addNewFooterMargin()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterMarginType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterMarginType)get_store().add_element_user(FOOTERMARGIN$2);
return target;
}
}
/**
* Unsets the "FooterMargin" element
*/
public void unsetFooterMargin()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(FOOTERMARGIN$2, 0);
}
}
/**
* Gets the "HeaderLeft" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderLeftType getHeaderLeft()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderLeftType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderLeftType)get_store().find_element_user(HEADERLEFT$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "HeaderLeft" element
*/
public boolean isSetHeaderLeft()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(HEADERLEFT$4) != 0;
}
}
/**
* Sets the "HeaderLeft" element
*/
public void setHeaderLeft(com.microsoft.schemas.office.visio.x2012.main.HeaderLeftType headerLeft)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderLeftType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderLeftType)get_store().find_element_user(HEADERLEFT$4, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderLeftType)get_store().add_element_user(HEADERLEFT$4);
}
target.set(headerLeft);
}
}
/**
* Appends and returns a new empty "HeaderLeft" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderLeftType addNewHeaderLeft()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderLeftType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderLeftType)get_store().add_element_user(HEADERLEFT$4);
return target;
}
}
/**
* Unsets the "HeaderLeft" element
*/
public void unsetHeaderLeft()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(HEADERLEFT$4, 0);
}
}
/**
* Gets the "HeaderCenter" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderCenterType getHeaderCenter()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderCenterType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderCenterType)get_store().find_element_user(HEADERCENTER$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "HeaderCenter" element
*/
public boolean isSetHeaderCenter()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(HEADERCENTER$6) != 0;
}
}
/**
* Sets the "HeaderCenter" element
*/
public void setHeaderCenter(com.microsoft.schemas.office.visio.x2012.main.HeaderCenterType headerCenter)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderCenterType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderCenterType)get_store().find_element_user(HEADERCENTER$6, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderCenterType)get_store().add_element_user(HEADERCENTER$6);
}
target.set(headerCenter);
}
}
/**
* Appends and returns a new empty "HeaderCenter" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderCenterType addNewHeaderCenter()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderCenterType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderCenterType)get_store().add_element_user(HEADERCENTER$6);
return target;
}
}
/**
* Unsets the "HeaderCenter" element
*/
public void unsetHeaderCenter()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(HEADERCENTER$6, 0);
}
}
/**
* Gets the "HeaderRight" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderRightType getHeaderRight()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderRightType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderRightType)get_store().find_element_user(HEADERRIGHT$8, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "HeaderRight" element
*/
public boolean isSetHeaderRight()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(HEADERRIGHT$8) != 0;
}
}
/**
* Sets the "HeaderRight" element
*/
public void setHeaderRight(com.microsoft.schemas.office.visio.x2012.main.HeaderRightType headerRight)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderRightType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderRightType)get_store().find_element_user(HEADERRIGHT$8, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderRightType)get_store().add_element_user(HEADERRIGHT$8);
}
target.set(headerRight);
}
}
/**
* Appends and returns a new empty "HeaderRight" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderRightType addNewHeaderRight()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderRightType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderRightType)get_store().add_element_user(HEADERRIGHT$8);
return target;
}
}
/**
* Unsets the "HeaderRight" element
*/
public void unsetHeaderRight()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(HEADERRIGHT$8, 0);
}
}
/**
* Gets the "FooterLeft" element
*/
public com.microsoft.schemas.office.visio.x2012.main.FooterLeftType getFooterLeft()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterLeftType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterLeftType)get_store().find_element_user(FOOTERLEFT$10, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "FooterLeft" element
*/
public boolean isSetFooterLeft()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(FOOTERLEFT$10) != 0;
}
}
/**
* Sets the "FooterLeft" element
*/
public void setFooterLeft(com.microsoft.schemas.office.visio.x2012.main.FooterLeftType footerLeft)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterLeftType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterLeftType)get_store().find_element_user(FOOTERLEFT$10, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.visio.x2012.main.FooterLeftType)get_store().add_element_user(FOOTERLEFT$10);
}
target.set(footerLeft);
}
}
/**
* Appends and returns a new empty "FooterLeft" element
*/
public com.microsoft.schemas.office.visio.x2012.main.FooterLeftType addNewFooterLeft()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterLeftType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterLeftType)get_store().add_element_user(FOOTERLEFT$10);
return target;
}
}
/**
* Unsets the "FooterLeft" element
*/
public void unsetFooterLeft()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(FOOTERLEFT$10, 0);
}
}
/**
* Gets the "FooterCenter" element
*/
public com.microsoft.schemas.office.visio.x2012.main.FooterCenterType getFooterCenter()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterCenterType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterCenterType)get_store().find_element_user(FOOTERCENTER$12, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "FooterCenter" element
*/
public boolean isSetFooterCenter()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(FOOTERCENTER$12) != 0;
}
}
/**
* Sets the "FooterCenter" element
*/
public void setFooterCenter(com.microsoft.schemas.office.visio.x2012.main.FooterCenterType footerCenter)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterCenterType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterCenterType)get_store().find_element_user(FOOTERCENTER$12, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.visio.x2012.main.FooterCenterType)get_store().add_element_user(FOOTERCENTER$12);
}
target.set(footerCenter);
}
}
/**
* Appends and returns a new empty "FooterCenter" element
*/
public com.microsoft.schemas.office.visio.x2012.main.FooterCenterType addNewFooterCenter()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterCenterType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterCenterType)get_store().add_element_user(FOOTERCENTER$12);
return target;
}
}
/**
* Unsets the "FooterCenter" element
*/
public void unsetFooterCenter()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(FOOTERCENTER$12, 0);
}
}
/**
* Gets the "FooterRight" element
*/
public com.microsoft.schemas.office.visio.x2012.main.FooterRightType getFooterRight()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterRightType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterRightType)get_store().find_element_user(FOOTERRIGHT$14, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "FooterRight" element
*/
public boolean isSetFooterRight()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(FOOTERRIGHT$14) != 0;
}
}
/**
* Sets the "FooterRight" element
*/
public void setFooterRight(com.microsoft.schemas.office.visio.x2012.main.FooterRightType footerRight)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterRightType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterRightType)get_store().find_element_user(FOOTERRIGHT$14, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.visio.x2012.main.FooterRightType)get_store().add_element_user(FOOTERRIGHT$14);
}
target.set(footerRight);
}
}
/**
* Appends and returns a new empty "FooterRight" element
*/
public com.microsoft.schemas.office.visio.x2012.main.FooterRightType addNewFooterRight()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.FooterRightType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.FooterRightType)get_store().add_element_user(FOOTERRIGHT$14);
return target;
}
}
/**
* Unsets the "FooterRight" element
*/
public void unsetFooterRight()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(FOOTERRIGHT$14, 0);
}
}
/**
* Gets the "HeaderFooterFont" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderFooterFontType getHeaderFooterFont()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderFooterFontType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderFooterFontType)get_store().find_element_user(HEADERFOOTERFONT$16, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "HeaderFooterFont" element
*/
public boolean isSetHeaderFooterFont()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(HEADERFOOTERFONT$16) != 0;
}
}
/**
* Sets the "HeaderFooterFont" element
*/
public void setHeaderFooterFont(com.microsoft.schemas.office.visio.x2012.main.HeaderFooterFontType headerFooterFont)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderFooterFontType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderFooterFontType)get_store().find_element_user(HEADERFOOTERFONT$16, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderFooterFontType)get_store().add_element_user(HEADERFOOTERFONT$16);
}
target.set(headerFooterFont);
}
}
/**
* Appends and returns a new empty "HeaderFooterFont" element
*/
public com.microsoft.schemas.office.visio.x2012.main.HeaderFooterFontType addNewHeaderFooterFont()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.visio.x2012.main.HeaderFooterFontType target = null;
target = (com.microsoft.schemas.office.visio.x2012.main.HeaderFooterFontType)get_store().add_element_user(HEADERFOOTERFONT$16);
return target;
}
}
/**
* Unsets the "HeaderFooterFont" element
*/
public void unsetHeaderFooterFont()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(HEADERFOOTERFONT$16, 0);
}
}
/**
* Gets the "HeaderFooterColor" attribute
*/
public java.lang.String getHeaderFooterColor()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HEADERFOOTERCOLOR$18);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "HeaderFooterColor" attribute
*/
public org.apache.xmlbeans.XmlString xgetHeaderFooterColor()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(HEADERFOOTERCOLOR$18);
return target;
}
}
/**
* True if has "HeaderFooterColor" attribute
*/
public boolean isSetHeaderFooterColor()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(HEADERFOOTERCOLOR$18) != null;
}
}
/**
* Sets the "HeaderFooterColor" attribute
*/
public void setHeaderFooterColor(java.lang.String headerFooterColor)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HEADERFOOTERCOLOR$18);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(HEADERFOOTERCOLOR$18);
}
target.setStringValue(headerFooterColor);
}
}
/**
* Sets (as xml) the "HeaderFooterColor" attribute
*/
public void xsetHeaderFooterColor(org.apache.xmlbeans.XmlString headerFooterColor)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(HEADERFOOTERCOLOR$18);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(HEADERFOOTERCOLOR$18);
}
target.set(headerFooterColor);
}
}
/**
* Unsets the "HeaderFooterColor" attribute
*/
public void unsetHeaderFooterColor()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(HEADERFOOTERCOLOR$18);
}
}
}