protected void handleMetadataLinks(List<MetadataLinkInfo> links, String linkType) { for (MetadataLinkInfo mdl : links) { if (mdl != null) { handleMetadataLink(mdl, linkType); } } }
/** * Creates a new WFSCapsTransformer object. */ public DescribeCoverageTransformer(WCS wcs, Data catalog) { super(); this.wcs = wcs; this.catalog = catalog; setNamespaceDeclarationEnabled(false); }
public CoveragesTransformer(WCS wcs, GetCoverageType request, String coverageLocation) { this.wcs = wcs; this.request = request; this.coverageLocation = coverageLocation; setNamespaceDeclarationEnabled(false); }
/** * Handles the request portion of the document, printing out the capabilities and where to * bind to them. * * @param config The global wms. * @throws SAXException For any problems. */ private void handleRequest() { start("wcs:Request"); handleCapability("wcs:GetCapabilities"); handleCapability("wcs:DescribeCoverage"); handleCapability("wcs:GetCoverage"); end("wcs:Request"); }
protected GdalCDataPPIO( String outputFormat, GdalCoverageResponseDelegate delegate, String mimeType) { super(GridCoverage2D.class, GridCoverage2D.class, mimeType); this.delegate = delegate; this.outputFormat = outputFormat; this.fileExtension = delegate.getFileExtension(outputFormat); }
@Override public void encode(Object value, OutputStream os) throws Exception { delegate.encode((GridCoverage2D) value, outputFormat, null, os); }
@Override protected void updateMessageID() throws MessagingException { // it's just ugly to see ... removeHeader("Message-ID"); } }
/** * Converts each metadata URL to XML. * * @param links a collection of links * @param linkType the type of links */ protected void handleMetadataLinks(List<MetadataLinkInfo> links, String linkType) { for (MetadataLinkInfo mdl : links) { if (mdl != null) { handleMetadataLink(mdl, linkType); } } }
/** * Creates a new WFSCapsTransformer object. */ public WCSCapsTransformer(WCS wcs, Data catalog) { super(); this.wcs = wcs; this.catalog = catalog; setNamespaceDeclarationEnabled(false); }
public Translator createTranslator(ContentHandler handler) { return new WCS111DescribeCoverageTranslator(handler); }
public Translator createTranslator(ContentHandler handler) { return new WCS111CapsTranslator(handler); }
public static String getGdalTranslate() { if (isGdalAvailable()) return GDAL_TRANSLATE; else return null; }
public Translator createTranslator(ContentHandler handler) { return new WCS100CapsTranslator(handler); }
protected GdalXMLPPIO(String outputFormat, GdalCoverageResponseDelegate delegate) { super(GridCoverage2D.class, GridCoverage2D.class, GML.RectifiedGridType); this.delegate = delegate; this.outputFormat = outputFormat; this.fileExtension = delegate.getFileExtension(outputFormat); }
@Override public void encode(Object value, OutputStream os) throws Exception { delegate.encode((GridCoverage2D) value, outputFormat, null, os); }
/** Creates a new WFSCapsTransformer object. */ public DescribeCoverageTransformer( WCSInfo wcs, Catalog catalog, CoverageResponseDelegateFinder responseFactory) { super(); this.wcs = wcs; this.catalog = catalog; this.responseFactory = responseFactory; setNamespaceDeclarationEnabled(false); }
public CoveragesTransformer(WCSInfo wcs, GetCoverageType request, String coverageLocation) { this.wcs = wcs; this.request = request; this.coverageLocation = coverageLocation; setNamespaceDeclarationEnabled(false); }
@Override protected void updateMessageID() throws MessagingException { // it's just ugly to see ... removeHeader("Message-ID"); } }
protected GdalBinaryPPIO( String outputFormat, GdalCoverageResponseDelegate delegate, String mimeType) { super(GridCoverage2D.class, GridCoverage2D.class, mimeType); this.delegate = delegate; this.outputFormat = outputFormat; this.fileExtension = delegate.getFileExtension(outputFormat); }
@Override public void encode(Object value, OutputStream os) throws Exception { delegate.encode((GridCoverage2D) value, outputFormat, null, os); }