Package com.volantis.xml.namespace

Examples of com.volantis.xml.namespace.ExpandedName


    // Javadoc inherited
    public XDIMEResult callOpenOnProtocol(XDIMEContextInternal context,
            XDIMEAttributes attributes) throws XDIMEException {

        // get the value of the rel and href attributes for the link
        ExpandedName linkType = getAsExpandedName(attributes
                .getValue("", "rel"), context);
        String linkValue = attributes.getValue("", "href");

        if (logger.isDebugEnabled()) {
            logger.debug("Processing; rel=" + linkType + " href=" + linkValue);
View Full Code Here


     * @param context
     * @return
     */
    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);
        }
View Full Code Here

            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.
        // Since it must be a fragment id all we need to do is remove the #.
View Full Code Here

    protected XDIMEResult callOpenOnProtocol(
        XDIMEContextInternal context, XDIMEAttributes attributes)
        throws XDIMEException {

        //get the value of the rel and href attributes for the link
        ExpandedName linkType =
            getAsExpandedName(attributes.getValue("", "rel"), context);
        String linkValue = attributes.getValue("", "href");

        if (logger.isDebugEnabled()) {
            logger.debug("Processing; rel=" + linkType +
View Full Code Here

     * @param context
     * @return
     */
    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);
        }       
View Full Code Here

TOP

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

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.