Class DAVProppatchHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler
-
- org.tmatesoft.svn.core.internal.io.dav.handlers.DAVProppatchHandler
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler,org.xml.sax.DTDHandler,org.xml.sax.EntityResolver,org.xml.sax.ErrorHandler
public class DAVProppatchHandler extends BasicDAVHandler
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringBuffermyDescriptionprivate SVNErrorMessagemyErrorprivate java.lang.StringBuffermyPropertyNameprivate booleanmyPropstatContainsErrorprivate java.lang.StringBuffermyPropstatDescriptionprivate booleanmyResponseContainsErrorprivate static java.util.CollectionNAMESPACES-
Fields inherited from class org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler
DAV_NAMESPACES_LIST, SVN_DAV_NAMESPACES_LIST, SVN_NAMESPACES_LIST
-
-
Constructor Summary
Constructors Constructor Description DAVProppatchHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringBufferappendProperty(java.lang.StringBuffer xmlBuffer, java.lang.String name, SVNPropertyValue value)protected voidendElement(DAVElement parent, DAVElement element, java.lang.StringBuffer cdata)static java.lang.StringBuffergeneratePropertyRequest(java.lang.StringBuffer buffer, java.lang.String name, byte[] value)static java.lang.StringBuffergeneratePropertyRequest(java.lang.StringBuffer buffer, java.lang.String name, SVNPropertyValue value)static java.lang.StringBuffergeneratePropertyRequest(java.lang.StringBuffer xmlBuffer, SVNProperties properties)private java.lang.StringBuffergetDescription()SVNErrorMessagegetError()private java.lang.StringBuffergetPropertyName()private java.lang.StringBuffergetPropstatDescription()private static booleanhasNotNullValues(SVNProperties props)private static booleanhasNullValues(SVNProperties props)protected voidstartElement(DAVElement parent, DAVElement element, org.xml.sax.Attributes attrs)-
Methods inherited from class org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler
allocateBuffer, characters, createPropertyValue, createPropertyValueFromBase64, endElement, endPrefixMapping, getNamespaces, init, invalidXML, startElement, startPrefixMapping
-
-
-
-
Field Detail
-
NAMESPACES
private static final java.util.Collection NAMESPACES
-
myPropertyName
private java.lang.StringBuffer myPropertyName
-
myPropstatDescription
private java.lang.StringBuffer myPropstatDescription
-
myDescription
private java.lang.StringBuffer myDescription
-
myPropstatContainsError
private boolean myPropstatContainsError
-
myResponseContainsError
private boolean myResponseContainsError
-
myError
private SVNErrorMessage myError
-
-
Method Detail
-
generatePropertyRequest
public static java.lang.StringBuffer generatePropertyRequest(java.lang.StringBuffer buffer, java.lang.String name, SVNPropertyValue value)
-
generatePropertyRequest
public static java.lang.StringBuffer generatePropertyRequest(java.lang.StringBuffer buffer, java.lang.String name, byte[] value)
-
generatePropertyRequest
public static java.lang.StringBuffer generatePropertyRequest(java.lang.StringBuffer xmlBuffer, SVNProperties properties)
-
appendProperty
private static java.lang.StringBuffer appendProperty(java.lang.StringBuffer xmlBuffer, java.lang.String name, SVNPropertyValue value)
-
hasNullValues
private static boolean hasNullValues(SVNProperties props)
-
hasNotNullValues
private static boolean hasNotNullValues(SVNProperties props)
-
getError
public SVNErrorMessage getError()
-
getPropertyName
private java.lang.StringBuffer getPropertyName()
-
getPropstatDescription
private java.lang.StringBuffer getPropstatDescription()
-
getDescription
private java.lang.StringBuffer getDescription()
-
startElement
protected void startElement(DAVElement parent, DAVElement element, org.xml.sax.Attributes attrs) throws SVNException
- Specified by:
startElementin classBasicDAVHandler- Throws:
SVNException
-
endElement
protected void endElement(DAVElement parent, DAVElement element, java.lang.StringBuffer cdata) throws SVNException
- Specified by:
endElementin classBasicDAVHandler- Throws:
SVNException
-
-