Java Doc for DocImpl.java in  » 6.0-JDK-Modules-com.sun » tools » com » sun » tools » javadoc » 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 » 6.0 JDK Modules com.sun » tools » com.sun.tools.javadoc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.tools.javadoc.DocImpl

All known Subclasses:   com.sun.tools.javadoc.RootDocImpl,  com.sun.tools.javadoc.ProgramElementDocImpl,  com.sun.tools.javadoc.PackageDocImpl,
DocImpl
abstract class DocImpl implements Doc,Comparable<Object>(Code)
abstract base class of all Doc classes. Doc item's are representations of java language constructs (class, package, method,...) which have comments and have been processed by this run of javadoc. All Doc items are unique, that is, they are == comparable.
since:
   1.2
author:
   Robert Field
author:
   Atul M Dambalkar
author:
   Neal Gafter (rewrite)


Field Summary
protected  Stringdocumentation
     Raw documentation string.
final protected  DocEnvenv
    

Constructor Summary
 DocImpl(DocEnv env, String documentation)
     Constructor.

Method Summary
 Commentcomment()
     For lazy initialization of comment.
public  StringcommentText()
     Return the text of the comment for this doc item.
public  intcompareTo(Object obj)
     Compares this Object with the specified Object for order.
 Stringdocumentation()
     So subclasses have the option to do lazy initialization of "documentation" string.
public  Tag[]firstSentenceTags()
    
 CollationKeygenerateKey()
     Generate a key for sorting.
public  StringgetRawCommentText()
     Return the full unprocessed text of the comment.
public  Tag[]inlineTags()
    
public  booleanisAnnotationType()
     Is this Doc item an annotation type? False until overridden.
public  booleanisAnnotationTypeElement()
     Is this Doc item an annotation type element? False until overridden.
public  booleanisClass()
     Is this Doc item a class (and not an interface or annotation type)? This includes ordinary classes, enums, errors and exceptions.
public  booleanisConstructor()
     Is this Doc item a constructor? False until overridden.
public  booleanisEnum()
     Is this Doc item an enum type? False until overridden.
public  booleanisEnumConstant()
     Is this Doc item an enum constant? False until overridden.
public  booleanisError()
     Is this Doc item a error class? False until overridden.
public  booleanisException()
     Is this Doc item a exception class? False until overridden.
public  booleanisField()
     Is this Doc item a field? False until overridden.
abstract public  booleanisIncluded()
     return true if this Doc is include in the active set.
public  booleanisInterface()
     Is this Doc item a interface (but not an annotation type)? False until overridden.
public  booleanisMethod()
     Is this Doc item a method (but not a constructor or annotation type element)? False until overridden.
