diff options
Diffstat (limited to 'src/com/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter.java')
-rw-r--r-- | src/com/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter.java | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/com/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter.java b/src/com/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter.java index 6dbc54a..a12d9e4 100644 --- a/src/com/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter.java +++ b/src/com/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter.java @@ -1,13 +1,13 @@ /* - * reserved comment block - * DO NOT REMOVE OR ALTER! + * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. */ /* - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * 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. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * @@ -27,11 +27,10 @@ import com.sun.org.apache.xalan.internal.xsltc.DOM; import com.sun.org.apache.xalan.internal.xsltc.DOMEnhancedForDTM; import com.sun.org.apache.xalan.internal.xsltc.StripFilter; import com.sun.org.apache.xalan.internal.xsltc.TransletException; -import com.sun.org.apache.xalan.internal.xsltc.runtime.Hashtable; import com.sun.org.apache.xml.internal.dtm.DTM; import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator; import com.sun.org.apache.xml.internal.serializer.SerializationHandler; - +import java.util.Map; import org.w3c.dom.Node; import org.w3c.dom.NodeList; @@ -462,7 +461,7 @@ public final class DOMAdapter implements DOM { return _dom.getUnparsedEntityURI(entity); } - public Hashtable getElementsWithIDs() { + public Map<String, Integer> getElementsWithIDs() { return _dom.getElementsWithIDs(); } } |