Searched refs:featureId (Results 1 - 25 of 44) sorted by relevance

12

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DParserConfigurationSettings.java119 String featureId = featureIds[i];
120 if (!fRecognizedFeatures.contains(featureId)) {
121 fRecognizedFeatures.add(featureId);
134 * @param featureId The unique identifier (URI) of the feature.
140 public void setFeature(String featureId, boolean state) argument
144 FeatureState checkState = checkFeature(featureId);
146 throw new XMLConfigurationException(checkState.status, featureId);
149 fFeatures.put(featureId, state);
190 * @param featureId The feature identifier.
199 public final boolean getFeature(String featureId) argument
209 getFeature(String featureId, boolean defaultValue) argument
217 getFeatureState(String featureId) argument
288 checkFeature(String featureId) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xni/parser/
H A DXMLComponentManager.java50 * @param featureId The feature identifier.
54 public boolean getFeature(String featureId) argument
61 * @param featureId The feature identifier.
64 public boolean getFeature(String featureId, boolean defaultValue); argument
86 public FeatureState getFeatureState(String featureId); argument
H A DXMLComponent.java66 * @param featureId The feature identifier.
75 public void setFeature(String featureId, boolean state) argument
109 * @param featureId The feature identifier.
113 public Boolean getFeatureDefault(String featureId); argument
H A DXMLParserConfiguration.java133 * @param featureId The feature identifier.
139 public void setFeature(String featureId, boolean state) argument
145 * @param featureId The feature identifier.
150 public boolean getFeature(String featureId) argument
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/
H A DAbstractXMLSchema.java82 public final Boolean getFeature(String featureId) { argument
83 return (Boolean) fFeatures.get(featureId);
89 public final void setFeature(String featureId, boolean state) { argument
90 fFeatures.put(featureId, state ? Boolean.TRUE : Boolean.FALSE);
H A DXSGrammarPoolContainer.java56 public Boolean getFeature(String featureId); argument
61 public void setFeature(String featureId, boolean state); argument
H A DXMLSchemaValidatorComponentManager.java260 * @param featureId The feature identifier.
269 public FeatureState getFeatureState(String featureId) argument
271 if (PARSER_SETTINGS.equals(featureId)) {
274 else if (VALIDATION.equals(featureId) || SCHEMA_VALIDATION.equals(featureId)) {
277 else if (USE_GRAMMAR_POOL_ONLY.equals(featureId)) {
280 else if (XMLConstants.FEATURE_SECURE_PROCESSING.equals(featureId)) {
283 else if (SCHEMA_ELEMENT_DEFAULT.equals(featureId)) {
286 return super.getFeatureState(featureId);
292 * @param featureId Th
297 setFeature(String featureId, boolean value) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/
H A DSchemaValidatorConfiguration.java112 * @param featureId The feature identifier.
121 public boolean getFeature(String featureId) argument
123 FeatureState state = getFeatureState(featureId);
125 throw new XMLConfigurationException(state.status, featureId);
130 public FeatureState getFeatureState(String featureId) { argument
131 if (PARSER_SETTINGS.equals(featureId)) {
132 return fParentComponentManager.getFeatureState(featureId);
134 else if (VALIDATION.equals(featureId) || SCHEMA_VALIDATION.equals(featureId)) {
137 else if (USE_GRAMMAR_POOL_ONLY.equals(featureId)) {
174 getFeature(String featureId, boolean defaultValue) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/
H A DXMLDTDLoader.java249 * @param featureId The feature identifier.
257 public void setFeature(String featureId, boolean state) argument
259 if (featureId.equals(VALIDATION)) {
262 else if (featureId.equals(WARN_ON_DUPLICATE_ATTDEF)) {
265 else if (featureId.equals(WARN_ON_UNDECLARED_ELEMDEF)) {
268 else if (featureId.equals(NOTIFY_CHAR_REFS)) {
269 fDTDScanner.setFeature(featureId, state);
271 else if (featureId.equals(STANDARD_URI_CONFORMANT_FEATURE)) {
274 else if (featureId.equals(BALANCE_SYNTAX_TREES)) {
278 throw new XMLConfigurationException(Status.NOT_RECOGNIZED, featureId);
382 getFeature(String featureId) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/
H A DXMLErrorReporter.java497 * @param featureId The feature identifier.
505 public void setFeature(String featureId, boolean state) argument
512 if (featureId.startsWith(Constants.XERCES_FEATURE_PREFIX)) {
513 final int suffixLength = featureId.length() - Constants.XERCES_FEATURE_PREFIX.length();
521 featureId.endsWith(Constants.CONTINUE_AFTER_FATAL_ERROR_FEATURE)) {
529 public boolean getFeature(String featureId) argument
536 if (featureId.startsWith(Constants.XERCES_FEATURE_PREFIX)) {
537 final int suffixLength = featureId.length() - Constants.XERCES_FEATURE_PREFIX.length();
545 featureId.endsWith(Constants.CONTINUE_AFTER_FATAL_ERROR_FEATURE)) {
600 * @param featureId Th
604 getFeatureDefault(String featureId) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/opti/
H A DSchemaParsingConfig.java397 * @param featureId The feature identifier.
406 public FeatureState getFeatureState(String featureId) argument
409 if (featureId.equals(PARSER_SETTINGS)) {
412 return super.getFeatureState(featureId);
423 * @param featureId The unique identifier (URI) of the feature.
429 public void setFeature(String featureId, boolean state) argument
435 fNamespaceScanner.setFeature(featureId, state);
436 fDTDScanner.setFeature(featureId, state);
441 fXML11DTDScanner.setFeature(featureId, state);
446 fXML11NSDocScanner.setFeature(featureId, stat
817 checkFeature(String featureId) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/parsers/
H A DNonValidatingConfiguration.java375 public void setFeature(String featureId, boolean state) argument
378 super.setFeature(featureId, state);
411 public FeatureState getFeatureState(String featureId) argument
414 if (featureId.equals(PARSER_SETTINGS)){
417 return super.getFeatureState(featureId);
643 * @param featureId The unique identifier (URI) of the feature.
651 protected FeatureState checkFeature(String featureId) argument
658 if (featureId.startsWith(Constants.XERCES_FEATURE_PREFIX)) {
659 final int suffixLength = featureId.length() - Constants.XERCES_FEATURE_PREFIX.length();
668 featureId
[all...]
H A DBasicParserConfiguration.java270 String featureId = recognizedFeatures[i];
271 Boolean state = component.getFeatureDefault(featureId);
273 super.setFeature(featureId, state.booleanValue());
435 * @param featureId The unique identifier (URI) of the feature.
441 public void setFeature(String featureId, boolean state) argument
448 c.setFeature(featureId, state);
451 super.setFeature(featureId, state);
556 * @param featureId The unique identifier (URI) of the feature.
564 protected FeatureState checkFeature(String featureId) argument
570 if (featureId
[all...]
H A DStandardParserConfiguration.java282 * @param featureId The unique identifier (URI) of the feature.
290 protected FeatureState checkFeature(String featureId) argument
297 if (featureId.startsWith(Constants.XERCES_FEATURE_PREFIX)) {
298 final int suffixLength = featureId.length() - Constants.XERCES_FEATURE_PREFIX.length();
305 featureId.endsWith(Constants.SCHEMA_VALIDATION_FEATURE)) {
310 featureId.endsWith(Constants.SCHEMA_FULL_CHECKING)) {
316 featureId.endsWith(Constants.SCHEMA_NORMALIZED_VALUE)) {
322 featureId.endsWith(Constants.SCHEMA_ELEMENT_DEFAULT)) {
331 return super.checkFeature(featureId);
H A DXMLParser.java88 public boolean getFeature(String featureId) argument
90 return fConfiguration.getFeature(featureId);
H A DAbstractSAXParser.java1501 * @param featureId The unique identifier (URI) of the feature.
1510 public void setFeature(String featureId, boolean state) argument
1518 if (featureId.startsWith(Constants.SAX_FEATURE_PREFIX)) {
1519 final int suffixLength = featureId.length() - Constants.SAX_FEATURE_PREFIX.length();
1523 featureId.endsWith(Constants.NAMESPACES_FEATURE)) {
1524 fConfiguration.setFeature(featureId, state);
1536 featureId.endsWith(Constants.NAMESPACE_PREFIXES_FEATURE)) {
1537 fConfiguration.setFeature(featureId, state);
1547 featureId.endsWith(Constants.STRING_INTERNING_FEATURE)) {
1551 "false-not-supported", new Object [] {featureId}));
1698 getFeature(String featureId) argument
[all...]
H A DXIncludeAwareParserConfiguration.java275 public FeatureState getFeatureState(String featureId) argument
277 if (featureId.equals(PARSER_SETTINGS)) {
280 else if (featureId.equals(XINCLUDE_FEATURE)) {
283 return super.getFeatureState0(featureId);
287 public void setFeature(String featureId, boolean state) argument
289 if (featureId.equals(XINCLUDE_FEATURE)) {
294 super.setFeature(featureId,state);
H A DXML11DTDConfiguration.java766 * @param featureId The feature identifier.
775 public FeatureState getFeatureState(String featureId) argument
778 if (featureId.equals(PARSER_SETTINGS)){
781 return super.getFeatureState(featureId);
792 * @param featureId The unique identifier (URI) of the feature.
798 public void setFeature(String featureId, boolean state) argument
805 c.setFeature(featureId, state);
811 c.setFeature(featureId, state);
819 c.setFeature(featureId, state);
826 super.setFeature(featureId, stat
1069 checkFeature(String featureId) argument
[all...]
H A DXML11NonValidatingConfiguration.java692 * @param featureId The feature identifier.
701 public FeatureState getFeatureState(String featureId) argument
704 if (featureId.equals(PARSER_SETTINGS)){
707 return super.getFeatureState(featureId);
718 * @param featureId The unique identifier (URI) of the feature.
724 public void setFeature(String featureId, boolean state) argument
731 c.setFeature(featureId, state);
737 c.setFeature(featureId, state);
745 c.setFeature(featureId, state);
752 super.setFeature(featureId, stat
959 checkFeature(String featureId) argument
[all...]
H A DXML11Configuration.java882 * @param featureId The feature identifier.
891 public FeatureState getFeatureState(String featureId) argument
894 if (featureId.equals(PARSER_SETTINGS)){
897 return super.getFeatureState(featureId);
908 * @param featureId The unique identifier (URI) of the feature.
914 public void setFeature(String featureId, boolean state) argument
921 c.setFeature(featureId, state);
927 c.setFeature(featureId, state);
935 c.setFeature(featureId, state);
942 super.setFeature(featureId, stat
1259 checkFeature(String featureId) argument
1574 getFeatureState0(String featureId) argument
[all...]
H A DXMLGrammarPreparser.java282 public void setFeature(String featureId, boolean value) { argument
287 gl.setFeature(featureId, value);
294 if(featureId.equals(CONTINUE_AFTER_FATAL_ERROR)) {
322 // @param featureId the feature string to query.
324 public boolean getFeature(String type, String featureId) { argument
326 return gl.getFeature(featureId);
H A DDTDConfiguration.java713 * @param featureId The unique identifier (URI) of the feature.
721 protected FeatureState checkFeature(String featureId) argument
728 if (featureId.startsWith(Constants.XERCES_FEATURE_PREFIX)) {
729 final int suffixLength = featureId.length() - Constants.XERCES_FEATURE_PREFIX.length();
738 featureId.endsWith(Constants.DYNAMIC_VALIDATION_FEATURE)) {
746 featureId.endsWith(Constants.DEFAULT_ATTRIBUTE_VALUES_FEATURE)) {
754 featureId.endsWith(Constants.VALIDATE_CONTENT_MODELS_FEATURE)) {
762 featureId.endsWith(Constants.LOAD_DTD_GRAMMAR_FEATURE)) {
769 featureId.endsWith(Constants.LOAD_EXTERNAL_DTD_FEATURE)) {
777 featureId
[all...]
H A DDOMParser.java414 * @param featureId The unique identifier (URI) of the feature.
423 public void setFeature(String featureId, boolean state) argument
432 if (featureId.equals(USE_ENTITY_RESOLVER2)) {
445 fConfiguration.setFeature(featureId, state);
469 * @param featureId The unique identifier (URI) of the feature
477 public boolean getFeature(String featureId) argument
486 if (featureId.equals(USE_ENTITY_RESOLVER2)) {
494 return fConfiguration.getFeature(featureId);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xni/grammars/
H A DXMLGrammarLoader.java54 * @param featureId The feature identifier.
58 public boolean getFeature(String featureId) argument
64 * @param featureId The feature identifier.
70 public void setFeature(String featureId, argument
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xinclude/
H A DXPointerElementHandler.java253 String featureId = (String)xercesFeatures.nextElement();
254 fSettings.addRecognizedFeatures(new String[] { featureId });
257 featureId,
258 componentManager.getFeature(featureId));
289 * @param featureId The feature identifier.
297 public void setFeature(String featureId, boolean state) argument
300 fSettings.setFeature(featureId, state);
348 * @param featureId The feature identifier.
352 public Boolean getFeatureDefault(String featureId) { argument
354 if (RECOGNIZED_FEATURES[i].equals(featureId)) {
[all...]

Completed in 98 milliseconds

12