|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.privilege.PrivilegeDefinitionWriter
public class PrivilegeDefinitionWriter
Writes privilege definitions to an output stream.
| Constructor Summary | |
|---|---|
PrivilegeDefinitionWriter(String contentType)
Creates a new PrivilegeDefinitionWriter. |
|
| Method Summary | |
|---|---|
void |
writeDefinitions(OutputStream out,
org.apache.jackrabbit.spi.PrivilegeDefinition[] privilegeDefinitions,
Map<String,String> namespaces)
Writes the privilege definitions to the specified output stream. |
void |
writeDefinitions(Writer writer,
org.apache.jackrabbit.spi.PrivilegeDefinition[] privilegeDefinitions,
Map<String,String> namespaces)
Writes the privilege definitions to the specified output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrivilegeDefinitionWriter(String contentType)
PrivilegeDefinitionWriter.
contentType - The content type used to determine the type of
serialization.
IllegalArgumentException - if the specified content type is not
supported.| Method Detail |
|---|
public void writeDefinitions(OutputStream out,
org.apache.jackrabbit.spi.PrivilegeDefinition[] privilegeDefinitions,
Map<String,String> namespaces)
throws IOException
out - The output stream.privilegeDefinitions - The privilege definitions to write to the
given output stream.namespaces - The namespace mapping (prefix to uri) used by the
specified definitions.
IOException - If an error occurs.
public void writeDefinitions(Writer writer,
org.apache.jackrabbit.spi.PrivilegeDefinition[] privilegeDefinitions,
Map<String,String> namespaces)
throws IOException
writer - The writer.privilegeDefinitions - The privilege definitions to write to the
given output stream.namespaces - The namespace mapping (prefix to uri) used by the
specified definitions.
IOException - If an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||