|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsmbdav.DefaultPropertiesBuilder
Default builder for the PROPFIND result XML document. This builder supports retrieval for most of the basic WebDAV properties.
| Constructor Summary | |
DefaultPropertiesBuilder()
|
|
| Method Summary | |
void |
addAllProps(org.w3c.dom.Document document,
jcifs.smb.SmbFile file,
java.lang.String href)
Adds a response containing the names and values of all properties supported by the given resource. |
void |
addPropNames(org.w3c.dom.Document document,
jcifs.smb.SmbFile file,
java.lang.String href)
Adds a response containing the property names supported by the given resource. |
void |
addProps(org.w3c.dom.Document document,
jcifs.smb.SmbFile file,
java.lang.String href,
org.w3c.dom.Element[] props)
Adds a response containing the names and values of the properties specified by the given Element array. |
org.w3c.dom.Document |
createDocument()
Creates an XML document in which a result can be built. |
void |
destroy()
|
protected javax.servlet.ServletConfig |
getServletConfig()
Returns the servlet configuration. |
void |
init(javax.servlet.ServletConfig config)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultPropertiesBuilder()
| Method Detail |
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface PropertiesBuilderjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface PropertiesBuilder
public void addPropNames(org.w3c.dom.Document document,
jcifs.smb.SmbFile file,
java.lang.String href)
throws java.io.IOException
PropertiesBuilder
addPropNames in interface PropertiesBuilderdocument - The document to which modifications are made.file - The SmbFile resource whose property names are
to be retrieved.href - The HTTP URL by which the resource was accessed.
java.io.IOException - If an IO error occurs while adding the
property names.
public void addAllProps(org.w3c.dom.Document document,
jcifs.smb.SmbFile file,
java.lang.String href)
throws java.io.IOException
PropertiesBuilder
addAllProps in interface PropertiesBuilderfile - The SmbFile resource whose property names
and values are to be retrieved.href - The HTTP URL by which the resource was accessed.
java.io.IOException - If an IO error occurs while adding the
properties.
public void addProps(org.w3c.dom.Document document,
jcifs.smb.SmbFile file,
java.lang.String href,
org.w3c.dom.Element[] props)
throws java.io.IOException
PropertiesBuilderElement array.
addProps in interface PropertiesBuilderfile - The SmbFile resource whose properties
are to be retrieved.href - The HTTP URL by which the resource was accessed.props - An array of Elements, each of which
specifies the name of a property to be retrieved.
java.io.IOException - If an IO error occurs while adding the
properties.public org.w3c.dom.Document createDocument()
PropertiesBuilder
createDocument in interface PropertiesBuilderDocument object to hold the resulting
XML.protected javax.servlet.ServletConfig getServletConfig()
ServletConfig containing the servlet's
configuration information.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||