/** * Checks if the optional attribute is set. * * @param attrs the attributes * @throws Exception if an error occurs */ @Override public void begin(Attributes attrs) throws Exception { optional = attrs.getValue(ATTR_OPTIONAL) != null && PropertyConverter.toBoolean( attrs.getValue(ATTR_OPTIONAL)).booleanValue(); super.begin(attrs); }
/** * Checks if the optional attribute is set. * * @param attrs the attributes * @throws Exception if an error occurs */ @Override public void begin(Attributes attrs) throws Exception { optional = attrs.getValue(ATTR_OPTIONAL) != null && PropertyConverter.toBoolean( attrs.getValue(ATTR_OPTIONAL)).booleanValue(); super.begin(attrs); }