src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/TextLoader.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
49 this.xducer = xducer; 49 this.xducer = xducer;
50 } 50 }
51 51
52 public void text(UnmarshallingContext.State state, CharSequence text) throws SAXException { 52 public void text(UnmarshallingContext.State state, CharSequence text) throws SAXException {
53 try { 53 try {
54 state.target = xducer.parse(text); 54 state.setTarget(xducer.parse(text));
55 } catch (AccessorException e) { 55 } catch (AccessorException e) {
56 handleGenericException(e,true); 56 handleGenericException(e,true);
57 } catch (RuntimeException e) { 57 } catch (RuntimeException e) {
58 handleParseConversionException(state,e); 58 handleParseConversionException(state,e);
59 } 59 }

mercurial