public void ifHasProperty ( String template , Properties attributes ) throws XDocletException { String value = getPropertyValue ( attributes . getProperty ( ATTRIBUTE_LEVEL ) , attributes . getProperty ( ATTRIBUTE_NAME ) ) ; if ( value != null ) { generate ( template ) ; } }
Determines whether the current object on the specified level has a specific property and if so processes the template