< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/PropertyManager.java

Print this page




  24  */
  25 
  26 package com.sun.org.apache.xerces.internal.impl;
  27 
  28 import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager;
  29 import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager;
  30 import com.sun.xml.internal.stream.StaxEntityResolverWrapper;
  31 import java.util.HashMap;
  32 import javax.xml.XMLConstants;
  33 import javax.xml.catalog.CatalogFeatures;
  34 import javax.xml.stream.XMLInputFactory;
  35 import javax.xml.stream.XMLOutputFactory;
  36 import javax.xml.stream.XMLResolver;
  37 import jdk.xml.internal.JdkXmlUtils;
  38 
  39 /**
  40  *  This class manages different properties related to Stax specification and its implementation.
  41  * This class constructor also takes itself (PropertyManager object) as parameter and initializes the
  42  * object with the property taken from the object passed.
  43  *
  44  * @author  Neeraj Bajaj, neeraj.bajaj@sun.com
  45  * @author K.Venugopal@sun.com
  46  * @author Sunitha Reddy, sunitha.reddy@sun.com
  47  */
  48 
  49 public class PropertyManager {
  50 
  51 
  52     public static final String STAX_NOTATIONS = "javax.xml.stream.notations";
  53     public static final String STAX_ENTITIES = "javax.xml.stream.entities";
  54 
  55     private static final String STRING_INTERNING = "http://xml.org/sax/features/string-interning";
  56 
  57     /** Property identifier: Security manager. */
  58     private static final String SECURITY_MANAGER = Constants.SECURITY_MANAGER;
  59 
  60     /** Property identifier: Security property manager. */
  61     private static final String XML_SECURITY_PROPERTY_MANAGER =
  62             Constants.XML_SECURITY_PROPERTY_MANAGER;
  63 
  64     HashMap<String, Object> supportedProps = new HashMap<>();
  65 
  66     private XMLSecurityManager fSecurityManager;




  24  */
  25 
  26 package com.sun.org.apache.xerces.internal.impl;
  27 
  28 import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager;
  29 import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager;
  30 import com.sun.xml.internal.stream.StaxEntityResolverWrapper;
  31 import java.util.HashMap;
  32 import javax.xml.XMLConstants;
  33 import javax.xml.catalog.CatalogFeatures;
  34 import javax.xml.stream.XMLInputFactory;
  35 import javax.xml.stream.XMLOutputFactory;
  36 import javax.xml.stream.XMLResolver;
  37 import jdk.xml.internal.JdkXmlUtils;
  38 
  39 /**
  40  * This class manages different properties related to Stax specification and its implementation.
  41  * This class constructor also takes itself (PropertyManager object) as parameter and initializes the
  42  * object with the property taken from the object passed.
  43  *
  44  * @author Neeraj Bajaj
  45  * @author K Venugopal
  46  * @author Sunitha Reddy
  47  */
  48 
  49 public class PropertyManager {
  50 
  51 
  52     public static final String STAX_NOTATIONS = "javax.xml.stream.notations";
  53     public static final String STAX_ENTITIES = "javax.xml.stream.entities";
  54 
  55     private static final String STRING_INTERNING = "http://xml.org/sax/features/string-interning";
  56 
  57     /** Property identifier: Security manager. */
  58     private static final String SECURITY_MANAGER = Constants.SECURITY_MANAGER;
  59 
  60     /** Property identifier: Security property manager. */
  61     private static final String XML_SECURITY_PROPERTY_MANAGER =
  62             Constants.XML_SECURITY_PROPERTY_MANAGER;
  63 
  64     HashMap<String, Object> supportedProps = new HashMap<>();
  65 
  66     private XMLSecurityManager fSecurityManager;


< prev index next >