com.sun.org.apache.xerces.internal.impl.xs.identity.XPathMatcher Java Examples
The following examples show how to use
com.sun.org.apache.xerces.internal.impl.xs.identity.XPathMatcher.
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: XMLSchemaValidator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** Ensures the size of the matchers array. */ private void ensureMatcherCapacity() { if (fMatchersCount == fMatchers.length) { XPathMatcher[] array = new XPathMatcher[fMatchers.length * 2]; System.arraycopy(fMatchers, 0, array, 0, fMatchers.length); fMatchers = array; } }
Example #2
Source File: XMLSchemaValidator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private void activateSelectorFor(IdentityConstraint ic) { Selector selector = ic.getSelector(); FieldActivator activator = this; if (selector == null) return; XPathMatcher matcher = selector.createMatcher(activator, fElementDepth); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); }
Example #3
Source File: XMLSchemaValidator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** Ensures the size of the matchers array. */ private void ensureMatcherCapacity() { if (fMatchersCount == fMatchers.length) { XPathMatcher[] array = new XPathMatcher[fMatchers.length * 2]; System.arraycopy(fMatchers, 0, array, 0, fMatchers.length); fMatchers = array; } }
Example #4
Source File: XMLSchemaValidator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); setMayMatch(field, Boolean.TRUE); XPathMatcher matcher = field.createMatcher(this, valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }
Example #5
Source File: XMLSchemaValidator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private void activateSelectorFor(IdentityConstraint ic) { Selector selector = ic.getSelector(); FieldActivator activator = this; if (selector == null) return; XPathMatcher matcher = selector.createMatcher(activator, fElementDepth); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); }
Example #6
Source File: XMLSchemaValidator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** Ensures the size of the matchers array. */ private void ensureMatcherCapacity() { if (fMatchersCount == fMatchers.length) { XPathMatcher[] array = new XPathMatcher[fMatchers.length * 2]; System.arraycopy(fMatchers, 0, array, 0, fMatchers.length); fMatchers = array; } }
Example #7
Source File: XMLSchemaValidator.java From Bytecoder with Apache License 2.0 | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); XPathMatcher matcher = field.createMatcher(valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }
Example #8
Source File: XMLSchemaValidator.java From Bytecoder with Apache License 2.0 | 5 votes |
private void activateSelectorFor(IdentityConstraint ic) { Selector selector = ic.getSelector(); FieldActivator activator = this; if (selector == null) return; XPathMatcher matcher = selector.createMatcher(activator, fElementDepth); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); }
Example #9
Source File: XMLSchemaValidator.java From Bytecoder with Apache License 2.0 | 5 votes |
/** Ensures the size of the matchers array. */ private void ensureMatcherCapacity() { if (fMatchersCount == fMatchers.length) { XPathMatcher[] array = new XPathMatcher[fMatchers.length * 2]; System.arraycopy(fMatchers, 0, array, 0, fMatchers.length); fMatchers = array; } }
Example #10
Source File: XMLSchemaValidator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); XPathMatcher matcher = field.createMatcher(valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }
Example #11
Source File: XMLSchemaValidator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private void activateSelectorFor(IdentityConstraint ic) { Selector selector = ic.getSelector(); FieldActivator activator = this; if (selector == null) return; XPathMatcher matcher = selector.createMatcher(activator, fElementDepth); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); }
Example #12
Source File: XMLSchemaValidator.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
private void activateSelectorFor(IdentityConstraint ic) { Selector selector = ic.getSelector(); FieldActivator activator = this; if (selector == null) return; XPathMatcher matcher = selector.createMatcher(activator, fElementDepth); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); }
Example #13
Source File: XMLSchemaValidator.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); setMayMatch(field, Boolean.TRUE); XPathMatcher matcher = field.createMatcher(this, valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }
Example #14
Source File: XMLSchemaValidator.java From hottub with GNU General Public License v2.0 | 5 votes |
private void activateSelectorFor(IdentityConstraint ic) { Selector selector = ic.getSelector(); FieldActivator activator = this; if (selector == null) return; XPathMatcher matcher = selector.createMatcher(activator, fElementDepth); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); }
Example #15
Source File: XMLSchemaValidator.java From hottub with GNU General Public License v2.0 | 5 votes |
/** Ensures the size of the matchers array. */ private void ensureMatcherCapacity() { if (fMatchersCount == fMatchers.length) { XPathMatcher[] array = new XPathMatcher[fMatchers.length * 2]; System.arraycopy(fMatchers, 0, array, 0, fMatchers.length); fMatchers = array; } }
Example #16
Source File: XMLSchemaValidator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); setMayMatch(field, Boolean.TRUE); XPathMatcher matcher = field.createMatcher(this, valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }
Example #17
Source File: XMLSchemaValidator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private void activateSelectorFor(IdentityConstraint ic) { Selector selector = ic.getSelector(); FieldActivator activator = this; if (selector == null) return; XPathMatcher matcher = selector.createMatcher(activator, fElementDepth); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); }
Example #18
Source File: XMLSchemaValidator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** Ensures the size of the matchers array. */ private void ensureMatcherCapacity() { if (fMatchersCount == fMatchers.length) { XPathMatcher[] array = new XPathMatcher[fMatchers.length * 2]; System.arraycopy(fMatchers, 0, array, 0, fMatchers.length); fMatchers = array; } }
Example #19
Source File: XMLSchemaValidator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); setMayMatch(field, Boolean.TRUE); XPathMatcher matcher = field.createMatcher(this, valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }
Example #20
Source File: XMLSchemaValidator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private void activateSelectorFor(IdentityConstraint ic) { Selector selector = ic.getSelector(); FieldActivator activator = this; if (selector == null) return; XPathMatcher matcher = selector.createMatcher(activator, fElementDepth); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); }
Example #21
Source File: XMLSchemaValidator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** Ensures the size of the matchers array. */ private void ensureMatcherCapacity() { if (fMatchersCount == fMatchers.length) { XPathMatcher[] array = new XPathMatcher[fMatchers.length * 2]; System.arraycopy(fMatchers, 0, array, 0, fMatchers.length); fMatchers = array; } }
Example #22
Source File: XMLSchemaValidator.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); setMayMatch(field, Boolean.TRUE); XPathMatcher matcher = field.createMatcher(this, valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }
Example #23
Source File: XMLSchemaValidator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** Ensures the size of the matchers array. */ private void ensureMatcherCapacity() { if (fMatchersCount == fMatchers.length) { XPathMatcher[] array = new XPathMatcher[fMatchers.length * 2]; System.arraycopy(fMatchers, 0, array, 0, fMatchers.length); fMatchers = array; } }
Example #24
Source File: XMLSchemaValidator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); setMayMatch(field, Boolean.TRUE); XPathMatcher matcher = field.createMatcher(this, valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }
Example #25
Source File: XMLSchemaValidator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); setMayMatch(field, Boolean.TRUE); XPathMatcher matcher = field.createMatcher(this, valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }
Example #26
Source File: XMLSchemaValidator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private void activateSelectorFor(IdentityConstraint ic) { Selector selector = ic.getSelector(); FieldActivator activator = this; if (selector == null) return; XPathMatcher matcher = selector.createMatcher(activator, fElementDepth); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); }
Example #27
Source File: XMLSchemaValidator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private void activateSelectorFor(IdentityConstraint ic) { Selector selector = ic.getSelector(); FieldActivator activator = this; if (selector == null) return; XPathMatcher matcher = selector.createMatcher(activator, fElementDepth); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); }
Example #28
Source File: XMLSchemaValidator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); setMayMatch(field, Boolean.TRUE); XPathMatcher matcher = field.createMatcher(this, valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }
Example #29
Source File: XMLSchemaValidator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** Ensures the size of the matchers array. */ private void ensureMatcherCapacity() { if (fMatchersCount == fMatchers.length) { XPathMatcher[] array = new XPathMatcher[fMatchers.length * 2]; System.arraycopy(fMatchers, 0, array, 0, fMatchers.length); fMatchers = array; } }
Example #30
Source File: XMLSchemaValidator.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Request to activate the specified field. This method returns the * matcher for the field. * * @param field The field to activate. */ public XPathMatcher activateField(Field field, int initialDepth) { ValueStore valueStore = fValueStoreCache.getValueStoreFor(field.getIdentityConstraint(), initialDepth); setMayMatch(field, Boolean.TRUE); XPathMatcher matcher = field.createMatcher(this, valueStore); fMatcherStack.addMatcher(matcher); matcher.startDocumentFragment(); return matcher; }