Java Doc for COSDocumentElement.java in  » PDF » jPod » de » intarsys » pdf » cos » 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.cos 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.intarsys.pdf.cos.COSDocumentElement

All known Subclasses:   de.intarsys.pdf.cos.COSObject,  de.intarsys.pdf.cos.COSIndirectObject,
COSDocumentElement
abstract public class COSDocumentElement implements ICOSExceptionHandler(Code)
This is a cos level representation of the elements that may be contained in a cos container. An element may be either a de.intarsys.pdf.cos.COSObject or a de.intarsys.pdf.cos.COSIndirectObject to a de.intarsys.pdf.cos.COSObject . A de.intarsys.pdf.cos.COSIndirectObject is never seen by an application level programmer, this is an internal construct only.



Constructor Summary
protected  COSDocumentElement()
    

Method Summary
abstract public  Objectaccept(ICOSObjectVisitor visitor)
     Accept a visitor object.
abstract protected  ICOSContaineraddContainer(ICOSContainer newContainer)
     Add a backward reference to the container when the receiver is added to a container object.
abstract public  COSDocumentElementcontainable()
     The COSDocumentElement suitable for use in an ICOSContainer .
abstract protected  COSObjectcopyDeep(Map copied)
     see copyDeep()

This method keeps track of already copied objects to deal with cyclic references.

abstract protected  COSDocumentElementcopyShallowNested()
    
abstract public  COSObjectdereference()
     Return the real object.
protected  booleanequals(Object o, Set visited)
    
abstract public  COSDocumentgetDoc()
     The document where this is contained or null.
public  voidhandleException(COSRuntimeException ex)
    
public  booleanisReference()
     Answer true if this element is a reference (a COSIndirectObject .
public  booleanisSwapped()
     Answer true if this elements content is swapped to a persistent store.
abstract protected  voidregisterWith(COSDocument doc)
    
abstract protected  ICOSContainerremoveContainer(ICOSContainer oldContainer)
     Remove a backward reference to the container when the receiver is removed from a container object.


Constructor Detail
COSDocumentElement
protected COSDocumentElement()(Code)




Method Detail
accept
abstract public Object accept(ICOSObjectVisitor visitor) throws COSVisitorException(Code)
Accept a visitor object. The receiver selects the correct implementation in the visitor by "double dispatching".
Parameters:
  visitor - The object visiting the receiver. Object An object depending on the visitor semantics.
throws:
  COSVisitorException - An exception depending on the visitor semantics.



addContainer
abstract protected ICOSContainer addContainer(ICOSContainer newContainer)(Code)
Add a backward reference to the container when the receiver is added to a container object. The implementation depends on the type of containement for the object so far (direct/indirect), so we delegate to the old container.
Parameters:
  newContainer - the new container embedding the object The new ICOSContainer associated with this.



containable
abstract public COSDocumentElement containable()(Code)
The COSDocumentElement suitable for use in an ICOSContainer . This may be a COSIndirectObject or the COSObject itself if not indirect.

This method should not be used by the application programmer. This is called in the COSObject lifecycle to ensure internal consistency.




copyDeep
abstract protected COSObject copyDeep(Map copied)(Code)
see copyDeep()

This method keeps track of already copied objects to deal with cyclic references.


See Also:   de.intarsys.pdf.cos.COSObject.copyDeep



copyShallowNested
abstract protected COSDocumentElement copyShallowNested()(Code)



dereference
abstract public COSObject dereference()(Code)
Return the real object. This is either the object itself or the object referenced by a reference object ( COSIndirectObject ). The real object.



equals
protected boolean equals(Object o, Set visited)(Code)



getDoc
abstract public COSDocument getDoc()(Code)
The document where this is contained or null. A COSDocumentElement is at most contained in a single COSDocument . The document where this is contained.



handleException
public void handleException(COSRuntimeException ex) throws COSRuntimeException(Code)



isReference
public boolean isReference()(Code)
Answer true if this element is a reference (a COSIndirectObject . Answer true if this element is a reference.



isSwapped
public boolean isSwapped()(Code)
Answer true if this elements content is swapped to a persistent store. Answer true if this elements content is swapped toa persistent store.



registerWith
abstract protected void registerWith(COSDocument doc)(Code)
Register the all indirect objects that can be reached from this with doc
Parameters:
  doc - The container document



removeContainer
abstract protected ICOSContainer removeContainer(ICOSContainer oldContainer)(Code)
Remove a backward reference to the container when the receiver is removed from a container object. The implementation depends on the type of containement for the object so far (direct/indirect), so we delegate to the old container.
Parameters:
  oldContainer - the container that no longer embeds the receiver The new ICOSContainer associated with this.



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.