@Test public void testMimeType() { assertEquals( "text/turtle", pageFormat.mimeType().toString() ); }
public MediaType mimeType() { MediaType mime = null; com.epimorphics.rdfutil.RDFNodeWrapper format = getPropertyValue( DCTerms.format ); if (format != null) { mime = MediaType.decodeType( format.getPropertyValue( RDFS.label ).getLexicalForm() ); } return mime; }
PageFormat extends CommonNodeWrapper implements Comparable<PageFormat> { public MediaType mimeType() { MediaType mime = null; com.epimorphics.rdfutil.RDFNodeWrapper format = getPropertyValue( DCTerms.format ); if (format != null) { mime = MediaType.decodeType( format.getPropertyValue( RDFS.label ).getLexicalForm() ); } return mime; } }
PageFormat extends CommonNodeWrapper implements Comparable<PageFormat> { public MediaType mimeType() { MediaType mime = null; com.epimorphics.rdfutil.RDFNodeWrapper format = getPropertyValue( DCTerms.format ); if (format != null) { mime = MediaType.decodeType( format.getPropertyValue( RDFS.label ).getLexicalForm() ); } return mime; } PageFormat( Page page, Resource root ); }
PageFormat extends CommonNodeWrapper implements Comparable<PageFormat> { public MediaType mimeType() { MediaType mime = null; com.epimorphics.rdfutil.RDFNodeWrapper format = getPropertyValue( DCTerms.format ); if (format != null) { mime = MediaType.decodeType( format.getPropertyValue( RDFS.label ).getLexicalForm() ); } return mime; } PageFormat( Page page, Resource root ); String label(); MediaType mimeType(); com.epimorphics.rdfutil.RDFNodeWrapper isFormatOf(); @Override int compareTo( PageFormat o ); }
PageFormat extends CommonNodeWrapper implements Comparable<PageFormat> { public MediaType mimeType() { MediaType mime = null; com.epimorphics.rdfutil.RDFNodeWrapper format = getPropertyValue( DCTerms.format ); if (format != null) { mime = MediaType.decodeType( format.getPropertyValue( RDFS.label ).getLexicalForm() ); } return mime; } PageFormat( Page page, Resource root ); String label(); MediaType mimeType(); com.epimorphics.rdfutil.RDFNodeWrapper isFormatOf(); @Override int compareTo( PageFormat o );  }