de.smartics.properties.config.transfer.templatestream
Class EscapeAllTheSameValueEscaper

Package class diagram package EscapeAllTheSameValueEscaper
java.lang.Object
  extended by de.smartics.properties.config.transfer.templatestream.EscapeAllTheSameValueEscaper
All Implemented Interfaces:
ValueEscaper

public abstract class EscapeAllTheSameValueEscaper
     
     
extends Object
implements ValueEscaper

Helper to escape values indifferently.


Constructor Summary
protected EscapeAllTheSameValueEscaper()
          Default constructor.
 
Method Summary
 String escapeConfigKey(String value)
          Escapes the given config key.
 String escapeName(String value)
          Escapes the given property name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.smartics.properties.config.transfer.templatestream.ValueEscaper
escapeValue
 

Constructor Detail

EscapeAllTheSameValueEscaper

protected EscapeAllTheSameValueEscaper()
Default constructor.

Method Detail

escapeConfigKey

public String escapeConfigKey(String value)
Description copied from interface: ValueEscaper
Escapes the given config key.

Specified by:
escapeConfigKey in interface ValueEscaper
Parameters:
value - the value to escape. May be null.
Returns:
the escaped value.

escapeName

public String escapeName(String value)
Description copied from interface: ValueEscaper
Escapes the given property name.

Specified by:
escapeName in interface ValueEscaper
Parameters:
value - the value to escape. May be null.
Returns:
the escaped value.


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.