1 /* |
1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2014, 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 |
39 } |
39 } |
40 |
40 |
41 @Override |
41 @Override |
42 public final void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException { |
42 public final void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException { |
43 Loader loader = selectLoader(state,ea); |
43 Loader loader = selectLoader(state,ea); |
44 state.loader = loader; |
44 state.setLoader(loader); |
45 loader.startElement(state,ea); |
45 loader.startElement(state,ea); |
46 } |
46 } |
47 |
47 |
48 /** |
48 /** |
49 * Picks the loader to delegate to. |
49 * Picks the loader to delegate to. |