Java Doc for RepositorySource.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » components » source » impl » 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 » Content Management System » apache lenya 2.0 » org.apache.cocoon.components.source.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cocoon.components.source.impl.RepositorySource

RepositorySource
public class RepositorySource extends AbstractLogEnabled implements Source,ModifiableTraversableSource,InspectableSource(Code)
Source wrapper that enhances the wrapped sources with additional capabilities.

Currently this Source optionally adds inspectability through the InspectableSource interface.

Wrapped sources must implement ModifiableTraversableSource.



Field Summary
final  ModifiableTraversableSourcem_delegate
    
final  Stringm_prefix
    

Constructor Summary
public  RepositorySource(String prefix, ModifiableTraversableSource delegate, SourceDescriptor descriptor, Logger logger)
    

Method Summary
public  booleancanCancel(OutputStream out)
    
public  voidcancel(OutputStream out)
    
public  voiddelete()
    
public  booleanexists()
    
public  SourcegetChild(String name)
    
public  CollectiongetChildren()
    
public  longgetContentLength()
    
public  InputStreamgetInputStream()
    
public  longgetLastModified()
    
public  StringgetMimeType()
    
public  StringgetName()
    
public  OutputStreamgetOutputStream()
    
public  SourcegetParent()
    
public  StringgetScheme()
    
public  SourceProperty[]getSourceProperties()
     Get all source properties that are defined on the wrapped source.
public  SourcePropertygetSourceProperty(String uri, String name)
     Get the source property on the wrapped source.
public  StringgetURI()
    
public  SourceValiditygetValidity()
     Return a SourceValidity object describing the validity of this Source.
public  booleanisCollection()
    
public  voidmakeCollection()
    
public  voidrefresh()
    
public  voidremoveSourceProperty(String uri, String name)
     Remove the source property on the wrapped source.
public  voidsetSourceProperty(SourceProperty property)
     Set the source property on the wrapped source.

Field Detail
m_delegate
final ModifiableTraversableSource m_delegate(Code)



m_prefix
final String m_prefix(Code)




Constructor Detail
RepositorySource
public RepositorySource(String prefix, ModifiableTraversableSource delegate, SourceDescriptor descriptor, Logger logger) throws SourceException(Code)




Method Detail
canCancel
public boolean canCancel(OutputStream out)(Code)



cancel
public void cancel(OutputStream out) throws IOException(Code)



delete
public void delete() throws SourceException(Code)



exists
public boolean exists()(Code)



getChild
public Source getChild(String name) throws SourceException(Code)



getChildren
public Collection getChildren() throws SourceException(Code)



getContentLength
public long getContentLength()(Code)



getInputStream
public InputStream getInputStream() throws IOException, SourceNotFoundException(Code)



getLastModified
public long getLastModified()(Code)



getMimeType
public String getMimeType()(Code)



getName
public String getName()(Code)



getOutputStream
public OutputStream getOutputStream() throws IOException(Code)



getParent
public Source getParent() throws SourceException(Code)



getScheme
public String getScheme()(Code)



getSourceProperties
public SourceProperty[] getSourceProperties() throws SourceException(Code)
Get all source properties that are defined on the wrapped source. If the wrapped source is itself an InspectableSource the implementation will return the aggregate set that results from combining the properties returned from a delegate call to the wrapped source with the properties returned by the source descriptor.



getSourceProperty
public SourceProperty getSourceProperty(String uri, String name) throws SourceException(Code)
Get the source property on the wrapped source. If the wrapped source implements InspectableSource the implementation will first try to get it from there. If it doesn't exist on the delegate it will try to find it using the source descriptor.



getURI
public String getURI()(Code)



getValidity
public SourceValidity getValidity()(Code)
Return a SourceValidity object describing the validity of this Source.

If the SourceDescriptor service is present, the resulting validity is an aggregated validity object containing both the validity describing the source itself _and_ one describing the validity of the SourceProperties managed by the SourceDescriptor.




isCollection
public boolean isCollection()(Code)



makeCollection
public void makeCollection() throws SourceException(Code)



refresh
public void refresh()(Code)



removeSourceProperty
public void removeSourceProperty(String uri, String name) throws SourceException(Code)
Remove the source property on the wrapped source. If the wrapped source implements InspectableSource the implementation will try to remove the property on both the wrapped source directly and on the source descriptor.



setSourceProperty
public void setSourceProperty(SourceProperty property) throws SourceException(Code)
Set the source property on the wrapped source. If the wrapped source implements InspectableSource set the property directly on the wrapped source. Otherwise set it on the SourceDescriptor.



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