Class PropertyWriteUtil
java.lang.Object
org.exoplatform.documents.webdav.util.PropertyWriteUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteAttributes(XMLStreamWriter xmlStreamWriter, org.exoplatform.documents.webdav.model.WebDavItemProperty property) Writes property attributes into XML.static voidwriteProperty(XMLStreamWriter xmlStreamWriter, org.exoplatform.documents.webdav.model.WebDavItemProperty prop) Writes the statuses of property into XML.static voidwritePropStats(XMLStreamWriter xmlStreamWriter, Map<String, Collection<org.exoplatform.documents.webdav.model.WebDavItemProperty>> propStatuses) Writes the statuses of properties into XML.
-
Method Details
-
writePropStats
public static void writePropStats(XMLStreamWriter xmlStreamWriter, Map<String, Collection<org.exoplatform.documents.webdav.model.WebDavItemProperty>> propStatuses) throws XMLStreamExceptionWrites the statuses of properties into XML.- Parameters:
xmlStreamWriter- XML writerpropStatuses- properties statuses- Throws:
XMLStreamException-XMLStreamException
-
writeProperty
public static void writeProperty(XMLStreamWriter xmlStreamWriter, org.exoplatform.documents.webdav.model.WebDavItemProperty prop) throws XMLStreamException Writes the statuses of property into XML.- Parameters:
xmlStreamWriter- XML writerprop- property- Throws:
XMLStreamException-XMLStreamException
-
writeAttributes
public static void writeAttributes(XMLStreamWriter xmlStreamWriter, org.exoplatform.documents.webdav.model.WebDavItemProperty property) throws XMLStreamException Writes property attributes into XML.- Parameters:
xmlStreamWriter- XML writerproperty- property- Throws:
XMLStreamException-XMLStreamException
-