Example usage for Java org.apache.commons.digester SetNestedPropertiesRule fields, constructors, methods, implement or subclass
The text is from its open source code.
SetNestedPropertiesRule(String elementName, String propertyName) Convenience constructor which overrides the default mappings for just one property. For details about how this works, see #SetNestedPropertiesRule(String[] elementNames,String[] propertyNames) . | |
SetNestedPropertiesRule(String[] elementNames, String[] propertyNames) Constructor which allows element->property mapping to be overridden. | |
SetNestedPropertiesRule() Base constructor, which maps every child element into a bean property with the same name as the xml element. |
void | setAllowUnknownChildElements(boolean allowUnknownChildElements) Determines whether an error is reported when a nested element is encountered for which there is no corresponding property-setter method. |
void | setTrimData(boolean trimData) When set to true, any text within child elements will have leading and trailing whitespace removed before assignment to the target object. |