Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
XacmlReader |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch) | |
3 | * All rights reserved. | |
4 | * | |
5 | * Licensed under the Open Permis License which accompanies this distribution, | |
6 | * and is available at http://www.openpermis.org/BSDlicenceKent.txt | |
7 | */ | |
8 | package org.openpermis.xacml.io; | |
9 | ||
10 | import java.io.Reader; | |
11 | ||
12 | ||
13 | /** | |
14 | * A reader for xacml. | |
15 | * @since 0.4.0 | |
16 | */ | |
17 | public interface XacmlReader { | |
18 | ||
19 | //---- Methods | |
20 | ||
21 | /** | |
22 | * Reads a request. | |
23 | * @param request the xacml request. | |
24 | * @throws XacmlException indicates a reading problem. | |
25 | * @since 0.4.0 | |
26 | */ | |
27 | public XacmlRequest readRequest (Reader request) throws XacmlException; | |
28 | ||
29 | } |