Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: javax/ide/extension/ElementStartContext.java


1   package javax.ide.extension;
2   import java.util.Collection;
3   
4   /**
5    * The context when visiting an xml start element.
6    */
7   public interface ElementStartContext extends ElementContext
8   {
9     /**
10     * Get the (local) names of all attributes available on the current
11     * element.
12     * 
13     * @return an unmodifiable collection of attribute names.
14     */
15    Collection getAttributeNames();
16    
17    /**
18     * Get the value of an attribute defined on the current element.
19     * 
20     * @param attributeName the name of an attribute defined on the current
21     *  element.
22     * @return the value of the specified attribute, or null if no such 
23     *  attribute is defined.
24     */
25    String getAttributeValue( String attributeName );
26  }