src/java.xml/share/classes/com/sun/org/apache/xerces/internal/xni/NamespaceContext.java
changeset 47359 e1a6c0168741
parent 47216 71c04702a3d5
child 48409 5ab69533994b
equal deleted inserted replaced
47358:d07d5f7cab35 47359:e1a6c0168741
     1 /*
     1 /*
     2  * reserved comment block
     2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT REMOVE OR ALTER!
     3  * @LastModified: Oct 2017
     4  */
     4  */
     5 /*
     5 /*
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     7  * contributor license agreements.  See the NOTICE file distributed with
     7  * contributor license agreements.  See the NOTICE file distributed with
     8  * this work for additional information regarding copyright ownership.
     8  * this work for additional information regarding copyright ownership.
    20  */
    20  */
    21 
    21 
    22 package com.sun.org.apache.xerces.internal.xni;
    22 package com.sun.org.apache.xerces.internal.xni;
    23 
    23 
    24 import java.util.Enumeration;
    24 import java.util.Enumeration;
    25 import java.util.Vector;
       
    26 
    25 
    27 /**
    26 /**
    28  * Represents an interface to query namespace information.
    27  * Represents an interface to query namespace information.
    29  * <p>
    28  * <p>
    30  * The prefix and namespace must be identical references for equal strings, thus
    29  * The prefix and namespace must be identical references for equal strings, thus
   161          * Return an enumeration of all prefixes whose declarations are active
   160          * Return an enumeration of all prefixes whose declarations are active
   162      * in the current context. This includes declarations from parent contexts
   161      * in the current context. This includes declarations from parent contexts
   163      * that have not been overridden.
   162      * that have not been overridden.
   164          * @return Enumeration
   163          * @return Enumeration
   165          */
   164          */
   166     public Enumeration getAllPrefixes();
   165     public Enumeration<String> getAllPrefixes();
   167 
   166 
   168     /**
   167     /**
   169      * Reset this Namespace support object for reuse.
   168      * Reset this Namespace support object for reuse.
   170      *
   169      *
   171      * <p>It is necessary to invoke this method before reusing the
   170      * <p>It is necessary to invoke this method before reusing the