Examples of identity()


Examples of xbird.xquery.misc.QNameTable.QualifiedName.identity()

    public void evAttribute(long attid, QualifiedName attName, String attValue)
            throws XQueryException {
        if(qnameTable != null) {
            final QualifiedName found = qnameTable.find(attName);
            if(found != null) {
                docTable.setAttributeName(attid, found.identity());
                attName = found;
            }
        }
        final TreeWalker walker = _walker;
        // #1 path index
View Full Code Here

Examples of xbird.xquery.misc.QNameTable.QualifiedName.identity()

    @Override
    public void evNamespace(long nsid, QualifiedName nsName, String uri) throws XQueryException {
        if(qnameTable != null) {
            QualifiedName found = qnameTable.find(nsName);
            if(found != null) {
                docTable.setAttributeName(nsid, found.identity());
                nsName = found;
            }
        }
        final TreeWalker walker = _walker;
        // #2 label index
View Full Code Here

Examples of xbird.xquery.misc.QNameTable.QualifiedName.identity()

    public int identifyQName(QualifiedName qname) {
        final QualifiedName found = qnameTable.find(qname);
        if(found == null) {
            return -1;
        }
        return found.identity();
    }

    public List<Pair<DbCollection, String>> listDocumentsInfo() {
        final File colDir = collection.getDirectory();
        final String colDirPath = colDir.getAbsolutePath();
View Full Code Here

Examples of xbird.xquery.misc.QNameTable.QualifiedName.identity()

    public final int getNameCode() {
        QualifiedName name = nodeName();
        if(name == null) {
            return -1;
        }
        return name.identity();
    }

    public String getNamespaceURI() {
        throw new IllegalStateException();
    }
View Full Code Here

Examples of xbird.xquery.misc.QNameTable.QualifiedName.identity()

        if(!_kindTest.acccept(kind)) {
            return false;
        }
        final QualifiedName nodeName = _nodeName;
        if(nodeName != null) {
            final int myNameCode = nodeName.identity();
            final int nameCode = node.getNameCode();
            if(myNameCode != -1 && nameCode != -1) {
                return QNameTable.nameEquals(myNameCode, nameCode);
            } else {
                final QualifiedName name = node.nodeName();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.