Java Doc for PDObject.java in  » PDF » jPod » de » intarsys » pdf » pd » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » PDF » jPod » de.intarsys.pdf.pd 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.intarsys.pdf.cos.COSBasedObject
      de.intarsys.pdf.pd.PDObject

All known Subclasses:   de.intarsys.pdf.pd.PDEmbeddedFile,  de.intarsys.pdf.pd.PDFunction,  de.intarsys.pdf.pd.PDAdditionalActions,  de.intarsys.pdf.pd.PDOutlineNode,  de.intarsys.pdf.pd.PDSignatureReference,  de.intarsys.pdf.pd.PDApplicationData,  de.intarsys.pdf.pd.PDTransformParams,  de.intarsys.pdf.pd.PDColorSpace,  de.intarsys.pdf.font.PDFontDescriptor,  de.intarsys.pdf.pd.PDXObject,  de.intarsys.pdf.pd.PDAction,  de.intarsys.pdf.font.PDFont,  de.intarsys.pdf.pd.PDIconFit,  de.intarsys.pdf.pd.PDAppearance,  de.intarsys.pdf.pd.PDAcroFormNode,  de.intarsys.pdf.pd.PDShading,  de.intarsys.pdf.pd.PDPattern,  de.intarsys.pdf.pd.PDAppearanceCharacteristics,  de.intarsys.pdf.pd.PDOutputIntent,  de.intarsys.pdf.pd.PDResources,  de.intarsys.pdf.pd.PDDestination,  de.intarsys.pdf.pd.PDTransformMethod,  de.intarsys.pdf.pd.PDAnnotation,  de.intarsys.pdf.pd.PDFileSpecification,  de.intarsys.pdf.pd.PDExtGState,  de.intarsys.pdf.pd.PDBuildData,  de.intarsys.pdf.pd.PDBorderStyle,  de.intarsys.pdf.pd.PDSignature,  de.intarsys.pdf.pd.PDBuildProperties,  de.intarsys.pdf.pd.PDPageNode,
PDObject
abstract public class PDObject extends COSBasedObject (Code)
This is the abstract superclass for all complex PD level objects.

PD Level objects provide the PDF semantics on top of the basic datatypes of COS Level objects. PDObject provides generic methods used along all subtypes.

PDObjects should be created only using the factory methods of their meta classes to ensure the semantics implemented in the PD layer, as for example PD object identity, subclass selection or proper initialization.
Example:
PDPage page = (PDPage)PDPage.META.createNew();


Inner Class :public static class MetaClass extends COSBasedObject.MetaClass

Field Summary
final public static  COSNameDK_Subtype
    
final public static  COSNameDK_Type
    
final public static  MetaClassMETA
    

Constructor Summary
protected  PDObject(COSObject object)
     Create the receiver class from an already defined COSDictionary .

Method Summary
protected  COSNamecosGetExpectedSubtype()
    
protected  COSNamecosGetExpectedType()
    
public  COSObjectcosGetFieldDescendant(COSName name)
     Convenience method to access fields in COSDictionary based PDObject instances.
public  COSObjectcosGetFieldInheritable(COSName name)
     Convenience method to access fields in COSDictionary based PDObject instances.

This method supports "inheritance" on hierarchical structured PDObject instances.

public  COSObjectcosGetFieldInherited(COSName name)
     Convenience method to access inherited fields in COSDictionary based PDObject instances.

This method supports "inheritance" on hierarchical structured PDObject instances.

final public  COSNamecosGetSubtype()
     The /Subtype field of this PDObject or null.
final public  COSNamecosGetType()
     The /Type field of this PDObject or null.
public  COSObjectcosRemoveFieldInheritable(COSName name)
     Convenience method to access fields in COSDictionary based PDObject instances.
public  COSObjectcosSetFieldInheritable(COSName name, COSObject cosObj)
     Convenience method to access fields in COSDictionary based PDObject instances.
final public  COSNamecosSetSubtype(COSName newType)
     Set the /Subtype field of this PDObject .
