1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
31 /** |
31 /** |
32 * {@link XMLStreamReader} extended for reading binary data. |
32 * {@link XMLStreamReader} extended for reading binary data. |
33 * |
33 * |
34 * <p> |
34 * <p> |
35 * Some producer of infoset (in particular, such as FastInfoset, |
35 * Some producer of infoset (in particular, such as FastInfoset, |
36 * XOP deecoder), usees a native format that enables efficient |
36 * XOP decoder), uses a native format that enables efficient |
37 * treatment of binary data. For ordinary infoset consumer |
37 * treatment of binary data. For ordinary infoset consumer |
38 * (that just uses {@link XMLStreamReader}, those binary data |
38 * (that just uses {@link XMLStreamReader}, those binary data |
39 * will just look like base64-encoded string, but this interface |
39 * will just look like base64-encoded string, but this interface |
40 * allows consumers of such infoset to access this raw binary data. |
40 * allows consumers of such infoset to access this raw binary data. |
41 * Such infoset producer may choose to implement this additoinal |
41 * Such infoset producer may choose to implement this additoinal |