protected MapperWrapper wrapMapper(MapperWrapper next) { return new UppercaseTagMapper(new PackageStrippingMapper(next)); }; };
/** * Decodes a String into the internal object (used for CDATA inputs) * * @param input */ public abstract Object decode(String input) throws Exception; }
/** * Decodes the parameter (as a string) to its internal object implementation. */ public Object decode(String value) throws Exception { return parseRange(value); }
/** * Encodes the internal object representation of a parameter into an output stream using * specific encoding parameters */ public void encode(Object value, Map<String, Object> encodingParameters, OutputStream os) throws Exception { encode(value, os); };
/** * Provides a suitable extension for the output file given the object being encoded. The default * implementation simply calls {@link #getFileExtension()} * * @param object */ public String getFileExtension(Object object) { return getFileExtension(); } }
protected MapperWrapper wrapMapper(MapperWrapper next) { return new UppercaseTagMapper(next); }; };
public void encode(OutputStream os) throws Exception { ppio.encode(object, os); }
public void encode(OutputStream os) throws Exception { ppio.encode(object, os); } }
public void encode(ContentHandler handler) throws Exception { ppio.encode(object, handler); }
@Override public void encode(Object value, OutputStream os) throws Exception { encode(value, null, os); }
public WFSKmlEncodingContext(ServiceInfo si, List<SimpleFeatureCollection> collections) { this.service = getService(); this.collections = collections; // set some defaults for wfs encoding this.descriptionEnabled = false; this.kmScore = 100; this.extendedDataEnabled = true; this.kmz = false; }
@Override public void encode(Object value, OutputStream outputStream) throws Exception { // Call default implementation with no params encode(value, null, outputStream); }
public static List<ProcessParameterIO> findEncoder(Parameter<?> p, ApplicationContext context) { return findByDirection(p, context, PPIODirection.ENCODING); }
protected MapperWrapper wrapMapper(MapperWrapper next) { return new UppercaseTagMapper(new PackageStrippingMapper(next)); }; };
@Override public Object decode(Object input) throws Exception { return decode((String) input); }
/** Decodes the parameter (as a string) to its internal object implementation. */ public Object decode(String value) throws Exception { return parseRange(value); }
protected MapperWrapper wrapMapper(MapperWrapper next) { return new UppercaseTagMapper(next); }; };
public void encode(OutputStream os) throws Exception { ppio.encode(object, os); }
public void encode(OutputStream os) throws Exception { ppio.encode(object, os); } }
public void encode(ContentHandler handler) throws Exception { ppio.encode(object, handler); } }