public class Field extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
Field.DistinguishedPropertySetType |
Modifier and Type | Field and Description |
---|---|
protected String |
alias |
protected String |
cast |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
DAV |
protected static Map<Field.DistinguishedPropertySetType,String> |
distinguishedPropertySetMap |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
EMPTY |
protected static Map<String,Field> |
fieldMap |
protected boolean |
isBooleanValue |
protected boolean |
isDateValue |
protected boolean |
isFloatValue |
protected boolean |
isIntValue |
protected boolean |
isMultivalued |
protected static Map<PropertyType,String> |
propertyTypeMap |
protected String |
requestPropertyString |
protected org.apache.jackrabbit.webdav.property.DavPropertyName |
responsePropertyName |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
SCHEMAS_EXCHANGE |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
SCHEMAS_MAPI |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
SCHEMAS_MAPI_ID |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
SCHEMAS_MAPI_PROPTAG |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
SCHEMAS_MAPI_STRING |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
SCHEMAS_MAPI_STRING_INTERNET_HEADERS |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
SCHEMAS_REPL |
protected org.apache.jackrabbit.webdav.property.DavPropertyName |
updatePropertyName |
protected String |
uri |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
URN_SCHEMAS_CALENDAR |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
URN_SCHEMAS_CONTACTS |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
URN_SCHEMAS_HTTPMAIL |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
URN_SCHEMAS_MAILHEADER |
protected static org.apache.jackrabbit.webdav.xml.Namespace |
XML |
Modifier | Constructor and Description |
---|---|
protected |
Field(org.apache.jackrabbit.webdav.xml.Namespace namespace,
String name)
Create field for namespace and name, use name as alias.
|
protected |
Field(String alias,
org.apache.jackrabbit.webdav.xml.Namespace namespace,
String name,
PropertyType propertyType)
Create field for namespace and name of type propertyType.
|
protected |
Field(String alias,
org.apache.jackrabbit.webdav.xml.Namespace namespace,
String name,
PropertyType propertyType,
String responseAlias,
String cast,
String updateAlias)
Create field for namespace and name of type propertyType.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.jackrabbit.webdav.property.PropEntry |
createDavProperty(String alias,
String value)
Create DavProperty object for field alias and value.
|
protected static void |
createField(org.apache.jackrabbit.webdav.xml.Namespace namespace,
String name) |
protected static void |
createField(String alias,
Field.DistinguishedPropertySetType propertySetType) |
protected static void |
createField(String alias,
Field.DistinguishedPropertySetType propertySetType,
int propertyTag,
String responseAlias) |
protected static void |
createField(String alias,
Field.DistinguishedPropertySetType propertySetType,
int propertyTag,
String responseAlias,
PropertyType propertyType) |
protected static void |
createField(String alias,
int propertyTag,
PropertyType propertyType) |
protected static void |
createField(String alias,
org.apache.jackrabbit.webdav.xml.Namespace namespace,
String name) |
protected static void |
createField(String alias,
org.apache.jackrabbit.webdav.xml.Namespace namespace,
String name,
PropertyType propertyType) |
static PropertyValue |
createPropertyValue(String alias,
String value)
Create property value object for field and value.
|
static Field |
get(String alias)
Get Field by alias.
|
static Field |
getHeader(String headerName)
Get Mime header field.
|
static org.apache.jackrabbit.webdav.property.DavPropertyName |
getPropertyName(String alias)
PROPFIND request property name
|
static String |
getRequestPropertyString(String alias)
SEARCH request property name for alias
|
static org.apache.jackrabbit.webdav.property.DavPropertyName |
getResponsePropertyName(String alias)
SEARCH response property name
|
String |
getUri()
Property uri.
|
boolean |
isIntValue()
Integer value property type.
|
protected static String |
toHexString(int propertyTag) |
protected static final Map<Field.DistinguishedPropertySetType,String> distinguishedPropertySetMap
protected static final org.apache.jackrabbit.webdav.xml.Namespace EMPTY
protected static final org.apache.jackrabbit.webdav.xml.Namespace XML
protected static final org.apache.jackrabbit.webdav.xml.Namespace DAV
protected static final org.apache.jackrabbit.webdav.xml.Namespace URN_SCHEMAS_HTTPMAIL
protected static final org.apache.jackrabbit.webdav.xml.Namespace URN_SCHEMAS_MAILHEADER
protected static final org.apache.jackrabbit.webdav.xml.Namespace SCHEMAS_EXCHANGE
protected static final org.apache.jackrabbit.webdav.xml.Namespace SCHEMAS_MAPI
protected static final org.apache.jackrabbit.webdav.xml.Namespace SCHEMAS_MAPI_PROPTAG
protected static final org.apache.jackrabbit.webdav.xml.Namespace SCHEMAS_MAPI_ID
protected static final org.apache.jackrabbit.webdav.xml.Namespace SCHEMAS_MAPI_STRING
protected static final org.apache.jackrabbit.webdav.xml.Namespace SCHEMAS_REPL
protected static final org.apache.jackrabbit.webdav.xml.Namespace URN_SCHEMAS_CONTACTS
protected static final org.apache.jackrabbit.webdav.xml.Namespace URN_SCHEMAS_CALENDAR
protected static final org.apache.jackrabbit.webdav.xml.Namespace SCHEMAS_MAPI_STRING_INTERNET_HEADERS
protected static final Map<PropertyType,String> propertyTypeMap
protected final String alias
protected final String uri
protected final String requestPropertyString
protected final org.apache.jackrabbit.webdav.property.DavPropertyName responsePropertyName
protected final org.apache.jackrabbit.webdav.property.DavPropertyName updatePropertyName
protected final String cast
protected final boolean isIntValue
protected final boolean isMultivalued
protected final boolean isBooleanValue
protected final boolean isFloatValue
protected final boolean isDateValue
protected Field(org.apache.jackrabbit.webdav.xml.Namespace namespace, String name)
namespace
- Exchange namespacename
- Exchange nameprotected Field(String alias, org.apache.jackrabbit.webdav.xml.Namespace namespace, String name, PropertyType propertyType)
alias
- logical name in DavMailnamespace
- Exchange namespacename
- Exchange namepropertyType
- property typeprotected Field(String alias, org.apache.jackrabbit.webdav.xml.Namespace namespace, String name, PropertyType propertyType, String responseAlias, String cast, String updateAlias)
alias
- logical name in DavMailnamespace
- Exchange namespacename
- Exchange namepropertyType
- property typeresponseAlias
- property name in SEARCH response (as responsealias in request)cast
- response cast type (e.g. bin.base64)updateAlias
- some properties use a different alias in PROPPATCH requestsprotected static String toHexString(int propertyTag)
protected static void createField(String alias, int propertyTag, PropertyType propertyType)
protected static void createField(String alias, Field.DistinguishedPropertySetType propertySetType)
protected static void createField(String alias, Field.DistinguishedPropertySetType propertySetType, int propertyTag, String responseAlias)
protected static void createField(String alias, Field.DistinguishedPropertySetType propertySetType, int propertyTag, String responseAlias, PropertyType propertyType)
protected static void createField(org.apache.jackrabbit.webdav.xml.Namespace namespace, String name)
protected static void createField(String alias, org.apache.jackrabbit.webdav.xml.Namespace namespace, String name)
protected static void createField(String alias, org.apache.jackrabbit.webdav.xml.Namespace namespace, String name, PropertyType propertyType)
public String getUri()
public boolean isIntValue()
public static Field get(String alias)
alias
- field aliaspublic static Field getHeader(String headerName)
headerName
- header namepublic static org.apache.jackrabbit.webdav.property.PropEntry createDavProperty(String alias, String value)
alias
- DavMail field aliasvalue
- field valuepublic static PropertyValue createPropertyValue(String alias, String value)
alias
- field aliasvalue
- field valueExchangePropPatchRequest
public static String getRequestPropertyString(String alias)
alias
- field aliaspublic static org.apache.jackrabbit.webdav.property.DavPropertyName getPropertyName(String alias)
alias
- field aliaspublic static org.apache.jackrabbit.webdav.property.DavPropertyName getResponsePropertyName(String alias)
alias
- field aliasCopyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.