Esempio n. 1
0
 /*
  * Internal setup method.
  *
  * @param parser The embedded parser.
  * @exception java.lang.NullPointerException If the parser parameter
  *            is null.
  */
 private void setup(Parser parser)
 {
     if (parser == null)
     {
         throw new
               java.lang.NullPointerException("Parser argument must not be null");
     }
     this.parser = parser;
     atts        = new AttributesImpl();
     nsSupport   = new NamespaceSupport();
     attAdapter  = new AttributeListAdapter(this);
 }
Esempio n. 2
0
 /**
  * Internal setup method.
  *
  * @param parser The embedded parser.
  * @exception java.lang.NullPointerException If the parser parameter
  *            is null.
  */
 private void setup(Parser parser)
 {
     if (parser == null)
     {
         throw new
         java.lang.NullPointerException("Parser argument must not be null");
     }
     this.parser = parser;
     atts = new AttributesImpl();
     nsSupport = new NamespaceSupport();
     attAdapter = new AttributeListAdapter(this);
 }