You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xml-commons-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <ji...@apache.org> on 2010/12/07 04:39:10 UTC

[jira] Updated: (XMLCOMMONS-62) need a public API getPublicIDs() in Catalog.java (resolver)

     [ https://issues.apache.org/jira/browse/XMLCOMMONS-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich updated XMLCOMMONS-62:
-------------------------------------------

    Fix Version/s: XML Commons Resolver 1.2.0

> need a public API getPublicIDs() in Catalog.java (resolver)
> -----------------------------------------------------------
>
>                 Key: XMLCOMMONS-62
>                 URL: https://issues.apache.org/jira/browse/XMLCOMMONS-62
>             Project: XmlCommons
>          Issue Type: Improvement
>          Components: XML Commons Resolver (resolver.jar)
>    Affects Versions: 1.x
>         Environment: Operating System: All
> Platform: All
>            Reporter: Samaresh Panda
>            Assignee: Commons Developers Mailing List
>            Priority: Minor
>             Fix For: XML Commons Resolver 1.2.0
>
>
> Please add a new API getPublicIDs() to org.apache.xml.resolver.Catalog.java.
> An implementation may look like this:
>   /**
>    * Return all registered public IDs.
>    */
>   public Iterator getPublicIDs() {
>       Vector v = new Vector();
>       Enumeration enumeration = catalogEntries.elements();
>       while (enumeration.hasMoreElements()) {
>         CatalogEntry e = (CatalogEntry) enumeration.nextElement();
>         if (e.getEntryType() == PUBLIC) {
>             v.add(e.getEntryArg(0));
>         }
>       }
>       return v.iterator();
>   }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xml-commons-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: xml-commons-dev-help@xerces.apache.org