public  booleanisOrdinaryClass()
     Is this Doc item an ordinary class (i.e.
 CollationKeykey()
     return a key for sorting.
abstract public  Stringname()
     Returns the name of this Doc item.
public  SourcePositionposition()
     Return the source position of the entity, or null if no position is available.
abstract public  StringqualifiedName()
     Returns the qualified name of this Doc item.
 StringreadHTMLDocumentation(InputStream input, String filename)
     Utility for subclasses which read HTML documentation files.
public  SeeTag[]seeTags()
     Return the see also tags in this Doc item.
public  voidsetRawCommentText(String rawDocumentation)
     Set the full unprocessed text of the comment.
public  Tag[]tags()
     Return all tags in this Doc item.
public  Tag[]tags(String tagname)
     Return tags of the specified kind in this Doc item.
Parameters:
  tagname - name of the tag kind to search for.
public  StringtoString()
     Returns a string representation of this Doc item.

Field Detail
documentation
protected String documentation(Code)
Raw documentation string.



env
final protected DocEnv env(Code)
Doc environment




Constructor Detail
DocImpl
DocImpl(DocEnv env, String documentation)(Code)
Constructor.




Method Detail
comment
Comment comment()(Code)
For lazy initialization of comment.



commentText
public String commentText()(Code)
Return the text of the comment for this doc item. TagImpls have been removed.



compareTo
public int compareTo(Object obj)(Code)
Compares this Object with the specified Object for order. Returns a negative integer, zero, or a positive integer as this Object is less than, equal to, or greater than the given Object.

Included so that Doc item are java.lang.Comparable.
Parameters:
  o - the Object to be compared. a negative integer, zero, or a positive integer as this Objectis less than, equal to, or greater than the given Object.
exception:
  ClassCastException - the specified Object's type prevents itfrom being compared to this Object.




documentation
String documentation()(Code)
So subclasses have the option to do lazy initialization of "documentation" string.



firstSentenceTags
public Tag[] firstSentenceTags()(Code)



generateKey
CollationKey generateKey()(Code)
Generate a key for sorting.

Default is name().




getRawCommentText
public String getRawCommentText()(Code)
Return the full unprocessed text of the comment. Tags are included as text. Used mainly for store and retrieve operations like internalization.



inlineTags
public Tag[] inlineTags()(Code)



isAnnotationType
public boolean isAnnotationType()(Code)
Is this Doc item an annotation type? False until overridden. true if it represents an annotation type



isAnnotationTypeElement
public boolean isAnnotationTypeElement()(Code)
Is this Doc item an annotation type element? False until overridden. true if it represents an annotation type element



isClass
public boolean isClass()(Code)
Is this Doc item a class (and not an interface or annotation type)? This includes ordinary classes, enums, errors and exceptions. False until overridden. true if it represents a class



isConstructor
public boolean isConstructor()(Code)
Is this Doc item a constructor? False until overridden. true if it represents a constructor



isEnum
public boolean isEnum()(Code)
Is this Doc item an enum type? False until overridden. true if it represents an enum type



isEnumConstant
public boolean isEnumConstant()(Code)
Is this Doc item an enum constant? False until overridden. true if it represents an enum constant



isError
public boolean isError()(Code)
Is this Doc item a error class? False until overridden. true if it represents a error



isException
public boolean isException()(Code)
Is this Doc item a exception class? False until overridden. true if it represents a exception



isField
public boolean isField()(Code)
Is this Doc item a field? False until overridden. true if it represents a field



isIncluded
abstract public boolean isIncluded()(Code)
return true if this Doc is include in the active set.



isInterface
public boolean isInterface()(Code)
Is this Doc item a interface (but not an annotation type)? False until overridden. true if it represents a interface



isMethod
public boolean isMethod()(Code)
Is this Doc item a method (but not a constructor or annotation type element)? False until overridden. true if it represents a method



isOrdinaryClass
public boolean isOrdinaryClass()(Code)
Is this Doc item an ordinary class (i.e. not an interface, annotation type, enumeration, exception, or error)? False until overridden. true if it represents an ordinary class



key
CollationKey key()(Code)
return a key for sorting.



name
abstract public String name()(Code)
Returns the name of this Doc item. the name



position
public SourcePosition position()(Code)
Return the source position of the entity, or null if no position is available.



qualifiedName
abstract public String qualifiedName()(Code)
Returns the qualified name of this Doc item. the name



readHTMLDocumentation
String readHTMLDocumentation(InputStream input, String filename) throws IOException(Code)
Utility for subclasses which read HTML documentation files.



seeTags
public SeeTag[] seeTags()(Code)
Return the see also tags in this Doc item. an array of SeeTag containing all @see tags.



setRawCommentText
public void setRawCommentText(String rawDocumentation)(Code)
Set the full unprocessed text of the comment. Tags are included as text. Used mainly for store and retrieve operations like internalization.



tags
public Tag[] tags()(Code)
Return all tags in this Doc item. an array of TagImpl containing all tags on this Doc item.



tags
public Tag[] tags(String tagname)(Code)
Return tags of the specified kind in this Doc item.
Parameters:
  tagname - name of the tag kind to search for. an array of TagImpl containing all tags whose 'kind()'matches 'tagname'.



toString
public String toString()(Code)
Returns a string representation of this Doc item.



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.