src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Discarder.java

changeset 707
31893650acaf
parent 650
121e938cb9c3
equal deleted inserted replaced
706:1e9d08d74c48 707:31893650acaf
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
42 super(false); 42 super(false);
43 } 43 }
44 44
45 @Override 45 @Override
46 public void childElement(UnmarshallingContext.State state, TagName ea) { 46 public void childElement(UnmarshallingContext.State state, TagName ea) {
47 state.target = null; 47 state.setTarget(null);
48 // registering this allows the discarder to process the whole subtree. 48 // registering this allows the discarder to process the whole subtree.
49 state.loader = this; 49 state.setLoader(this);
50 } 50 }
51 } 51 }

mercurial