Class DTDElementDecl

  • All Implemented Interfaces:
    DOMRange, Node

    public class DTDElementDecl
    extends DTDDeclNode
    DTD Element Declaration
    • Constructor Detail

      • DTDElementDecl

        public DTDElementDecl​(int start,
                              int end)
    • Method Detail

      • getCategory

        public String getCategory()
      • setCategory

        public void setCategory​(int start,
                                int end)
      • getContent

        public String getContent()
      • setContent

        public void setContent​(int start,
                               int end)
      • getEndElementTag

        public int getEndElementTag()
        Returns the offset of the end of tag
        Returns:
        the offset of the end of tag
      • getParameterAt

        public DTDDeclParameter getParameterAt​(int offset)
        Returns the parameter (start/end offset) at the given offset and null otherwise.

        will return (start/end offset) of heading.

        will return null.

        Parameters:
        offset - the offset
        Returns:
        the parameter (start/end offset) at the given offset and null otherwise.
      • getReferencedElementNameAt

        public DTDDeclParameter getReferencedElementNameAt​(int offset)
        Description copied from class: DTDDeclNode
        Returns the parameter name which references a DTD element declaration (
        Overrides:
        getReferencedElementNameAt in class DTDDeclNode
        Parameters:
        offset - the offset
        Returns:
        the parameter name which references a DTD element declaration (