final public  COSNamecosSetType(COSName newType)
     Set the /Type field of this PDObject .
public  PDDocumentgetDoc()
     Try the best in finding the PDDocument for this PDObject.
public  ListgetGenericChildren()
     Get a collection of PDObject children if the receiver is a node in a hierarchical structure (like page nodes or form fields).
public  PDObjectgetGenericParent()
     The parent of the receiver if it is a node in a hierarchical structure (like page nodes or form fields).
protected  ListgetPDObjects(COSName key, COSBasedObject.MetaClass metaclass, boolean addListener)
    
protected  voidinitializeFromScratch()
    
public  voidsetGenericParent(PDObject parent)
     Set the parent of the receiver if it is a node in a hierarchical structure (like page nodes or form fields).
protected  voidsetPDObjects(COSName key, List list)
    
public  StringtoString()
    

Field Detail
DK_Subtype
final public static COSName DK_Subtype(Code)



DK_Type
final public static COSName DK_Type(Code)



META
final public static MetaClass META(Code)
The meta class instance




Constructor Detail
PDObject
protected PDObject(COSObject object)(Code)
Create the receiver class from an already defined COSDictionary . NEVER use the constructor directly.
Parameters:
  object - the PDDocument containing the new object




Method Detail
cosGetExpectedSubtype
protected COSName cosGetExpectedSubtype()(Code)



cosGetExpectedType
protected COSName cosGetExpectedType()(Code)



cosGetFieldDescendant
public COSObject cosGetFieldDescendant(COSName name)(Code)
Convenience method to access fields in COSDictionary based PDObject instances. This method supports "inheritance" on hierarchical structured PDObject instances. It returns the field either from the receiver or one of the known descendants.
Parameters:
  name - the field to read the content of the named field in the PD object or one of itsdescendants - COSNull is the field is not found



cosGetFieldInheritable
public COSObject cosGetFieldInheritable(COSName name)(Code)
Convenience method to access fields in COSDictionary based PDObject instances.

This method supports "inheritance" on hierarchical structured PDObject instances. It returns the field either from the receiver or one of its parents.
Parameters:
  name - the field to read the content of the named field in the PD object or one of itsparents - COSNull if the field is not found




cosGetFieldInherited
public COSObject cosGetFieldInherited(COSName name)(Code)
Convenience method to access inherited fields in COSDictionary based PDObject instances.

This method supports "inheritance" on hierarchical structured PDObject instances. It returns the inherited field value from one of the receiver's parents or COSNull .
Parameters:
  name - the field to read the content of the named field in one of the receivers parents -COSNull if the field is not found




cosGetSubtype
final public COSName cosGetSubtype()(Code)
The /Subtype field of this PDObject or null. This method is not supported on PDObject instances that are not based on a COSDictionary The /Subtype field of this.



cosGetType
final public COSName cosGetType()(Code)
The /Type field of this PDObject or null. This method is not supported on PDObject instances that are not based on a COSDictionary The /Type field of this.



cosRemoveFieldInheritable
public COSObject cosRemoveFieldInheritable(COSName name)(Code)
Convenience method to access fields in COSDictionary based PDObject instances. This method supports "inheritance" on hierarchical structured PDObject instances. It removes a field in the receiver and all its descendants.
Parameters:
  name - the field to remove from the receiver The object previously associated with name in this



cosSetFieldInheritable
public COSObject cosSetFieldInheritable(COSName name, COSObject cosObj)(Code)
Convenience method to access fields in COSDictionary based PDObject instances. This method supports "inheritance" on hierarchical structured PDObject instances. It sets a field value in the receiver when the field is inheritable. This method removes the field from every child to make sure it uses the inherited value.
Parameters:
  name - the field to set
Parameters:
  cosObj - the object to set in the field The object previously associated with name in this



cosSetSubtype
final public COSName cosSetSubtype(COSName newType)(Code)
Set the /Subtype field of this PDObject . This method is not supported on PDObject instances that are not based on a COSDictionary The /Subtype previously associated with this.



