Interface AccessControlSchemaMapper
-
- All Known Implementing Classes:
AccessControlSchemaXmlMapper,AccessControlSchemaXsdWriter
public interface AccessControlSchemaMapperThis is the interface toread(InputStream)andwrite(AccessControlSchema, OutputStream)theAccessControlSchema.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessControlSchemaread(InputStream in)Reads theAccessControlSchemafrom the givenInputStream.voidwrite(AccessControlSchema conf, OutputStream out)Writes the givenAccessControlSchemato the givenOutputStream.
-
-
-
Method Detail
-
read
AccessControlSchema read(InputStream in)
Reads theAccessControlSchemafrom the givenInputStream.- Parameters:
in- is theInputStreamwithAccessControlSchemato read. Has to beclosedby the caller of this method who created the stream.- Returns:
- the
AccessControlSchemarepresented by the given input.
-
write
void write(AccessControlSchema conf, OutputStream out)
Writes the givenAccessControlSchemato the givenOutputStream.- Parameters:
conf- is theAccessControlSchemato write.out- is theOutputStreamwhere to write theAccessControlSchemato. Has to beclosedby the caller of this method who created the stream.
-
-