Package org.apache.xerces.impl.xs.identity

Examples of org.apache.xerces.impl.xs.identity.Selector


  } // endValueScopeFor(IdentityConstraint)

  // a utility method for Identity constraints
  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();
  }
View Full Code Here


    str1 = XMLChar.trim(str1);
    Selector.XPath localXPath = null;
    try
    {
      localXPath = new Selector.XPath(str1, this.fSymbolTable, paramXSDocumentInfo.fNamespaceSupport);
      Selector localSelector = new Selector(localXPath, paramIdentityConstraint);
      paramIdentityConstraint.setSelector(localSelector);
    }
    catch (XPathException localXPathException1)
    {
      reportSchemaError(localXPathException1.getKey(), new Object[] { str1 }, localElement1);
View Full Code Here

    return (Boolean)this.fMayMatchFieldMap.get(paramField);
  }

  private void activateSelectorFor(IdentityConstraint paramIdentityConstraint)
  {
    Selector localSelector = paramIdentityConstraint.getSelector();
    XMLSchemaValidator localXMLSchemaValidator = this;
    if (localSelector == null)
      return;
    XPathMatcher localXPathMatcher = localSelector.createMatcher(localXMLSchemaValidator, this.fElementDepth);
    this.fMatcherStack.addMatcher(localXPathMatcher);
    localXPathMatcher.startDocumentFragment();
  }
View Full Code Here

TOP

Related Classes of org.apache.xerces.impl.xs.identity.Selector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.