cosSetType
final public COSName cosSetType(COSName newType)(Code)
Set the /Type field of this PDObject . This method is not supported on PDObject instances that are not based on a COSDictionary The /Type previously associated with this.



getDoc
public PDDocument getDoc()(Code)
Try the best in finding the PDDocument for this PDObject. Try the best in finding the PDDocument for this PDObject.



getGenericChildren
public List getGenericChildren()(Code)
Get a collection of PDObject children if the receiver is a node in a hierarchical structure (like page nodes or form fields).

This enables the generic implementation of inherited field values and so on.

A concrete PDObject implementation supporting inheritance should implement this method.

A collection of PDObject children if the receiver is anode in a hierarchical structure .



getGenericParent
public PDObject getGenericParent()(Code)
The parent of the receiver if it is a node in a hierarchical structure (like page nodes or form fields).

A concrete PDObject implementation supporting inheritance should implement this method.

The parent of the receiver if it is a node in a hierarchicalstructure (like page nodes or form fields).



getPDObjects
protected List getPDObjects(COSName key, COSBasedObject.MetaClass metaclass, boolean addListener)(Code)



initializeFromScratch
protected void initializeFromScratch()(Code)



setGenericParent
public void setGenericParent(PDObject parent)(Code)
Set the parent of the receiver if it is a node in a hierarchical structure (like page nodes or form fields).

A concrete PDObject implementation supporting inheritance should implement this method.


Parameters:
  parent - The new parent object.



setPDObjects
protected void setPDObjects(COSName key, List list)(Code)



toString
public String toString()(Code)



Fields inherited from de.intarsys.pdf.cos.COSBasedObject
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.cos.COSBasedObject
public void changed(COSObject pObject, Object slot, Object oldValue, Object newValue)(Code)(Java Doc)
public COSArray cosGetArray()(Code)(Java Doc)
public COSDictionary cosGetDict()(Code)(Java Doc)
public COSDocument cosGetDoc()(Code)(Java Doc)
public COSObject cosGetField(COSName name)(Code)(Java Doc)
public COSObject cosGetObject()(Code)(Java Doc)
public COSStream cosGetStream()(Code)(Java Doc)
public boolean cosHasField(COSName name)(Code)(Java Doc)
public COSObject cosRemoveField(COSName name)(Code)(Java Doc)
public COSObject cosSetField(COSName name, COSObject cosObj)(Code)(Java Doc)
public Object getAttribute(Object key)(Code)(Java Doc)
public boolean getFieldBoolean(COSName name, boolean defaultValue)(Code)(Java Doc)
public CDSDate getFieldDate(COSName name, CDSDate defaultValue)(Code)(Java Doc)
public float getFieldFixed(COSName name, float defaultValue)(Code)(Java Doc)
public float[] getFieldFixedArray(COSName name, float[] defaultValue)(Code)(Java Doc)
public int getFieldInt(COSName name, int defaultValue)(Code)(Java Doc)
public String getFieldMLString(COSName name, String defaultValue)(Code)(Java Doc)
public String getFieldString(COSName name, String defaultValue)(Code)(Java Doc)
protected void initializeFromCos()(Code)(Java Doc)
protected void initializeFromScratch()(Code)(Java Doc)
public void invalidateCaches()(Code)(Java Doc)
public Object removeAttribute(Object key)(Code)(Java Doc)
public Object setAttribute(Object key, Object value)(Code)(Java Doc)
public void setFieldBoolean(COSName name, boolean value)(Code)(Java Doc)
public void setFieldFixed(COSName name, float value)(Code)(Java Doc)
protected void setFieldFixedArray(COSName key, float[] array)(Code)(Java Doc)
public void setFieldInt(COSName name, int value)(Code)(Java Doc)
public void setFieldMLString(COSName name, String value)(Code)(Java Doc)
public void setFieldName(COSName name, String value)(Code)(Java Doc)
public void setFieldObject(COSName name, COSBasedObject value)(Code)(Java Doc)
public void setFieldString(COSName name, String value)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.