Class EntityDeclarationImpl

    • Constructor Detail

      • EntityDeclarationImpl

        public EntityDeclarationImpl()
        Creates a new instance of EntityDeclarationImpl
      • EntityDeclarationImpl

        public EntityDeclarationImpl​(String entityName,
                                     String replacement)
    • Method Detail

      • getPublicId

        public String getPublicId()
        The entity's public identifier, or null if none was given
        Specified by:
        getPublicId in interface EntityDeclaration
        Returns:
        the public ID for this declaration or null
      • getReplacementText

        public String getReplacementText()
        The replacement text of the entity. This method will only return non-null if this is an internal entity.
        Specified by:
        getReplacementText in interface EntityDeclaration
        Returns:
        null or the replacment text
      • getBaseURI

        public String getBaseURI()
        Get the base URI for this reference or null if this information is not available
        Specified by:
        getBaseURI in interface EntityDeclaration
        Returns:
        the base URI or null
      • setPublicId

        public void setPublicId​(String publicId)
      • setSystemId

        public void setSystemId​(String systemId)
      • setBaseURI

        public void setBaseURI​(String baseURI)
      • setName

        public void setName​(String entityName)
      • setReplacementText

        public void setReplacementText​(String replacement)
      • setNotationName

        public void setNotationName​(String notationName)
      • init

        protected void init()