src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/dom3/DOM3TreeWalker.java
changeset 47359 e1a6c0168741
parent 47216 71c04702a3d5
child 48409 5ab69533994b
equal deleted inserted replaced
47358:d07d5f7cab35 47359:e1a6c0168741
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
       
     3  * @LastModified: Oct 2017
     3  */
     4  */
     4 /*
     5 /*
     5  * Licensed to the Apache Software Foundation (ASF) under one or more
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     6  * contributor license agreements.  See the NOTICE file distributed with
     7  * contributor license agreements.  See the NOTICE file distributed with
     7  * this work for additional information regarding copyright ownership.
     8  * this work for additional information regarding copyright ownership.
  2008      *
  2009      *
  2009      * @param properties DOMConfiguraiton properties that were set and which are
  2010      * @param properties DOMConfiguraiton properties that were set and which are
  2010      * to be used while serializing the DOM.
  2011      * to be used while serializing the DOM.
  2011      */
  2012      */
  2012     protected void initProperties(Properties properties) {
  2013     protected void initProperties(Properties properties) {
  2013 
  2014         for(String key : properties.stringPropertyNames()) {
  2014         for (Enumeration keys = properties.keys(); keys.hasMoreElements();) {
       
  2015 
       
  2016             final String key = (String) keys.nextElement();
       
  2017 
  2015 
  2018             // caonical-form
  2016             // caonical-form
  2019             // Other features will be enabled or disabled when this is set to true or false.
  2017             // Other features will be enabled or disabled when this is set to true or false.
  2020 
  2018 
  2021             // error-handler; set via the constructor
  2019             // error-handler; set via the constructor