Class DocumentTypeDeclaration

java.lang.Object
io.sf.carte.doc.xml.dtd.DocumentTypeDeclaration

public class DocumentTypeDeclaration extends Object
Document Type Declaration.
  • Field Details

  • Constructor Details

    • DocumentTypeDeclaration

      public DocumentTypeDeclaration(String publicId)
    • DocumentTypeDeclaration

      public DocumentTypeDeclaration(String name, String publicId, String systemId)
  • Method Details

    • getPublicId

      public String getPublicId()
    • setPublicId

      public void setPublicId(String publicId)
    • getSystemId

      public String getSystemId()
    • setSystemId

      public void setSystemId(String systemId)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • parse

      public static DocumentTypeDeclaration parse(String documentTypeDeclaration) throws SAXException
      Parses an XML document type declaration.
      Parameters:
      documentTypeDeclaration - the document type declaration.
      Returns:
      the corresponding DocumentTypeDeclaration object.
      Throws:
      SAXException - if the document type declaration could not be parsed.
    • toString

      public String toString()
      Overrides:
      toString in class Object