/** * This is used to acquire the full attribute path for this * section. The attribute path is simply the fully qualified * path for this expression with the provided name appended. * If this is an empty path, the provided name is returned. * * @param name this is the name of the attribute to be used * * @return a fully qualified path for the specified name */ public String getAttribute(String name) throws Exception { Expression path = model.getExpression(); if(path == null) { return name; } return path.getAttribute(name); }
/** * This is used to acquire the full element path for this * section. The element path is simply the fully qualified * path for this expression with the provided name appended. * If this is an empty path, the provided name is returned. * * @param name this is the name of the element to be used * * @return a fully qualified path for the specified name */ public String getPath(String name) throws Exception { Expression path = model.getExpression(); if(path == null) { return name; } return path.getElement(name); }
/** * This is used to acquire the full attribute path for this * section. The attribute path is simply the fully qualified * path for this expression with the provided name appended. * If this is an empty path, the provided name is returned. * * @param name this is the name of the attribute to be used * * @return a fully qualified path for the specified name */ public String getAttribute(String name) throws Exception { Expression path = model.getExpression(); if(path == null) { return name; } return path.getAttribute(name); }
/** * This is used to acquire the full element path for this * section. The element path is simply the fully qualified * path for this expression with the provided name appended. * If this is an empty path, the provided name is returned. * * @param name this is the name of the element to be used * * @return a fully qualified path for the specified name */ public String getPath(String name) throws Exception { Expression path = model.getExpression(); if(path == null) { return name; } return path.getElement(name); }
/** * This is used to acquire the full attribute path for this * section. The attribute path is simply the fully qualified * path for this expression with the provided name appended. * If this is an empty path, the provided name is returned. * * @param name this is the name of the attribute to be used * * @return a fully qualified path for the specified name */ public String getAttribute(String name) throws Exception { Expression path = model.getExpression(); if(path == null) { return name; } return path.getAttribute(name); }
/** * This is used to acquire the full element path for this * section. The element path is simply the fully qualified * path for this expression with the provided name appended. * If this is an empty path, the provided name is returned. * * @param name this is the name of the element to be used * * @return a fully qualified path for the specified name */ public String getPath(String name) throws Exception { Expression path = model.getExpression(); if(path == null) { return name; } return path.getElement(name); }