Java Doc for ContentScanner.java in  » PDF » PDFClown-0.0.5 » it » stefanochizzolini » clown » documents » contents » 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 » PDFClown 0.0.5 » it.stefanochizzolini.clown.documents.contents 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   it.stefanochizzolini.clown.documents.contents.ContentScanner

ContentScanner
final public class ContentScanner (Code)
Content objects scanner.

Remarks

It wraps the content objects collection ( Contents ) to scan its graphics state through a forward cursor.

Scanning is performed at an arbitrary deepness, according to the content objects nesting: in fact, each deepness level corresponds to a scan level so that at any time it's possible to seamlessly navigate across the levels (see ContentScanner.getParentLevel() , ContentScanner.getChildLevel() , ContentScanner.getLeafLevel() )


author:
   Stefano Chizzolini
version:
   0.0.5
since:
   0.0.4

Inner Class :final public static class GraphicsState implements Cloneable


Constructor Summary
public  ContentScanner(Contents contents)
    

Method Summary
public  ContentObjectgetChild()
     Gets the current child object.
public  ContentScannergetChildLevel()
     Gets the child scan level.
public  IContentContextgetContentContext()
     Gets the content context associated to the content objects collection.
public  ContentsgetContents()
     Gets the contents collection this scanner is inspecting.
public  ContentObjectgetCurrent()
     Gets the current content object within this scan level.
public  intgetIndex()
     Gets the current position within this scan level.
public  ContentObjectgetLeaf()
     Gets the current leaf object.
public  ContentScannergetLeafLevel()
     Gets the leaf scan level.
public  CompositeObjectgetParent()
     Gets the current parent object.
public  ContentScannergetParentLevel()
     Gets the parent scan level.
public  GraphicsStategetState()
     Gets the current graphics state applied to the current content object.
public  voidinsert(ContentObject object)
     Inserts a content object at the current position.
public  voidinsert(Collection<? extends ContentObject> objects)
     Inserts content objects at the current position.
public  booleanmoveFirst()
    
public  booleanmoveInnerNext()
     Moves to the next object, possibly recurring within the nested scan levels.
public  booleanmoveLast()
    
public  booleanmoveNext()
     Moves to the next object within this scan level.
public  ContentObjectremove()
     Removes the content object at the current position.
public  ContentObjectsetCurrent(ContentObject object)
     Replaces the content object at the current position.


Constructor Detail
ContentScanner
public ContentScanner(Contents contents)(Code)

Parameters:
  contents - Content objects collection to scan.




Method Detail
getChild
public ContentObject getChild()(Code)
Gets the current child object.
See Also:   ContentScanner.getCurrent()
See Also:   ContentScanner.getLeaf()
See Also:   ContentScanner.getParent()



getChildLevel
public ContentScanner getChildLevel()(Code)
Gets the child scan level.
See Also:   ContentScanner.getLeafLevel()
See Also:   ContentScanner.getParentLevel()



getContentContext
public IContentContext getContentContext()(Code)
Gets the content context associated to the content objects collection.



getContents
public Contents getContents()(Code)
Gets the contents collection this scanner is inspecting.



getCurrent
public ContentObject getCurrent()(Code)
Gets the current content object within this scan level.
See Also:   ContentScanner.getChild()
See Also:   ContentScanner.getIndex()
See Also:   ContentScanner.getLeaf()
See Also:   ContentScanner.getParent()



getIndex
public int getIndex()(Code)
Gets the current position within this scan level.
See Also:   ContentScanner.getCurrent()



getLeaf
public ContentObject getLeaf()(Code)
Gets the current leaf object.
See Also:   ContentScanner.getCurrent()
See Also:   ContentScanner.getChild()
See Also:   ContentScanner.getParent()



getLeafLevel
public ContentScanner getLeafLevel()(Code)
Gets the leaf scan level.
See Also:   ContentScanner.getChildLevel()
See Also:   ContentScanner.getParentLevel()



getParent
public CompositeObject getParent()(Code)
Gets the current parent object.
See Also:   ContentScanner.getCurrent()
See Also:   ContentScanner.getChild()
See Also:   ContentScanner.getLeaf()



getParentLevel
public ContentScanner getParentLevel()(Code)
Gets the parent scan level.
See Also:   ContentScanner.getChildLevel()
See Also:   ContentScanner.getLeafLevel()



getState
public GraphicsState getState()(Code)
Gets the current graphics state applied to the current content object.

Remarks

The returned object of this method is fundamental for any content manipulation as it represents the actual constraints that affect the current content object rendering.




insert
public void insert(ContentObject object)(Code)
Inserts a content object at the current position.



insert
public void insert(Collection<? extends ContentObject> objects)(Code)
Inserts content objects at the current position.

Remarks

After insertion complete, lastly-inserted content object is at the current position.




moveFirst
public boolean moveFirst()(Code)

version:
   0.0.5
since:
   0.0.5



moveInnerNext
public boolean moveInnerNext()(Code)
Moves to the next object, possibly recurring within the nested scan levels. Whether the next object was successfully reached.



moveLast
public boolean moveLast()(Code)

version:
   0.0.5
since:
   0.0.5



moveNext
public boolean moveNext()(Code)
Moves to the next object within this scan level. Whether the next object was successfully reached.



remove
public ContentObject remove()(Code)
Removes the content object at the current position.



setCurrent
public ContentObject setCurrent(ContentObject object)(Code)
Replaces the content object at the current position.



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.