com.hfg.xml.msofficexml.docx.drawingml.DmlNonVisualPictureProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com_hfg Show documentation
Show all versions of com_hfg Show documentation
com.hfg xml, html, svg, and bioinformatics utility library
package com.hfg.xml.msofficexml.docx.drawingml;
import com.hfg.xml.XMLTag;
public class DmlNonVisualPictureProperties extends XMLTag
{
DmlNonVisualDrawingProperties mNonVisualDrawingProperties;
DmlNonVisualPictureDrawingProperties mNonVisualPictureDrawingProperties;
//---------------------------------------------------------------------------
public DmlNonVisualPictureProperties()
{
super(DmlXML.NON_VISUAL_PIC_PROPS);
}
//---------------------------------------------------------------------------
/**
* Returns the non-visual drawing properties tag if one exists or else instantiates a new one.
* @return the non-visual drawing properties
*/
public DmlNonVisualDrawingProperties getNonVisualDrawingProperties()
{
if (null == mNonVisualDrawingProperties)
{
// Check if it has been added via addSubtag()...
mNonVisualDrawingProperties = (DmlNonVisualDrawingProperties) getOptionalSubtagByName(DmlXML.NON_VISUAL_DRAWING_PROPS);
if (null == mNonVisualDrawingProperties)
{
mNonVisualDrawingProperties = new DmlNonVisualDrawingProperties();
addSubtag(mNonVisualDrawingProperties);
}
}
return mNonVisualDrawingProperties;
}
//---------------------------------------------------------------------------
/**
* Returns the non-visual drawing properties tag if one exists or else instantiates a new one.
* @return the non-visual drawing properties
*/
public DmlNonVisualPictureDrawingProperties getNonVisualPictureDrawingProperties()
{
if (null == mNonVisualPictureDrawingProperties)
{
// Check if it has been added via addSubtag()...
mNonVisualPictureDrawingProperties = (DmlNonVisualPictureDrawingProperties) getOptionalSubtagByName(DmlXML.NON_VISUAL_PIC_DRAWING_PROPS);
if (null == mNonVisualPictureDrawingProperties)
{
mNonVisualPictureDrawingProperties = new DmlNonVisualPictureDrawingProperties();
addSubtag(mNonVisualPictureDrawingProperties);
}
}
return mNonVisualPictureDrawingProperties;
}
}