[ http://issues.apache.org/jira/browse/XERCESJ-618?page=all ]

Michael Glavassevich reassigned XERCESJ-618:
--------------------------------------------

    Assign To: Michael Glavassevich

> DTDGrammar should have a public getContentSpecIndex(int) method
> ---------------------------------------------------------------
>
>          Key: XERCESJ-618
>          URL: http://issues.apache.org/jira/browse/XERCESJ-618
>      Project: Xerces2-J
>         Type: Improvement
>   Components: DTD
>     Versions: 2.3.0
>  Environment: Operating System: All
> Platform: All
>     Reporter: dpoon
>     Assignee: Michael Glavassevich
>     Priority: Minor

>
> DTDGrammar already has public methods
>     .getFirstElementDeclIndex()
>     .getNextElementDeclIndex()
>     .getElementDecl(int, XMLElementDecl)
>     .getContentSpec(int, XMLContentSpec)
> that expose the elements and content specs of the DTD.
> It would be very useful to add a public .getContentSpecIndex(int) method
> analogous to the existing protected .setContentSpecIndex(int, int) so that one
> ask which content spec goes with each element.
> A clumsy workaround for the lack of .getContentSpecIndex(int) would be to 
> break
> privacy by using reflection.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to