< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xerces/internal/dom/AttrImpl.java

Print this page

        

*** 1,8 **** /* ! * reserved comment block ! * DO NOT REMOVE OR ALTER! */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. --- 1,7 ---- /* ! * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership.
*** 514,523 **** --- 513,523 ---- * @see #getOwnerElement * * @deprecated Previous working draft of DOM Level 2. New method * is <tt>getOwnerElement()</tt>. */ + @Deprecated public Element getElement() { // if we have an owner, ownerNode is our ownerElement, otherwise it's // our ownerDocument and we don't have an ownerElement return (Element) (isOwned() ? ownerNode : null); }
< prev index next >