Code example for DocumentType

Methods: getSystemId

     * @throws Throwable 
     *             Any uncaught exception causes test to fail 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getSystemId", 
        args = {} 
    public void testGetSystemId() throws Throwable { 
        Document doc;
        DocumentType docType;
        String systemId;
        doc = (Document) load("staffNS", builder);
        docType = doc.getDoctype();
        systemId = docType.getSystemId();
        assertURIEquals("systemId", null, null, null, "staffNS.dtd", null, 
                null, null, null, systemId);
Stop searching for code, let great code find you!  Add Codota to your java IDE