Java org.apache.commons.digester SetNestedPropertiesRule fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.digester SetNestedPropertiesRule fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.digester SetNestedPropertiesRule.

The text is from its open source code.

Constructor

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.

Method

voidsetAllowUnknownChildElements(boolean allowUnknownChildElements)
Determines whether an error is reported when a nested element is encountered for which there is no corresponding property-setter method.
voidsetTrimData(boolean trimData)
When set to true, any text within child elements will have leading and trailing whitespace removed before assignment to the target object.