/** * Return the current value of the specified property for the underlying * <code>XMLReader</code> implementation. * See <a href="http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description"> * http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description</a> * for information about the standard SAX2 properties. * * @param property Property name to be retrieved * @return the property value * @exception SAXNotRecognizedException if the property name is * not recognized * @exception SAXNotSupportedException if the property name is * recognized but not supported */ public Object getProperty(String property) throws SAXNotRecognizedException, SAXNotSupportedException { return getParser().getProperty(property); }
/** * Set the current value of the specified property for the underlying * <code>XMLReader</code> implementation. * See <a href="http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description" * http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description</a> * for information about the standard SAX2 properties. * * @param property Property name to be set * @param value Property value to be set * * @exception SAXNotRecognizedException if the property name is * not recognized * @exception SAXNotSupportedException if the property name is * recognized but not supported */ public void setProperty(String property, Object value) throws SAXNotRecognizedException, SAXNotSupportedException { getParser().setProperty(property, value); }
/** * Return the current value of the specified property for the underlying * <code>XMLReader</code> implementation. * See <a href="http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description"> * http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description</a> * for information about the standard SAX2 properties. * * @param property Property name to be retrieved * @return the property value * @exception SAXNotRecognizedException if the property name is * not recognized * @exception SAXNotSupportedException if the property name is * recognized but not supported */ public Object getProperty(String property) throws SAXNotRecognizedException, SAXNotSupportedException { return getParser().getProperty(property); }
/** * Return the current value of the specified property for the underlying * <code>XMLReader</code> implementation. * See <a href="http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description" * http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description</a> * for information about the standard SAX2 properties. * * @param property Property name to be retrieved * * @exception SAXNotRecognizedException if the property name is * not recognized * @exception SAXNotSupportedException if the property name is * recognized but not supported */ public Object getProperty(String property) throws SAXNotRecognizedException, SAXNotSupportedException { return (getParser().getProperty(property)); }
/** * Return the current value of the specified property for the underlying * <code>XMLReader</code> implementation. * See <a href="http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description" * http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description</a> * for information about the standard SAX2 properties. * * @param property Property name to be retrieved * * @exception SAXNotRecognizedException if the property name is * not recognized * @exception SAXNotSupportedException if the property name is * recognized but not supported */ public Object getProperty(String property) throws SAXNotRecognizedException, SAXNotSupportedException { return (getParser().getProperty(property)); }
/** * Set the current value of the specified property for the underlying * <code>XMLReader</code> implementation. * See <a href="http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description" * http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description</a> * for information about the standard SAX2 properties. * * @param property Property name to be set * @param value Property value to be set * * @exception SAXNotRecognizedException if the property name is * not recognized * @exception SAXNotSupportedException if the property name is * recognized but not supported */ public void setProperty(String property, Object value) throws SAXNotRecognizedException, SAXNotSupportedException { getParser().setProperty(property, value); }
/** * Set the current value of the specified property for the underlying * <code>XMLReader</code> implementation. * See <a href="http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description" * http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description</a> * for information about the standard SAX2 properties. * * @param property Property name to be set * @param value Property value to be set * * @exception SAXNotRecognizedException if the property name is * not recognized * @exception SAXNotSupportedException if the property name is * recognized but not supported */ public void setProperty(String property, Object value) throws SAXNotRecognizedException, SAXNotSupportedException { getParser().setProperty(property, value); }
/** * Return the current value of the specified property for the underlying * <code>XMLReader</code> implementation. * See <a href="http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description" * http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description</a> * for information about the standard SAX2 properties. * * @param property Property name to be retrieved * * @exception SAXNotRecognizedException if the property name is * not recognized * @exception SAXNotSupportedException if the property name is * recognized but not supported */ public Object getProperty(String property) throws SAXNotRecognizedException, SAXNotSupportedException { return (getParser().getProperty(property)); }
/** * Return the current value of the specified property for the underlying * <code>XMLReader</code> implementation. * See <a href="http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description" * http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description</a> * for information about the standard SAX2 properties. * * @param property Property name to be retrieved * * @exception SAXNotRecognizedException if the property name is * not recognized * @exception SAXNotSupportedException if the property name is * recognized but not supported */ public Object getProperty(String property) throws SAXNotRecognizedException, SAXNotSupportedException { return (getParser().getProperty(property)); }
/** * Return the current value of the specified property for the underlying * <code>XMLReader</code> implementation. * See <a href="http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description" * http://www.saxproject.org/apidoc/xml/sax/package-summary.html#package-description</a> * for information about the standard SAX2 properties. * * @param property Property name to be retrieved * * @exception SAXNotRecognizedException if the property name is * not recognized * @exception SAXNotSupportedException if the property name is * recognized but not supported */ public Object getProperty(String property) throws SAXNotRecognizedException, SAXNotSupportedException { return (getParser().getProperty(property)); }
public WebXmlParser(boolean namespaceAware, boolean validation, boolean blockExternal) { webRuleSet = new WebRuleSet(false); webDigester = DigesterFactory.newDigester(validation, namespaceAware, webRuleSet, blockExternal); webDigester.getParser(); webFragmentRuleSet = new WebRuleSet(true); webFragmentDigester = DigesterFactory.newDigester(validation, namespaceAware, webFragmentRuleSet, blockExternal); webFragmentDigester.getParser(); }
public static Digester createWebXmlDigester(boolean namespaceAware, boolean validation) { DigesterFactory df = org.glassfish.internal.api.Globals.get( DigesterFactory.class); Digester digester = df.newDigester(xmlValidation, xmlNamespaceAware, webRuleSet); digester.getParser(); return digester; }
public WebXmlParser(boolean namespaceAware, boolean validation, boolean blockExternal) { webRuleSet = new WebRuleSet(false); webDigester = DigesterFactory.newDigester(validation, namespaceAware, webRuleSet, blockExternal); webDigester.getParser(); webFragmentRuleSet = new WebRuleSet(true); webFragmentDigester = DigesterFactory.newDigester(validation, namespaceAware, webFragmentRuleSet, blockExternal); webFragmentDigester.getParser(); }
public WebXmlParser(boolean namespaceAware, boolean validation, boolean blockExternal) { webRuleSet = new WebRuleSet(false); webDigester = DigesterFactory.newDigester(validation, namespaceAware, webRuleSet, blockExternal); webDigester.getParser(); webFragmentRuleSet = new WebRuleSet(true); webFragmentDigester = DigesterFactory.newDigester(validation, namespaceAware, webFragmentRuleSet, blockExternal); webFragmentDigester.getParser(); }
/** * Create and return a Digester configured to process the * web application deployment descriptor (web.xml). */ public void createWebXmlDigester(boolean namespaceAware, boolean validation) { webRuleSet = new WebRuleSet(false); webDigester = DigesterFactory.newDigester(validation, namespaceAware, webRuleSet); webDigester.getParser(); webFragmentRuleSet = new WebRuleSet(true); webFragmentDigester = DigesterFactory.newDigester(validation, namespaceAware, webFragmentRuleSet); webFragmentDigester.getParser(); }
/** * Create and return a Digester configured to process the * web application deployment descriptor (web.xml). */ public void createWebXmlDigester(boolean namespaceAware, boolean validation) { webRuleSet = new WebRuleSet(false); webDigester = DigesterFactory.newDigester(validation, namespaceAware, webRuleSet); webDigester.getParser(); webFragmentRuleSet = new WebRuleSet(true); webFragmentDigester = DigesterFactory.newDigester(validation, namespaceAware, webFragmentRuleSet); webFragmentDigester.getParser(); }
/** * Process a "init" event for this Context. */ protected synchronized void init() { // Called from StandardContext.init() Digester contextDigester = createContextDigester(); contextDigester.getParser(); if (log.isDebugEnabled()) { log.debug(sm.getString("contextConfig.init")); } context.setConfigured(false); ok = true; contextConfig(contextDigester); }
/** * Process a "init" event for this Context. */ protected synchronized void init() { // Called from StandardContext.init() Digester contextDigester = createContextDigester(); contextDigester.getParser(); if (log.isDebugEnabled()) { log.debug(sm.getString("contextConfig.init")); } context.setConfigured(false); ok = true; contextConfig(contextDigester); }
/** * Create and return a Digester configured to process the * context configuration descriptor for an application. */ protected static Digester createContextDigester() { Digester digester = new Digester(); digester.setValidating(false); RuleSet contextRuleSet = new ContextRuleSet("", false); digester.addRuleSet(contextRuleSet); RuleSet namingRuleSet = new NamingRuleSet("Context/"); digester.addRuleSet(namingRuleSet); digester.getParser(); return digester; } // END GlassFish 2439
/** * Process a "init" event for this Context. */ protected void init() { // Called from StandardContext.init() Digester contextDigester = createContextDigester(); contextDigester.getParser(); if (log.isDebugEnabled()) { log.debug(sm.getString("contextConfig.init")); } context.setConfigured(false); ok = true; contextConfig(contextDigester); webXmlParser = new WebXmlParser(context.getXmlNamespaceAware(), context.getXmlValidation(), context.getXmlBlockExternal()); }