void setProperty0(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException { super.setProperty(name, value); }
synchronized void restoreInitState() throws SAXNotRecognizedException, SAXNotSupportedException { Iterator iter; if (!fInitFeatures.isEmpty()) { iter = fInitFeatures.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); String name = (String) entry.getKey(); boolean value = ((Boolean) entry.getValue()).booleanValue(); super.setFeature(name, value); } fInitFeatures.clear(); } if (!fInitProperties.isEmpty()) { iter = fInitProperties.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); String name = (String) entry.getKey(); Object value = entry.getValue(); super.setProperty(name, value); } fInitProperties.clear(); } }
parser.setProperty("http://apache.org/xml/properties/schema/external-schemaLocation", schemaLocation.toString()); parser.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation", handler.getConfiguration().getSchemaFileURL());
parser.setProperty("http://apache.org/xml/properties/schema/external-schemaLocation", schemaLocation.toString()); parser.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation", handler.getConfiguration().getSchemaFileURL());
parser.setProperty( "http://apache.org/xml/properties/schema/external-schemaLocation", schemaLocation.toString() parser.setProperty( "http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation", handler.getConfiguration().getSchemaFileURL()
fInitProperties.put(JAXP_SCHEMA_LANGUAGE, super.getProperty(JAXP_SCHEMA_LANGUAGE)); super.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA); fInitProperties.put(JAXP_SCHEMA_SOURCE, super.getProperty(JAXP_SCHEMA_SOURCE)); super.setProperty(name, value); setSchemaValidatorProperty(name, value); super.setProperty(name, value);
"http://xml.org/sax/features/namespace-prefixes", true); saxParser.setProperty( "http://xml.org/sax/properties/lexical-handler", this);
arpf.getSAXParser().setProperty(str, obj); } catch (SAXNotSupportedException ns) { errorHandler.error(new JenaException(ns));