Examples of LocationMap


Examples of net.sf.saxon.instruct.LocationMap

        }
        Executable exec = getExecutable();
        if (exec == null) {
            return null;
        }
        LocationMap map = exec.getLocationMap();
        if (map == null) {
            return null;
        }
        return map.getSystemId(locationId);
    }
View Full Code Here

Examples of net.sf.saxon.instruct.LocationMap

        }
        //collations = new CollationMap(config);
        executable = new Executable(config);
        executable.setCollationTable(new CollationMap(config.getCollationMap()));
        executable.setHostLanguage(Configuration.XQUERY);
        executable.setLocationMap(new LocationMap());
        executable.setSchemaAware((Boolean)config.getConfigurationProperty(FeatureKeys.XQUERY_SCHEMA_AWARE));
        reset();
    }
View Full Code Here

Examples of net.sf.saxon.instruct.LocationMap

             }
             //collations = new CollationMap(config);
             executable = new Executable(config);
             executable.setCollationTable(new CollationMap(config.getCollationMap()));
             executable.setHostLanguage(Configuration.XQUERY);
             executable.setLocationMap(new LocationMap());
             reset();
         } else {
             copyFrom(config.getDefaultStaticQueryContext());
         }
     }
View Full Code Here

Examples of net.sf.saxon.instruct.LocationMap

        isUpdating = c.isUpdating;
        languageVersion = c.languageVersion;
        executable = new Executable(config);
        executable.setCollationTable(new CollationMap(c.executable.getCollationTable()));
        executable.setHostLanguage(Configuration.XQUERY);
        executable.setLocationMap(new LocationMap());
    }
View Full Code Here

Examples of net.sf.saxon.instruct.LocationMap

        } else {
            isTemporaryDestination = true;
        }
        ComplexContentOutputter out = new ComplexContentOutputter();
        out.setConfiguration(controller.getConfiguration());
        LocationMap locationMap = controller.getExecutable().getLocationMap();
        out.setDocumentLocator(locationMap);
        if (props == null) {
            props = new Properties();
        }
View Full Code Here

Examples of net.sf.saxon.instruct.LocationMap

        }
        Executable exec = getExecutable();
        if (exec == null) {
            return null;
        }
        LocationMap map = exec.getLocationMap();
        if (map == null) {
            return null;
        }
        return map.getSystemId(locationId);
    }
View Full Code Here

Examples of org.apache.cocoon.components.modules.input.lm.LocationMap

                    if (m_lm == null) {
                        if (getLogger().isDebugEnabled()) {
                            getLogger().debug("loading location map at " + m_src);
                        }
                        m_srcVal = source.getValidity();
                        m_lm = new LocationMap(m_manager);
                        m_lm.enableLogging(getLogger());
                        m_lm.build(loadConfiguration(source));
                    }
                }
            }
            else {
                SourceValidity valid = source.getValidity();
                if (m_srcVal != null && m_srcVal.isValid(valid) != 1) {
                    synchronized (this) {
                        if (m_srcVal != null && m_srcVal.isValid(valid) != 1) {
                            if (getLogger().isDebugEnabled()) {
                                getLogger().debug("reloading location map at " + m_src);
                            }
                            m_srcVal = valid;
                            m_lm.dispose();
                            m_lm = new LocationMap(m_manager);
                            m_lm.enableLogging(getLogger());
                            m_lm.build(loadConfiguration(source));
                        }
                    }
                }
View Full Code Here

Examples of org.apache.forrest.locationmap.lm.LocationMap

                    if (m_lm == null) {
                        if (getLogger().isDebugEnabled()) {
                            getLogger().debug("loading location map at " + m_src);
                        }
                        m_srcVal = source.getValidity();
                        m_lm = new LocationMap(m_manager);
                        m_lm.enableLogging(getLogger());
                        m_lm.build(loadConfiguration(source));
                    }
                }
            }
            else {
                SourceValidity valid = source.getValidity();
                if (m_srcVal != null && m_srcVal.isValid(valid) != 1) {
                    synchronized (this) {
                        if (m_srcVal != null && m_srcVal.isValid(valid) != 1) {
                            if (getLogger().isDebugEnabled()) {
                                getLogger().debug("reloading location map at " + m_src);
                            }
                            m_srcVal = valid;
                            m_lm.dispose();
                            m_lm = new LocationMap(m_manager);
                            m_lm.enableLogging(getLogger());
                            m_lm.build(loadConfiguration(source));
                        }
                    }
                }
View Full Code Here

Examples of org.apache.forrest.locationmap.lm.LocationMap

                    if (m_lm == null) {
                        if (getLogger().isDebugEnabled()) {
                            getLogger().debug("loading location map at " + m_src);
                        }
                        m_srcVal = source.getValidity();
                        m_lm = new LocationMap(m_manager);
                        m_lm.enableLogging(getLogger());
                        m_lm.build(loadConfiguration(source));
                    }
                }
            }
            else {
                SourceValidity valid = source.getValidity();
                if (m_srcVal != null && m_srcVal.isValid(valid) != 1) {
                    synchronized (this) {
                        if (m_srcVal != null && m_srcVal.isValid(valid) != 1) {
                            if (getLogger().isDebugEnabled()) {
                                getLogger().debug("reloading location map at " + m_src);
                            }
                            m_srcVal = valid;
                            m_lm.dispose();
                            m_lm = new LocationMap(m_manager);
                            m_lm.enableLogging(getLogger());
                            m_lm.build(loadConfiguration(source));
                        }
                    }
                }
View Full Code Here

Examples of org.apache.forrest.locationmap.lm.LocationMap

                    if (m_lm == null) {
                        if (getLogger().isDebugEnabled()) {
                            getLogger().debug("loading location map at " + m_src);
                        }
                        m_srcVal = source.getValidity();
                        m_lm = new LocationMap(m_manager);
                        m_lm.enableLogging(getLogger());
                        m_lm.build(loadConfiguration(source));
                    }
                }
            }
            else {
                SourceValidity valid = source.getValidity();
                if (m_srcVal != null && m_srcVal.isValid(valid) != 1) {
                    synchronized (this) {
                        if (m_srcVal != null && m_srcVal.isValid(valid) != 1) {
                            if (getLogger().isDebugEnabled()) {
                                getLogger().debug("reloading location map at " + m_src);
                            }
                            m_srcVal = valid;
                            m_lm.dispose();
                            m_lm = new LocationMap(m_manager);
                            m_lm.enableLogging(getLogger());
                            m_lm.build(loadConfiguration(source));
                        }
                    }
                }
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.