com.skaringa.javaxml.impl
Class PropertyHelper

java.lang.Object
  extended by com.skaringa.javaxml.impl.PropertyHelper

public final class PropertyHelper
extends java.lang.Object

Class the helps with the evaluation of serializer properties.


Method Summary
static boolean isValidNameForObjectTransformer(java.lang.String name)
          Check if name is a valid property name for the ObjectTransformer.
static boolean parseBoolean(java.util.Map propertyMap, java.lang.String name)
          Parse a boolean, yes/no, true/false property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isValidNameForObjectTransformer

public static boolean isValidNameForObjectTransformer(java.lang.String name)
Check if name is a valid property name for the ObjectTransformer.

Parameters:
name - The property name.
Returns:
true if name is a valid property name.

parseBoolean

public static boolean parseBoolean(java.util.Map propertyMap,
                                   java.lang.String name)
Parse a boolean, yes/no, true/false property.

Parameters:
propertyMap - The map with the properties.
name - The name of the property.
Returns:
The value of the property.