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

changeset 650
121e938cb9c3
parent 0
373ffda63c9a
equal deleted inserted replaced
646:733e287c2d6f 650:121e938cb9c3
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
45 this.xacc = xacc; 45 this.xacc = xacc;
46 } 46 }
47 47
48 public void text(UnmarshallingContext.State state, CharSequence text) throws SAXException { 48 public void text(UnmarshallingContext.State state, CharSequence text) throws SAXException {
49 try { 49 try {
50 xacc.parse(state.prev.target,text); 50 xacc.parse(state.getPrev().getTarget(), text);
51 } catch (AccessorException e) { 51 } catch (AccessorException e) {
52 handleGenericException(e,true); 52 handleGenericException(e,true);
53 } catch (RuntimeException e) { 53 } catch (RuntimeException e) {
54 handleParseConversionException(state,e); 54 handleParseConversionException(state,e);
55 } 55 }

mercurial