Package com.volantis.xml.namespace

Examples of com.volantis.xml.namespace.QName


                }

                // Resolve the value to an ExpandedName, update the value for
                // the current element and store it away just in case it is
                // needed for descendant elements.
                QName qname = new ImmutableQName(value);
                selidName = pipelineContext.getNamespacePrefixTracker()
                        .resolveQName(qname, null);
                state.setSelidName(selidName);
            }
        }
View Full Code Here


            // Resolve the variable name into an ExpandedName, if the variable
            // name does not have a prefix then it belongs in no namespace,
            // rather than the default namespace.
            String variableName = attributes.getValue("variable");
            QName variableQName = new ImmutableQName(variableName);
            final ExpandedName variableExpandedName =
                    context.getNamespacePrefixTracker()
                    .resolveQName(variableQName, null);

            // If the sequence only has a single value in then it is not
View Full Code Here

     */
    private ExpandedName getAsExpandedName(final String string,
            XDIMEContextInternal context) {
        ExpandedName expandedName = null;
        if (string != null && string.length() > 0) {
            QName qName = new ImmutableQName(string);
            expandedName = context.getExpressionContext()
                    .getNamespacePrefixTracker().resolveElementQName(qName);
        }
        return expandedName;
    }
View Full Code Here

        if (eventAttribute == null) {
            throw new IllegalArgumentException(
                    "Handler element must have event attribute");
        }

        QName qName = new ImmutableQName(eventAttribute);
        ExpandedName eventType = context.getExpressionContext().
                getNamespacePrefixTracker().resolveElementQName(qName);


        // Extract the id of the handler element from the handler attribute.
View Full Code Here

     */
    private ExpandedName getAsExpandedName(final String string,
                                           XDIMEContextInternal context) {
        ExpandedName expandedName = null;
        if (string != null && string.length() > 0) {
            QName qName = new ImmutableQName(string);
            expandedName = context.getExpressionContext().
                    getNamespacePrefixTracker().resolveElementQName(qName);
        }       
        return expandedName;
    }
View Full Code Here

TOP

Related Classes of com.volantis.xml.namespace.QName

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.