org.apache.poi.xwpf.usermodel
Class XWPFSDT

java.lang.Object
  extended by org.apache.poi.xwpf.usermodel.AbstractXWPFSDT
      extended by org.apache.poi.xwpf.usermodel.XWPFSDT
All Implemented Interfaces:
IBodyElement, IRunBody, IRunElement, ISDTContents

public class XWPFSDT
extends AbstractXWPFSDT
implements IBodyElement, IRunBody, ISDTContents, IRunElement

Experimental class to offer rudimentary read-only processing of of StructuredDocumentTags/ContentControl

WARNING - APIs expected to change rapidly


Constructor Summary
XWPFSDT(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtBlock block, IBody part)
           
XWPFSDT(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtRun sdtRun, IBody part)
           
 
Method Summary
 ISDTContent getContent()
           
 
Methods inherited from class org.apache.poi.xwpf.usermodel.AbstractXWPFSDT
getBody, getDocument, getElementType, getPart, getPartType, getTag, getTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.poi.xwpf.usermodel.IBodyElement
getBody, getElementType, getPart, getPartType
 
Methods inherited from interface org.apache.poi.xwpf.usermodel.IRunBody
getDocument, getPart
 

Constructor Detail

XWPFSDT

public XWPFSDT(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtRun sdtRun,
               IBody part)

XWPFSDT

public XWPFSDT(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSdtBlock block,
               IBody part)
Method Detail

getContent

public ISDTContent getContent()
Specified by:
getContent in class AbstractXWPFSDT
Returns:
the content object