public class DAVItemSerializer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
createDateFormatString |
static String |
dateFormatString |
Constructor and Description |
---|
DAVItemSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
generateLockProperties(IDavItem item,
XMLStreamWriter response) |
void |
generateLockXml(XMLStreamWriter response,
IDavLock item) |
void |
generateNamedProperties(IDavContext ctxt,
IDavItem item,
XMLStreamWriter response,
ArrayList<DavProperty> properties) |
void |
generateProperties(IDavContext ctxt,
IDavItem item,
XMLStreamWriter response,
boolean created) |
protected XMLStreamWriter |
writeEmptyElement(XMLStreamWriter response,
String ns,
String name) |
protected XMLStreamWriter |
writeSimpleElement(XMLStreamWriter response,
String ns,
String name,
String value) |
public static final String dateFormatString
public static final String createDateFormatString
public void generateLockProperties(IDavItem item, XMLStreamWriter response) throws IOException
IOException
public void generateNamedProperties(IDavContext ctxt, IDavItem item, XMLStreamWriter response, ArrayList<DavProperty> properties) throws IOException, XMLStreamException
IOException
XMLStreamException
public void generateLockXml(XMLStreamWriter response, IDavLock item) throws IOException, XMLStreamException
IOException
XMLStreamException
public void generateProperties(IDavContext ctxt, IDavItem item, XMLStreamWriter response, boolean created) throws IOException, XMLStreamException
IOException
XMLStreamException
protected XMLStreamWriter writeSimpleElement(XMLStreamWriter response, String ns, String name, String value) throws IOException, XMLStreamException
IOException
XMLStreamException
protected XMLStreamWriter writeEmptyElement(XMLStreamWriter response, String ns, String name) throws IOException, XMLStreamException
IOException
XMLStreamException
Copyright © 2016–2022. All rights reserved.