Class PropertyWriteUtil
java.lang.Object
org.exoplatform.services.jcr.webdav.xml.PropertyWriteUtil
Created by The eXo Platform SAS.
- Version:
- $Id: $
- Author:
- Vitaly Guly - gavrikvetal@gmail.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteAttributes(XMLStreamWriter xmlStreamWriter, org.exoplatform.common.util.HierarchicalProperty property) Writes property attributes into XML.static voidwriteProperty(XMLStreamWriter xmlStreamWriter, org.exoplatform.common.util.HierarchicalProperty prop) Writes the statuses of property into XML.static voidwritePropStats(XMLStreamWriter xmlStreamWriter, Map<String, Set<org.exoplatform.common.util.HierarchicalProperty>> propStatuses) Writes the statuses of properties into XML.
-
Constructor Details
-
PropertyWriteUtil
public PropertyWriteUtil()
-
-
Method Details
-
writePropStats
public static void writePropStats(XMLStreamWriter xmlStreamWriter, Map<String, Set<org.exoplatform.common.util.HierarchicalProperty>> 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.common.util.HierarchicalProperty 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.common.util.HierarchicalProperty property) throws XMLStreamException Writes property attributes into XML.- Parameters:
xmlStreamWriter- XML writerproperty- property- Throws:
XMLStreamException-XMLStreamException
-