Code example for Attributes

Methods: getValue

   * @param attrs the attributes. 
   * @throws org.xml.sax.SAXException if there is a parsing error. 
  protected void startParsing(final Attributes attrs) throws SAXException
    final String name = attrs.getValue(getUri(), "name");// NON-NLS
    parameter = new Parameter(name);
    parameter.setMandatory("true".equals(attrs.getValue(getUri(), "is-mandatory")));// NON-NLS
    parameter.setStrict("true".equals(attrs.getValue(getUri(), "is-strict")));// NON-NLS
    parameter.setMultiSelect("true".equals(attrs.getValue(getUri(), "is-multi-select")));// NON-NLS
    parameter.setType(attrs.getValue(getUri(), "type"));// NON-NLS
    parameter.setTimezoneHint(attrs.getValue(getUri(), "timezone-hint"));// NON-NLS
   * Returns the handler for a child element. 
   * @param uri     the URI of the namespace of the current element. 
   * @param tagName the tag name. 
   * @param atts    the attributes. 
   * @return the handler or null, if the tagname is invalid.