/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: LocationPathPattern.java,v 1.2.4.1 2005/09/12 10:42:42 pvedula Exp $
*/
/**
* @author Jacek Ambroziak
* @author Santiago Pericas-Geertsen
* @author Morten Jorgensen
*/
private int _importPrecedence;
}
// TODO: What does it mean to translate a Pattern ?
}
}
return _template;
}
public final double getPriority() {
}
public double getDefaultPriority() {
return 0.5;
}
/**
* This method is used by the Mode class to prioritise patterns and
* template. This method is called for templates that are in the same
* mode and that match on the same core pattern. The rules used are:
* o) first check precedence - highest precedence wins
* o) then check priority - highest priority wins
* o) then check the position - the template that occured last wins
*/
return true;
}
return true;
}
return true;
}
}
}
return false;
}
public abstract void reduceKernelPattern();
public abstract boolean isWildcard();
public int getAxis() {
}
return "root()";
}
}