286N/A * reserved comment block 286N/A * DO NOT REMOVE OR ALTER! 286N/A * Copyright 2001, 2002,2004,2005 The Apache Software Foundation. 286N/A * Licensed under the Apache License, Version 2.0 (the "License"); 286N/A * you may not use this file except in compliance with the License. 286N/A * You may obtain a copy of the License at 286N/A * Unless required by applicable law or agreed to in writing, software 286N/A * distributed under the License is distributed on an "AS IS" BASIS, 286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 286N/A * See the License for the specific language governing permissions and 286N/A * limitations under the License. 286N/A * Schema identity constraint selector. 286N/A * @author Andy Clark, IBM 286N/A /** Identity constraint. */ 286N/A // the Identity constraint we're the matcher for. Only 286N/A /** Constructs a selector. */ 286N/A }
// <init>(Selector.XPath,IdentityConstraint) 286N/A /** Returns the selector XPath. */ 286N/A }
// getXPath():com.sun.org.apache.xerces.internal.v1.schema.identity.XPath 286N/A /** Returns the identity constraint. */ 286N/A }
// getIDConstraint():IdentityConstraint 286N/A /** Creates a selector matcher. 286N/A * @param activator The activator for this selector's fields. 286N/A * @param initialDepth The depth in the document at which this matcher began its life; 286N/A * used in correctly handling recursive elements. 286N/A }
// createMatcher(FieldActivator):XPathMatcher 286N/A /** Returns a string representation of this object. */ 286N/A * Schema identity constraint selector XPath expression. 286N/A * @author Andy Clark, IBM 286N/A /** Constructs a selector XPath expression. */ 286N/A // verify that an attribute is not selected 286N/A }
// <init>(String,SymbolTable,NamespacesScope) 286N/A // NOTE: We have to prefix the selector XPath with "./" in 286N/A // order to handle selectors such as "." that select 286N/A // the element container because the fields could be 286N/A // relative to that element. -Ac 286N/A // Unless xpath starts with a descendant node -Achille Fokoue 286N/A // ... or a '.' or a '/' - NG 286N/A // And we also need to prefix exprs to the right of | with ./ - NG 286N/A }
// class Selector.XPath 286N/A * @author Andy Clark, IBM 286N/A /** Field activator. */ 286N/A /** Initial depth in the document at which this matcher was created. */ 286N/A /** Constructs a selector matcher. */ 286N/A }
// <init>(Selector.XPath,FieldActivator) 286N/A // XMLDocumentFragmentHandler methods 286N/A }
// startDocumentFragment() 286N/A * The start of an element. If the document specifies the start element 286N/A * by using an empty tag, then the startElement method will immediately 286N/A * be followed by the endElement method, with no intervening methods. 286N/A * @param element The name of the element. 286N/A * @param attributes The element attributes. 286N/A // activate the fields, if selector is matched 286N/A //int matched = isMatched(); 286N/A/* (fMatchedDepth == -1 && ((matched & MATCHED) == MATCHED)) || 286N/A ((matched & MATCHED_DESCENDANT) == MATCHED_DESCENDANT)) { */ 286N/A }
// startElement(QName,XMLAttrList,int) 286N/A /** Returns the identity constraint. */ 286N/A }
// getIdentityConstraint():IdentityConstraint 286N/A /** get the initial depth at which this selector matched. */ 286N/A }
// getInitialDepth(): int