Package edu.harvard.hul.ois.ots.schemas.TextMD

Examples of edu.harvard.hul.ois.ots.schemas.TextMD.MarkupBasis


        }
    }

    protected void attachMarkupBasis () {
        if (mb == null) {
            mb = new MarkupBasis ();
            textMD.addMarkupBasis(mb);
        }
    }
View Full Code Here


        assertEquals ("US-ASCII", chinfo.getCharset());
        assertEquals ("LF", chinfo.getLinebreak ());
       
        List<MarkupBasis> mkbases = tmd.getMarkupBases();
        assertTrue (mkbases.size () == 1);
        MarkupBasis mkbas = mkbases.get(0);
        assertEquals ("HTML", mkbas.getValue());
        assertEquals ("1.0", mkbas.getVersion());
       
        List<MarkupLanguage> mklangs = tmd.getMarkupLanguages();
        assertTrue (mklangs.size() == 1);
        MarkupLanguage mklang = mklangs.get(0);
        assertEquals (mln, mklang.getValue());
View Full Code Here

TOP

Related Classes of edu.harvard.hul.ois.ots.schemas.TextMD.MarkupBasis

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.