本文整理了Java中javax.faces.view.Location.<init>()
方法的一些代码示例,展示了Location.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Location.<init>()
方法的具体详情如下:
包路径:javax.faces.view.Location
类名称:Location
方法名:<init>
暂无
代码示例来源:origin: org.apache.myfaces.core/myfaces-impl
protected Location createLocation()
{
return new Location(this.alias, this.locator.getLineNumber(), this.locator.getColumnNumber());
}
代码示例来源:origin: org.apache.myfaces.core/myfaces-shaded-impl
protected Location createLocation()
{
return new Location(this.alias, this.locator.getLineNumber(), this.locator.getColumnNumber());
}
代码示例来源:origin: org.apache.myfaces.core/myfaces-impl
protected Location createLocation()
{
return new Location(this.alias, this.locator.getLineNumber(), this.locator.getColumnNumber());
}
代码示例来源:origin: org.apache.myfaces.core.internal/myfaces-shaded-impl
protected Location createLocation()
{
return new Location(this.alias, this.locator.getLineNumber(), this.locator.getColumnNumber());
}
代码示例来源:origin: org.apache.myfaces.core/myfaces-impl
protected Location createLocation()
{
return new Location(this.alias, this.locator.getLineNumber(), this.locator.getColumnNumber());
}
代码示例来源:origin: org.apache.myfaces.core/myfaces-shaded-impl
protected Location createLocation()
{
return new Location(this.alias, this.locator.getLineNumber(), this.locator.getColumnNumber());
}
代码示例来源:origin: org.apache.myfaces.core.internal/myfaces-shaded-impl
protected Location createLocation()
{
return new Location(this.alias, this.locator.getLineNumber(), this.locator.getColumnNumber());
}
代码示例来源:origin: org.apache.myfaces.core/myfaces-shaded-impl
protected Location createLocation()
{
return new Location(this.alias, this.locator.getLineNumber(), this.locator.getColumnNumber());
}
代码示例来源:origin: org.apache.myfaces.core.internal/myfaces-shaded-impl
protected Location createLocation()
{
return new Location(this.alias, this.locator.getLineNumber(), this.locator.getColumnNumber());
}
代码示例来源:origin: com.sun.faces/jsf-impl
protected Location createLocation() {
Location result = null;
if (null != locator) {
result = new Location(this.alias, this.locator.getLineNumber(),
this.locator.getColumnNumber());
} else {
if (log.isLoggable(Level.SEVERE)) {
log.log(Level.SEVERE, "Unable to create Location due to null locator instance variable.");
}
}
return result;
}
代码示例来源:origin: org.glassfish/jakarta.faces
protected Location createLocation() {
Location result = null;
if (null != locator) {
result = new Location(this.alias, this.locator.getLineNumber(),
this.locator.getColumnNumber());
} else {
if (log.isLoggable(Level.SEVERE)) {
log.log(Level.SEVERE, "Unable to create Location due to null locator instance variable.");
}
}
return result;
}
代码示例来源:origin: org.glassfish/javax.faces
protected Location createLocation() {
Location result = null;
if (null != locator) {
result = new Location(this.alias, this.locator.getLineNumber(),
this.locator.getColumnNumber());
} else {
if (log.isLoggable(Level.SEVERE)) {
log.log(Level.SEVERE, "Unable to create Location due to null locator instance variable.");
}
}
return result;
}
代码示例来源:origin: eclipse-ee4j/mojarra
protected Location createLocation() {
Location result = null;
if (null != locator) {
result = new Location(this.alias, this.locator.getLineNumber(),
this.locator.getColumnNumber());
} else {
if (log.isLoggable(Level.SEVERE)) {
log.log(Level.SEVERE, "Unable to create Location due to null locator instance variable.");
}
}
return result;
}
代码示例来源:origin: com.sun.faces/jsf-impl
public TagHandler createHandler(TagConfig cfg) throws FacesException,
ELException {
ComponentConfig componentConfig =
new ComponentConfigWrapper(cfg,
"javax.faces.NamingContainer",
"javax.faces.Composite");
ResourceHandler resourceHandler =
FacesContext.getCurrentInstance().getApplication().getResourceHandler();
TagHandler result = null;
// Use the naming convention to extract the library name and
// component name from the resourceId.
Resource resource = resourceHandler.createResourceFromId(resourceId);
if (null != resource) {
result = new CompositeComponentTagHandler(resource, componentConfig);
} else {
Location loc = new Location(resourceId, 0, 0);
Tag tag = new Tag(loc, "", "", "", null);
throw new TagException(tag, "Cannot create composite component tag handler for composite-source element in taglib.xml file");
}
return result;
}
}
代码示例来源:origin: org.glassfish/javax.faces
@Override
public TagHandler createHandler(TagConfig cfg) throws FacesException,
ELException {
ComponentConfig componentConfig =
new ComponentConfigWrapper(cfg,
"javax.faces.NamingContainer",
"javax.faces.Composite");
ResourceHandler resourceHandler =
FacesContext.getCurrentInstance().getApplication().getResourceHandler();
TagHandler result = null;
// Use the naming convention to extract the library name and
// component name from the resourceId.
Resource resource = resourceHandler.createResourceFromId(resourceId);
if (null != resource) {
result = new CompositeComponentTagHandler(resource, componentConfig);
} else {
Location loc = new Location(resourceId, 0, 0);
Tag tag = new Tag(loc, "", "", "", null);
throw new TagException(tag, "Cannot create composite component tag handler for composite-source element in taglib.xml file");
}
return result;
}
}
代码示例来源:origin: com.sun.faces/jsf-impl
context.getApplication().getExpressionFactory().
createValueExpression(elContext, expr, Object.class);
Location location = new Location(alias, -1, -1);
ve = new ContextualCompositeValueExpression(location,
delegate);
代码示例来源:origin: org.glassfish/jakarta.faces
context.getApplication().getExpressionFactory().
createValueExpression(elContext, expr, Object.class);
Location location = new Location(alias, -1, -1);
ve = new ContextualCompositeValueExpression(location,
delegate);
代码示例来源:origin: org.glassfish/jakarta.faces
@Override
public TagHandler createHandler(TagConfig cfg) throws FacesException,
ELException {
ComponentConfig componentConfig =
new ComponentConfigWrapper(cfg,
"javax.faces.NamingContainer",
"javax.faces.Composite");
ResourceHandler resourceHandler =
FacesContext.getCurrentInstance().getApplication().getResourceHandler();
TagHandler result = null;
// Use the naming convention to extract the library name and
// component name from the resourceId.
Resource resource = resourceHandler.createResourceFromId(resourceId);
if (null != resource) {
result = new CompositeComponentTagHandler(resource, componentConfig);
} else {
Location loc = new Location(resourceId, 0, 0);
Tag tag = new Tag(loc, "", "", "", null);
throw new TagException(tag, "Cannot create composite component tag handler for composite-source element in taglib.xml file");
}
return result;
}
}
代码示例来源:origin: eclipse-ee4j/mojarra
@Override
public TagHandler createHandler(TagConfig cfg) throws FacesException,
ELException {
ComponentConfig componentConfig =
new ComponentConfigWrapper(cfg,
"javax.faces.NamingContainer",
"javax.faces.Composite");
ResourceHandler resourceHandler =
FacesContext.getCurrentInstance().getApplication().getResourceHandler();
TagHandler result = null;
// Use the naming convention to extract the library name and
// component name from the resourceId.
Resource resource = resourceHandler.createResourceFromId(resourceId);
if (null != resource) {
result = new CompositeComponentTagHandler(resource, componentConfig);
} else {
Location loc = new Location(resourceId, 0, 0);
Tag tag = new Tag(loc, "", "", "", null);
throw new TagException(tag, "Cannot create composite component tag handler for composite-source element in taglib.xml file");
}
return result;
}
}
代码示例来源:origin: org.apache.myfaces.core/myfaces-impl
(UILibrary.NAMESPACE.equals(taglibURI) || UILibrary.ALIAS_NAMESPACE.equals(taglibURI)) );
Location location = new Location(alias, 0, 0);
int len = attributes.size();
if (tagContainParams && attributes.containsKey("params"))
内容来源于网络,如有侵权,请联系作者删除!