|
Xindice API version 1.2m1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xindice.webadmin.webdav.components.props.ContentType
ContentType creates a response node that identifies content type of
the collection entry. It is not applicable for collections and always
contains "text/xml" for documents. For binary entries ContentType
attemps to guess content type, if unsuccessful, it will assume default
binary type of "application/octet-stream".
Example:
<getcontenttype>
text/xml
</getcontenttype>
| Constructor Summary | |
ContentType()
|
|
| Method Summary | |
String |
getName()
Returns property name |
PartialResponse.Content |
getProperty(Collection col)
Builds a property content tree for collection. |
PartialResponse.Content |
getProperty(Entry entry)
Builds a property content tree for collection entry. |
PartialResponse.Content |
getRootProperty()
Builds a property content tree for the root node ("/"). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContentType()
| Method Detail |
public String getName()
DAVProperty
getName in interface DAVPropertypublic PartialResponse.Content getRootProperty()
DAVProperty
getRootProperty in interface DAVPropertypublic PartialResponse.Content getProperty(Collection col)
DAVProperty
getProperty in interface DAVPropertycol - Collection
public PartialResponse.Content getProperty(Entry entry)
DAVProperty
getProperty in interface DAVPropertyentry - Collection entry
|
Xindice API version 1.2m1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||