Java Code Examples for com.sun.org.apache.xerces.internal.xni.parser.XMLComponent#reset()

The following examples show how to use com.sun.org.apache.xerces.internal.xni.parser.XMLComponent#reset() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DOMConfigurationImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all components before parsing
 */
protected void reset() throws XNIException {

    if (fValidationManager != null)
        fValidationManager.reset();

    int count = fComponents.size();
    for (int i = 0; i < count; i++) {
        XMLComponent c = (XMLComponent) fComponents.get(i);
        c.reset(this);
    }

}
 
Example 2
Source File: XML11DTDConfiguration.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all components before parsing and namespace context
 */
protected void resetXML11() throws XNIException {
        // reset every component
        int count = fXML11Components.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = (XMLComponent) fXML11Components.get(i);
                c.reset(this);
        }

}
 
Example 3
Source File: XML11NonValidatingConfiguration.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all XML 1.0 components before parsing and namespace context
 */
protected void reset() throws XNIException {
        int count = fComponents.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = (XMLComponent) fComponents.get(i);
                c.reset(this);
        }

}
 
Example 4
Source File: XML11DTDConfiguration.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all components before parsing and namespace context
 */
protected void resetXML11() throws XNIException {
        // reset every component
        int count = fXML11Components.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = (XMLComponent) fXML11Components.get(i);
                c.reset(this);
        }

}
 
Example 5
Source File: XML11NonValidatingConfiguration.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all components before parsing and namespace context
 */
protected void resetXML11() throws XNIException {
        // reset every component
        int count = fXML11Components.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = (XMLComponent) fXML11Components.get(i);
                c.reset(this);
        }

}
 
Example 6
Source File: XML11Configuration.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all common components before parsing
 */
protected void resetCommon() throws XNIException {
        // reset common components
        int count = fCommonComponents.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = fCommonComponents.get(i);
                c.reset(this);
        }

}
 
Example 7
Source File: XML11Configuration.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all components before parsing and namespace context
 */
protected void resetXML11() throws XNIException {
        // reset every component
        int count = fXML11Components.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = fXML11Components.get(i);
                c.reset(this);
        }

}
 
Example 8
Source File: XML11NonValidatingConfiguration.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all common components before parsing
 */
protected void resetCommon() throws XNIException {
        // reset common components
        int count = fCommonComponents.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = (XMLComponent) fCommonComponents.get(i);
                c.reset(this);
        }

}
 
Example 9
Source File: XML11Configuration.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all components before parsing and namespace context
 */
protected void resetXML11() throws XNIException {
        // reset every component
        int count = fXML11Components.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = fXML11Components.get(i);
                c.reset(this);
        }

}
 
Example 10
Source File: XML11Configuration.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all components before parsing and namespace context
 */
protected void resetXML11() throws XNIException {
        // reset every component
        int count = fXML11Components.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = (XMLComponent) fXML11Components.get(i);
                c.reset(this);
        }

}
 
Example 11
Source File: XML11Configuration.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * reset all components before parsing and namespace context
 */
protected void resetXML11() throws XNIException {
        // reset every component
        int count = fXML11Components.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = fXML11Components.get(i);
                c.reset(this);
        }

}
 
Example 12
Source File: XML11Configuration.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * reset all XML 1.0 components before parsing and namespace context
 */
protected void reset() throws XNIException {
        int count = fComponents.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = fComponents.get(i);
                c.reset(this);
        }

}
 
Example 13
Source File: XML11Configuration.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * reset all XML 1.0 components before parsing and namespace context
 */
protected void reset() throws XNIException {
        int count = fComponents.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = fComponents.get(i);
                c.reset(this);
        }

}
 
Example 14
Source File: XML11NonValidatingConfiguration.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all common components before parsing
 */
protected void resetCommon() throws XNIException {
        // reset common components
        int count = fCommonComponents.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = (XMLComponent) fCommonComponents.get(i);
                c.reset(this);
        }

}
 
Example 15
Source File: XML11NonValidatingConfiguration.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * reset all components before parsing and namespace context
 */
protected void resetXML11() throws XNIException {
    // reset every component
    for (XMLComponent c : fXML11Components) {
        c.reset(this);
    }
}
 
Example 16
Source File: XML11DTDConfiguration.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * reset all XML 1.0 components before parsing and namespace context
 */
protected void reset() throws XNIException {
        int count = fComponents.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = (XMLComponent) fComponents.get(i);
                c.reset(this);
        }

}
 
Example 17
Source File: XML11NonValidatingConfiguration.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all components before parsing and namespace context
 */
protected void resetXML11() throws XNIException {
        // reset every component
        int count = fXML11Components.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = (XMLComponent) fXML11Components.get(i);
                c.reset(this);
        }

}
 
Example 18
Source File: XML11DTDConfiguration.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all XML 1.0 components before parsing and namespace context
 */
protected void reset() throws XNIException {
        int count = fComponents.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = (XMLComponent) fComponents.get(i);
                c.reset(this);
        }

}
 
Example 19
Source File: XML11Configuration.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * reset all common components before parsing
 */
protected void resetCommon() throws XNIException {
        // reset common components
        int count = fCommonComponents.size();
        for (int i = 0; i < count; i++) {
                XMLComponent c = fCommonComponents.get(i);
                c.reset(this);
        }

}
 
Example 20
Source File: XML11DTDConfiguration.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
/**
 * reset all XML 1.0 components before parsing and namespace context
 */
protected void reset() throws XNIException {
    for (XMLComponent c : fComponents) {
        c.reset(this);
    }
}