|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.PdfDocument
public class PdfDocument
Root object of the library to create PDF files.
| Constructor Summary | |
|---|---|
PdfDocument()
Initializes a new instance of the class. |
|
PdfDocument(byte[] bytes)
Initializes a new instance of the class. |
|
PdfDocument(byte[] bytes,
java.lang.String password)
Initializes a new instance of the class. |
|
PdfDocument(java.io.InputStream stream)
Initializes a new instance of the class. |
|
PdfDocument(java.io.InputStream stream,
java.lang.String password)
Initializes a new instance. |
|
PdfDocument(PdfConformanceLevel Pdflevel)
Deprecated. This method will be removed in the future. |
|
PdfDocument(java.lang.String filename)
Initializes a new instance of the class. |
|
PdfDocument(java.lang.String filename,
java.lang.String password)
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
PdfPageBase |
appendPage()
append a page to the pdf files |
void |
appendPage(PdfDocument doc)
append a page to the pdf files |
static void |
clearCustomFontsFolders()
Clear the path of the folder where the custom font is located. |
void |
close()
Closes the document. |
void |
createBooklet(java.lang.String fileName,
double width,
double height,
boolean bothSides)
Create booklet. |
void |
createBooklet(java.lang.String fileName,
float width,
float height,
boolean bothSides)
for the document create booklet |
void |
createBooklet(java.lang.String fileName,
float width,
float height,
boolean bothSides,
DrawPageInBookletEventHandler beginDrawPage,
DrawPageInBookletEventHandler endDrawPage)
Create booklet. |
void |
decrypt()
Decrypts the document. |
void |
decrypt(java.lang.String ownerPassword)
Decrypts the document. |
java.lang.Object |
deepClone()
Creates a new object that is a copy of the current instance. |
void |
dispose()
Releases unmanaged resources and performs other cleanup operations before the is reclaimed by garbage collection. |
void |
encrypt(PdfSecurityPolicy securityPolicy)
Encrypts the document. |
PdfAction |
getAfterOpenAction()
Gets the action to execute when the document is opened. |
PdfJavaScriptAction |
getAfterPrintAction()
Gets the action to be performed after the document is printed. |
PdfJavaScriptAction |
getAfterSaveAction()
Gets the jave script action to be performed after the document is saved. |
boolean |
getAllowCreateForm()
Get or Set Allow Create Form. |
PdfAttachmentCollection |
getAttachments()
Gets the collection of document attachments displayed on a PDF page. |
PdfJavaScriptAction |
getBeforeCloseAction()
Gets the action to be performed before the document is closed. |
PdfJavaScriptAction |
getBeforePrintAction()
Gets or sets the action to be performed before the document is printed. |
PdfJavaScriptAction |
getBeforeSaveAction()
Gets the java script action to be performed before the document is saved. |
PdfBookmarkCollection |
getBookmarks()
Gets the bookmarks. |
PdfCollection |
getCollection()
Gets pdf collections. |
PdfColorSpace |
getColorSpace()
Gets the color space for page that will be created. |
PdfCompressionLevel |
getCompressionLevel()
Gets or sets the desired level of stream compression. |
PdfConformanceLevel |
getConformance()
Get document PdfConformanceLevel |
PdfConvertOptions |
getConvertOptions()
Gets some options when do convert operation. |
int |
getCustomScaling()
Get current document print PageScaling |
PdfDocumentInformation |
getDocumentInformation()
Gets document's information and properties. |
PdfPieceInfo |
getDocumentPieceInfo()
Gets document piece info. |
static boolean |
getEnableFontCache()
Indicates whether enable font cache. |
static boolean |
getExportTextEnableOCR()
|
static IOCR |
getExportTextOCRHandler()
|
PdfFileInfo |
getFileInfo()
Get The file info int the PDF document |
PdfForm |
getForm()
Gets the loaded form. |
PdfDocumentActions |
getJavaScripts()
Gets the additional document's actions. |
PdfLayerCollection |
getLayers()
Gets Optional content properties |
PdfXmpMetadata |
getMetadata()
Get the document metadata. |
PdfCatalogNames |
getNames()
Gets document catalog names. |
PdfPageLabels |
getPageLabels()
Get page labels. |
PdfPageCollection |
getPages()
Gets the pages. |
PdfPrintPageScaling |
getPageScaling()
Get PdfDocument Print PageScaling |
PdfPageSettings |
getPageSettings()
Get a page settings in the pdf documents |
PdfDocumentBase |
getPDFStandard()
Deprecated. |
PrintSettings |
getPrintSettings()
Get print settings. |
boolean |
getPrintUsingImageMode()
get print by using image mode |
PdfSectionCollection |
getSections()
Gets the sections of a page |
PdfSecurity |
getSecurity()
Deprecated. This method may be removed in the future. please use methods(Encrypt(PdfSecurityPolicy SecurityPolicy), decrypt(), getSecurityPolicy()) instead. |
PdfSecurityPolicy |
getSecurityPolicy()
Gets the document's security policy. |
byte[] |
getSignatreContuent(java.lang.String signName)
Get the signature content |
java.lang.Object |
getTag()
|
PdfDocumentTemplate |
getTemplate()
Gets the template of pdf document |
PdfUsedFont[] |
getUsedFonts()
Gets the m_fonts which are available in the PDF document. |
boolean |
getUseHighQualityImage()
Indicates whether to use the high qulity image when convert document |
PdfViewerPreferences |
getViewerPreferences()
Gets a viewer preferences object controlling the way the document is to be presented on the screen or in print. |
PdfPageBase |
insertPage(PdfDocument doc,
int pageIndex)
Imports a page. |
PdfPageBase |
insertPage(PdfDocument doc,
int pageIndex,
int resultPageIndex)
Imports a page. |
PdfPageBase |
insertPage(PdfDocument doc,
PdfPageBase page)
Imports a page. |
PdfPageBase |
insertPageRange(PdfDocument doc,
int startIndex,
int endIndex)
Imports a page range from a loaded document. |
static boolean |
isAutoOptimizingTextColor()
|
static void |
isAutoOptimizingTextColor(boolean autoOptimizingTextColor)
|
boolean |
isEncrypted()
Indicates the document is encrypted or not |
static boolean |
isPasswordProtected(java.io.InputStream stream)
Deprecated. use PdfDocument.isEncrypted() instead. |
static boolean |
isPasswordProtected(java.lang.String fileName)
Deprecated. use PdfDocument.isEncrypted() instead. |
boolean |
isPortfolio()
Indicates the document is a PDF Portfolio or not. |
void |
loadFromBytes(byte[] bytes)
Initializes a new instance of the class. |
void |
loadFromFile(java.lang.String filename)
Initializes a new instance of the class. |
void |
loadFromFile(java.lang.String fileName,
FileFormat fileFormat)
Loading the specified format file. |
void |
loadFromFile(java.lang.String filename,
java.lang.String password)
Initializes a new instance of the class. |
void |
loadFromStream(java.io.InputStream stream)
Initializes a new instance of the class. |
void |
loadFromSvg(java.io.InputStream stream)
Load pdf from svg stream. |
void |
loadFromSvg(java.lang.String fileName)
Load Pdf from svg file. |
void |
loadFromXPS(byte[] xpsBytes)
Load a xps bytes array. |
void |
loadFromXPS(java.io.InputStream xpsStream)
Load a xps stream. |
void |
loadFromXPS(java.lang.String fileName)
Load a xps file. |
static PdfDocumentBase |
merge(PdfDocumentBase dest,
java.lang.Object... srcs)
Merges the specified source documents and return destination document. |
static PdfDocumentBase |
mergeFiles(java.io.InputStream[] inputStreams)
Merges the PDF documents specified by the Stream. |
static void |
mergeFiles(com.spire.ms.System.IO.Stream[] inputFiles,
com.spire.ms.System.IO.Stream outputFile)
Merge the PDF documents. |
static PdfDocumentBase |
mergeFiles(java.lang.String[] InputFiles)
Merges the PDF documents specified by the paths The array of string paths. |
static void |
mergeFiles(java.lang.String[] inputFiles,
java.lang.String outputFile)
Merge the PDF documents. |
static PdfDocumentBase |
mergeFiles(java.lang.String firstInputFile,
java.lang.String secInputFile)
Merges the PDF documents specified by the paths. |
void |
print()
Print document |
void |
print(PrintSettings printSettings)
Print document. |
boolean |
removeDocumentJavaScript()
remove document's javaScript |
java.awt.image.BufferedImage |
saveAsImage(int pageIndex)
Saves PDF document page as BufferedImage |
java.awt.image.BufferedImage |
saveAsImage(int pageIndex,
PdfImageType type)
Saves PDF document page as image |
java.awt.image.BufferedImage |
saveAsImage(int pageIndex,
PdfImageType type,
int dpiX,
int dpiY)
Saves PDF document page as image,Set PdfImageType and image Dpi |
void |
saveToFile(java.lang.String filename)
Saves PDF document to file. |
void |
saveToFile(java.lang.String filename,
FileFormat fileFormat)
Saves PDF document to file. |
void |
saveToFile(java.lang.String filename,
int startIndex,
int endIndex,
FileFormat fileFormat)
Saves PDF document to other Format files. |
void |
saveToPdf(java.lang.String fileName,
PdfConformanceLevel pdfConformanceLevel)
Deprecated. Please use PdfStandardsConverter instead. |
void |
saveToPdfX1A2001(java.lang.String fileName)
Deprecated. |
java.io.ByteArrayOutputStream[] |
saveToStream(FileFormat format)
Convert the specified range of the document pages to the format file which saved to streams. |
java.io.ByteArrayOutputStream[] |
saveToStream(int startIndex,
int endIndex,
FileFormat format)
Convert the specified range of the document pages to the format file which saved to streams. |
void |
saveToStream(java.io.OutputStream stream)
Saves the document to the specified stream. |
void |
saveToStream(java.io.OutputStream stream,
FileFormat format)
Saves the document to the specified stream. |
void |
saveToTiff(java.lang.String tiffFilename)
Save the document to tiff. |
void |
saveToTiff(java.lang.String tiffFilename,
int startPage,
int endPage,
int dpix,
int dpiy)
|
void |
saveToTiff(java.lang.String tiffFilename,
int startPage,
int endPage,
TiffCompressionTypes tiffCompressionTypes)
Deprecated. |
void |
setAfterOpenAction(PdfAction value)
Sets the action to execute when the document is opened. |
void |
setAfterPrintAction(PdfJavaScriptAction value)
Sets the action to be performed after the document is printed. |
void |
setAfterSaveAction(PdfJavaScriptAction value)
Sets the jave script action to be performed after the document is saved. |
void |
setAllowCreateForm(boolean value)
|
void |
setBeforeCloseAction(PdfJavaScriptAction value)
Sets the action to be performed before the document is closed. |
void |
setBeforePrintAction(PdfJavaScriptAction value)
Sets the action to be performed before the document is printed. |
void |
setBeforeSaveAction(PdfJavaScriptAction value)
Sets the java script action to be performed before the document is saved. |
void |
setColorSpace(PdfColorSpace value)
Sets the color space for page that will be created. |
void |
setCompressionLevel(PdfCompressionLevel value)
Sets the desired level of stream compression. |
static void |
setCustomFontsFolders(java.lang.String fontPath)
Set the path to the folder where the custom font is located. |
void |
setCustomScaling(int value)
Set current document print PageScaling |
void |
setDocumentPieceInfo(PdfPieceInfo pieceInfo)
Sets document piece info. |
static void |
setEnableFontCache(boolean value)
|
static void |
setExportTextEnableOCR(boolean enableOCR)
|
static void |
setExportTextOCRHandler(IOCR iOCR)
when export text,if have image ,will call IOCR and add text to export content. |
static void |
setExportTextOCRHandler(IOCR iOCR,
boolean enableOCR)
|
void |
setFileInfo(PdfFileInfo value)
Set The file info int the PDF document |
void |
setMetadata(PdfXmpMetadata metadata)
Set the document metadata. |
void |
setPageLabels(PdfPageLabels value)
Get page labels. |
void |
setPageScaling(PdfPrintPageScaling value)
Set PdfDocument Print PageScaling |
void |
setPageSettings(PdfPageSettings value)
Set a page settings in the pdf documents |
void |
setPDFStandard(PdfDocumentBase value)
Deprecated. |
void |
setPrintUsingImageMode(boolean usingImageMode)
set print by using image mode |
void |
setTag(java.lang.Object value)
|
void |
setUseHighQualityImage(boolean value)
|
void |
setUsePsDirectlyForConvert(boolean value)
|
void |
setViewerPreferences(PdfViewerPreferences value)
Sets a viewer preferences object controlling the way the document is to be presented on the screen or in print. |
void |
split(java.lang.String destFilePattern)
Splits a PDF file to many PDF files, each of them consists of one page from the source file. |
void |
split(java.lang.String destFilePattern,
int startNumber)
Splits a PDF file to many PDF files, each of them consists of one page from the source file. |
boolean |
verifySignature(java.lang.String signName)
Verify signature in the pdf Document |
| Constructor Detail |
|---|
public PdfDocument()
public PdfDocument(java.lang.String filename)
filename - The path to source pdf file.This constructor imports an existing pdf file into the document Object. It automatically populates the Pages collection with the pages of the given document.
public PdfDocument(java.lang.String filename,
java.lang.String password)
filename - The path to source PDF document.password - The password (user or owner) of the encrypted document.@Deprecated public PdfDocument(PdfConformanceLevel Pdflevel)
Pdflevel - public PdfDocument(byte[] bytes)
bytes - The byte array with the file content.
public PdfDocument(byte[] bytes,
java.lang.String password)
bytes - The byte array with the file content.password - The password (user or owner) of the encrypted document.public PdfDocument(java.io.InputStream stream)
stream - The stream with the file.
public PdfDocument(java.io.InputStream stream,
java.lang.String password)
stream - The stream with the file.password - The password (user or owner) of the encrypted document.| Method Detail |
|---|
public boolean getUseHighQualityImage()
public void setUseHighQualityImage(boolean value)
public boolean getAllowCreateForm()
public void setAllowCreateForm(boolean value)
public void setUsePsDirectlyForConvert(boolean value)
public PdfConvertOptions getConvertOptions()
public PdfPrintPageScaling getPageScaling()
public void setPageScaling(PdfPrintPageScaling value)
public int getCustomScaling()
public void setCustomScaling(int value)
@Deprecated public PdfDocumentBase getPDFStandard()
@Deprecated public void setPDFStandard(PdfDocumentBase value)
public PdfConformanceLevel getConformance()
public PdfAttachmentCollection getAttachments()
public PdfBookmarkCollection getBookmarks()
public PdfColorSpace getColorSpace()
public void setColorSpace(PdfColorSpace value)
public PdfDocumentInformation getDocumentInformation()
public PdfPieceInfo getDocumentPieceInfo()
public void setDocumentPieceInfo(PdfPieceInfo pieceInfo)
public PdfDocumentActions getJavaScripts()
public PdfCatalogNames getNames()
public PdfPageLabels getPageLabels()
public void setPageLabels(PdfPageLabels value)
public PdfForm getForm()
public PdfPageCollection getPages()
public PdfUsedFont[] getUsedFonts()
public PdfCompressionLevel getCompressionLevel()
All new objects should be compressed with this level of the compression.public void setCompressionLevel(PdfCompressionLevel value)
value - public PdfPageSettings getPageSettings()
public void setPageSettings(PdfPageSettings value)
public PdfSectionCollection getSections()
public PdfFileInfo getFileInfo()
public void setFileInfo(PdfFileInfo value)
@Deprecated public PdfSecurity getSecurity()
public PdfSecurityPolicy getSecurityPolicy()
public PdfViewerPreferences getViewerPreferences()
public void setViewerPreferences(PdfViewerPreferences value)
public PdfAction getAfterOpenAction()
public void setAfterOpenAction(PdfAction value)
value - An object specifying the action to be executed after the document is Opened.public PdfJavaScriptAction getAfterPrintAction()
public void setAfterPrintAction(PdfJavaScriptAction value)
value - An object specifying the action to be executed after the document is printed. .public PdfJavaScriptAction getAfterSaveAction()
public void setAfterSaveAction(PdfJavaScriptAction value)
value - An object specifying the action to be executed after the document is saved.public PdfJavaScriptAction getBeforeCloseAction()
public void setBeforeCloseAction(PdfJavaScriptAction value)
value - An object specifying the action to be executed before the document is closed.public PdfJavaScriptAction getBeforePrintAction()
public void setBeforePrintAction(PdfJavaScriptAction value)
value - An object specifying the action to be executed before the document is printed.public PdfJavaScriptAction getBeforeSaveAction()
public void setBeforeSaveAction(PdfJavaScriptAction value)
public PdfXmpMetadata getMetadata()
public void setMetadata(PdfXmpMetadata metadata)
metadata - The document metadata.public PdfDocumentTemplate getTemplate()
public static boolean getEnableFontCache()
public static void setEnableFontCache(boolean value)
public java.lang.Object getTag()
public void setTag(java.lang.Object value)
public boolean isEncrypted()
public boolean isPortfolio()
public PdfLayerCollection getLayers()
public PdfCollection getCollection()
public void dispose()
public void loadFromFile(java.lang.String filename,
java.lang.String password)
filename - The path to source PDF document.password - The password (user or owner) of the encrypted document.public void loadFromFile(java.lang.String filename)
filename - The path to source pdf file.This constructor imports an existing pdf file into the document Object.
It automatically populates the Pages collection with the pages of the given document.
public void loadFromFile(java.lang.String fileName,
FileFormat fileFormat)
fileName - The path to source pdf file.fileFormat - The file format.public void loadFromXPS(byte[] xpsBytes)
xpsBytes - the xps byte arraypublic void loadFromXPS(java.lang.String fileName)
fileName - public void loadFromXPS(java.io.InputStream xpsStream)
xpsStream - public void loadFromSvg(java.lang.String fileName)
fileName - A relative or absolute path for the svg filepublic void loadFromSvg(java.io.InputStream stream)
stream - A Svg file streampublic void loadFromBytes(byte[] bytes)
bytes - The byte array with the file content.public void loadFromStream(java.io.InputStream stream)
stream - The stream with the file.public void encrypt(PdfSecurityPolicy securityPolicy)
securityPolicy - The security policy.public void decrypt()
public void decrypt(java.lang.String ownerPassword)
ownerPassword - The ownerPassword.
public void createBooklet(java.lang.String fileName,
float width,
float height,
boolean bothSides)
fileName - booklet file Namewidth - booklet widthheight - booklet heightbothSides - booklet double Side
public void createBooklet(java.lang.String fileName,
double width,
double height,
boolean bothSides)
fileName - booklet namewidth - The page widthheight - The page heightbothSides - booklet doubleSide
public void createBooklet(java.lang.String fileName,
float width,
float height,
boolean bothSides,
DrawPageInBookletEventHandler beginDrawPage,
DrawPageInBookletEventHandler endDrawPage)
fileName - booklet namewidth - The booklet page widthheight - The booklet page heightbothSides - booklet double SidebeginDrawPage - booklet begin Draw PageendDrawPage - booklet end Draw Pagepublic boolean verifySignature(java.lang.String signName)
signName - sign Name
public byte[] getSignatreContuent(java.lang.String signName)
signName - The signature name.
@Deprecated public static boolean isPasswordProtected(java.lang.String fileName)
PdfDocument.isEncrypted() instead.
fileName - The file name
@Deprecated public static boolean isPasswordProtected(java.io.InputStream stream)
PdfDocument.isEncrypted() instead.
stream - The file stream
public void close()
The document is disposed after calling the Close method. So, the document can not be saved if Close method was invoked.public void saveToStream(java.io.OutputStream stream)
stream - The stream object where PDF document will be saved.
public void saveToStream(java.io.OutputStream stream,
FileFormat format)
stream - The output stream.format - The file format.public java.io.ByteArrayOutputStream[] saveToStream(FileFormat format)
format - The file format
public java.io.ByteArrayOutputStream[] saveToStream(int startIndex,
int endIndex,
FileFormat format)
startIndex - The start index.endIndex - The end index.format - The file format
public void saveToFile(java.lang.String filename)
filename - A relative or absolute path for the filepublic void saveToTiff(java.lang.String tiffFilename)
tiffFilename - A relative or absolute path for the tiff file.
@Deprecated
public void saveToTiff(java.lang.String tiffFilename,
int startPage,
int endPage,
TiffCompressionTypes tiffCompressionTypes)
tiffFilename - A relative or absolute path for the tiff file.startPage - The start page index.endPage - The end page index.tiffCompressionTypes -
public void saveToTiff(java.lang.String tiffFilename,
int startPage,
int endPage,
int dpix,
int dpiy)
tiffFilename - A relative or absolute path for the tiff filestartPage - The strat page indexendPage - The end page indexdpix - The dpixdpiy - The dpiy
public void saveToFile(java.lang.String filename,
FileFormat fileFormat)
filename - A relative or absolute path for the filefileFormat - File format for the file@Deprecated public void saveToPdfX1A2001(java.lang.String fileName)
fileName -
@Deprecated
public void saveToPdf(java.lang.String fileName,
PdfConformanceLevel pdfConformanceLevel)
fileName - pdfConformanceLevel -
public void saveToFile(java.lang.String filename,
int startIndex,
int endIndex,
FileFormat fileFormat)
filename - A relative or absolute path for the filestartIndex - The start page index.The index starts at 0endIndex - The end page index.fileFormat - File format for the filepublic java.awt.image.BufferedImage saveAsImage(int pageIndex)
pageIndex - Page with page index to save as image
public java.awt.image.BufferedImage saveAsImage(int pageIndex,
PdfImageType type)
pageIndex - Page indextype - PdfImageType type
public java.awt.image.BufferedImage saveAsImage(int pageIndex,
PdfImageType type,
int dpiX,
int dpiY)
pageIndex - Page indextype - PdfImageType typedpiX - Pictures X resolutiondpiY - Pictures Y resolution
public java.lang.Object deepClone()
The resulting clone must be of the same type as or a compatible type to the original instance.public void appendPage(PdfDocument doc)
public PdfPageBase appendPage()
public PdfPageBase insertPage(PdfDocument doc,
PdfPageBase page)
doc - The loaded document.page - The page.
public PdfPageBase insertPage(PdfDocument doc,
int pageIndex)
doc - The loaded document.pageIndex - Index of the page.
public PdfPageBase insertPage(PdfDocument doc,
int pageIndex,
int resultPageIndex)
doc - The loaded document.pageIndex - Index of the page.
public PdfPageBase insertPageRange(PdfDocument doc,
int startIndex,
int endIndex)
doc - The loaded document.startIndex - The start page index.endIndex - The end page index.
public static PdfDocumentBase merge(PdfDocumentBase dest,
java.lang.Object... srcs)
dest - The source documents.
public static PdfDocumentBase mergeFiles(java.lang.String[] InputFiles)
public static PdfDocumentBase mergeFiles(java.io.InputStream[] inputStreams)
inputStreams -
public static PdfDocumentBase mergeFiles(java.lang.String firstInputFile,
java.lang.String secInputFile)
firstInputFile - secInputFile -
public static void mergeFiles(java.lang.String[] inputFiles,
java.lang.String outputFile)
inputFiles - The input pdf documents filename.outputFile - The output pdf document filename.
public static void mergeFiles(com.spire.ms.System.IO.Stream[] inputFiles,
com.spire.ms.System.IO.Stream outputFile)
inputFiles - The input PDF documents stream.outputFile - The output PDF document stream.public void split(java.lang.String destFilePattern)
destFilePattern - Template for destination file names.
public void split(java.lang.String destFilePattern,
int startNumber)
public PrintSettings getPrintSettings()
public boolean removeDocumentJavaScript()
public boolean getPrintUsingImageMode()
public void setPrintUsingImageMode(boolean usingImageMode)
public void print()
public void print(PrintSettings printSettings)
printSettings - The print settings.public static void setExportTextOCRHandler(IOCR iOCR)
iOCR -
public static void setExportTextOCRHandler(IOCR iOCR,
boolean enableOCR)
iOCR - enableOCR - public static IOCR getExportTextOCRHandler()
public static void setExportTextEnableOCR(boolean enableOCR)
enableOCR - public static boolean getExportTextEnableOCR()
public static boolean isAutoOptimizingTextColor()
public static void isAutoOptimizingTextColor(boolean autoOptimizingTextColor)
public static void setCustomFontsFolders(java.lang.String fontPath)
fontPath - the folder path.public static void clearCustomFontsFolders()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||