/** Resets the component. */ public void reset(XMLComponentManager manager) throws XMLConfigurationException { // get features fNamespaces = manager.getFeature(NAMESPACES); fAugmentations = manager.getFeature(AUGMENTATIONS); fReportErrors = manager.getFeature(REPORT_ERRORS); fDocumentFragment = manager.getFeature(DOCUMENT_FRAGMENT) || manager.getFeature(DOCUMENT_FRAGMENT_DEPRECATED); fIgnoreOutsideContent = manager.getFeature(IGNORE_OUTSIDE_CONTENT); // get properties fNamesElems = getNamesValue(String.valueOf(manager.getProperty(NAMES_ELEMS))); fNamesAttrs = getNamesValue(String.valueOf(manager.getProperty(NAMES_ATTRS))); fErrorReporter = (HTMLErrorReporter)manager.getProperty(ERROR_REPORTER); fragmentContextStack_ = (QName[]) manager.getProperty(FRAGMENT_CONTEXT_STACK); } // reset(XMLComponentManager)
public void reset(XMLComponentManager manager) throws XMLConfigurationException { // state fInCDATASection = false; // features fNamespaces = manager.getFeature(NAMESPACES); fAugmentations = manager.getFeature(AUGMENTATIONS); } // reset(XMLComponentManager)
public void XMLDocumentFilter_setDocumentSource(XMLDocumentFilter filter, XMLDocumentSource lastSource) { filter.setDocumentSource(lastSource); } }
/** * Delegates parsing to SchemaParsingConfig * * @param inputSource * @throws IOException */ public void parse(XMLInputSource inputSource) throws IOException { config.parse(inputSource); }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#setErrorHandler(org.apache.xerces.xni.parser.XMLErrorHandler) */ @Override public void setErrorHandler(XMLErrorHandler errorHandler) { config.setErrorHandler(errorHandler); }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#addRecognizedFeatures(java.lang.String[]) */ @Override public void addRecognizedFeatures(String[] featureIds) { config.addRecognizedFeatures(featureIds); }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#getFeature(java.lang.String) */ @Override public boolean getFeature(String featureId) throws XMLConfigurationException { return config.getFeature(featureId); }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#setLocale(java.util.Locale) */ @Override public void setLocale(Locale locale) throws XNIException { config.setLocale(locale); }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#setEntityResolver(org.apache.xerces.xni.parser.XMLEntityResolver) */ @Override public void setEntityResolver(XMLEntityResolver entityResolver) { config.setEntityResolver(entityResolver); }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#setDTDContentModelHandler(org.apache.xerces.xni.XMLDTDContentModelHandler) */ @Override public void setDTDContentModelHandler( XMLDTDContentModelHandler dtdContentModelHandler) { config.setDTDContentModelHandler(dtdContentModelHandler); }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#getLocale() */ @Override public Locale getLocale() { return config.getLocale(); } }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#getDTDContentModelHandler() */ @Override public XMLDTDContentModelHandler getDTDContentModelHandler() { return config.getDTDContentModelHandler(); }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#getEntityResolver() */ @Override public XMLEntityResolver getEntityResolver() { return config.getEntityResolver(); }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#getDocumentHandler() */ @Override public XMLDocumentHandler getDocumentHandler() { return config.getDocumentHandler(); }
private boolean parserSettingsUpdated(XMLComponentManager componentManager) { // If the component manager is the loader config don't bother querying it since it doesn't // recognize the PARSER_SETTINGS feature. Prevents an XMLConfigurationException from being // thrown. if (componentManager != fLoaderConfig) { try { return componentManager.getFeature(PARSER_SETTINGS); } catch (XMLConfigurationException e) {} } return true; }
/** * @see org.apache.xerces.xni.parser.XMLParserConfiguration#parse(org.apache.xerces.xni.parser.XMLInputSource) */ @Override public void parse(XMLInputSource inputSource) throws XNIException, IOException { config.parse(inputSource); }
/** * Set the locale to use for messages. * * @param locale The locale object to use for localization of messages. * */ public void setLocale (Locale locale) { fConfiguration.setLocale (locale); } // setLocale(Locale)
public void XMLDocumentFilter_setDocumentSource(XMLDocumentFilter filter, XMLDocumentSource lastSource) { filter.setDocumentSource(lastSource); } }
public void reset(XMLComponentManager manager) throws XMLConfigurationException { // state fInCDATASection = false; // features fNamespaces = manager.getFeature(NAMESPACES); fAugmentations = manager.getFeature(AUGMENTATIONS); } // reset(XMLComponentManager)
public void XMLDocumentFilter_setDocumentSource(XMLDocumentFilter filter, XMLDocumentSource lastSource) { filter.setDocumentSource(lastSource); } }