/* * 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); }
/** * 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); }
/* * Create the root-level Namespace context. */ internal Context(NamespaceSupport ns) { copyTables(); this.outer = ns; }
/** * Create the root-level Namespace context. */ internal Context(NamespaceSupport ns) { copyTables(); this.outer = ns; }