jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/model/CElementPropertyInfo.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, 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 |
167 |
167 |
168 public <V> V accept(CPropertyVisitor<V> visitor) { |
168 public <V> V accept(CPropertyVisitor<V> visitor) { |
169 return visitor.onElement(this); |
169 return visitor.onElement(this); |
170 } |
170 } |
171 |
171 |
|
172 @Override |
|
173 public <R, P> R accept(CPropertyVisitor2<R, P> visitor, P p) { |
|
174 return visitor.visit(this, p); |
|
175 } |
|
176 |
172 public CAdapter getAdapter() { |
177 public CAdapter getAdapter() { |
173 return adapter; |
178 return adapter; |
174 } |
179 } |
175 |
180 |
176 public void setAdapter(CAdapter a) { |
181 public void setAdapter(CAdapter a) { |