本文整理了Java中javax.faces.webapp.UIComponentClassicTagBase.printTree()
方法的一些代码示例,展示了UIComponentClassicTagBase.printTree()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。UIComponentClassicTagBase.printTree()
方法的具体详情如下:
包路径:javax.faces.webapp.UIComponentClassicTagBase
类名称:UIComponentClassicTagBase
方法名:printTree
暂无
代码示例来源:origin: javax.faces/javax.faces-api
} else {
StringWriter writer = new StringWriter(128);
printTree(context.getViewRoot(), this.id, writer, 0);
String msg = "Component ID '"
+ this.id
代码示例来源:origin: org.glassfish/jakarta.faces
} else {
StringWriter writer = new StringWriter(128);
printTree(context.getViewRoot(), this.id, writer, 0);
String msg = "Component ID '"
+ this.id
代码示例来源:origin: com.sun.faces/jsf-api
} else {
StringWriter writer = new StringWriter(128);
printTree(context.getViewRoot(), this.id, writer, 0);
String msg = "Component ID '"
+ this.id
代码示例来源:origin: javax/javaee-web-api
} else {
StringWriter writer = new StringWriter(128);
printTree(context.getViewRoot(), this.id, writer, 0);
String msg = "Component ID '"
+ this.id
代码示例来源:origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec
} else {
StringWriter writer = new StringWriter(128);
printTree(context.getViewRoot(), this.id, writer, 0);
String msg = "Component ID '"
+ this.id
代码示例来源:origin: javax.faces/com.springsource.javax.faces
} else {
StringWriter writer = new StringWriter(128);
printTree(context.getViewRoot(), this.id, writer, 0);
String msg = "Component ID '"
+ this.id
代码示例来源:origin: org.glassfish/javax.faces
} else {
StringWriter writer = new StringWriter(128);
printTree(context.getViewRoot(), this.id, writer, 0);
String msg = "Component ID '"
+ this.id
代码示例来源:origin: jboss/jboss-javaee-specs
} else {
StringWriter writer = new StringWriter(128);
printTree(context.getViewRoot(), this.id, writer, 0);
String msg = "Component ID '"
+ this.id
代码示例来源:origin: eclipse-ee4j/mojarra
} else {
StringWriter writer = new StringWriter(128);
printTree(context.getViewRoot(), this.id, writer, 0);
String msg = "Component ID '"
+ this.id
代码示例来源:origin: eclipse-ee4j/mojarra
} else {
StringWriter writer = new StringWriter(128);
printTree(context.getViewRoot(), this.id, writer, 0);
String msg = "Component ID '"
+ this.id
代码示例来源:origin: eclipse-ee4j/mojarra
private static void printTree(UIComponent root,
String duplicateId,
Writer out,
int curDepth) {
if (null == root) {
return;
}
if (duplicateId.equals(root.getId())) {
indentPrintln(out, "+id: " + root.getId() + " <===============",
curDepth);
} else {
indentPrintln(out, "+id: " + root.getId(), curDepth);
}
//noinspection ObjectToString
indentPrintln(out, " type: " + root.toString(), curDepth);
curDepth++;
// print all the facets of this component
for (UIComponent uiComponent : root.getFacets().values()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
// print all the children of this component
for (UIComponent uiComponent : root.getChildren()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
}
代码示例来源:origin: javax/javaee-web-api
private static void printTree(UIComponent root,
String duplicateId,
Writer out,
int curDepth) {
if (null == root) {
return;
}
if (duplicateId.equals(root.getId())) {
indentPrintln(out, "+id: " + root.getId() + " <===============",
curDepth);
} else {
indentPrintln(out, "+id: " + root.getId(), curDepth);
}
//noinspection ObjectToString
indentPrintln(out, " type: " + root.toString(), curDepth);
curDepth++;
// print all the facets of this component
for (UIComponent uiComponent : root.getFacets().values()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
// print all the children of this component
for (UIComponent uiComponent : root.getChildren()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
}
代码示例来源:origin: com.sun.faces/jsf-api
private static void printTree(UIComponent root,
String duplicateId,
Writer out,
int curDepth) {
if (null == root) {
return;
}
if (duplicateId.equals(root.getId())) {
indentPrintln(out, "+id: " + root.getId() + " <===============",
curDepth);
} else {
indentPrintln(out, "+id: " + root.getId(), curDepth);
}
//noinspection ObjectToString
indentPrintln(out, " type: " + root.toString(), curDepth);
curDepth++;
// print all the facets of this component
for (UIComponent uiComponent : root.getFacets().values()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
// print all the children of this component
for (UIComponent uiComponent : root.getChildren()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
}
代码示例来源:origin: org.glassfish/jakarta.faces
private static void printTree(UIComponent root,
String duplicateId,
Writer out,
int curDepth) {
if (null == root) {
return;
}
if (duplicateId.equals(root.getId())) {
indentPrintln(out, "+id: " + root.getId() + " <===============",
curDepth);
} else {
indentPrintln(out, "+id: " + root.getId(), curDepth);
}
//noinspection ObjectToString
indentPrintln(out, " type: " + root.toString(), curDepth);
curDepth++;
// print all the facets of this component
for (UIComponent uiComponent : root.getFacets().values()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
// print all the children of this component
for (UIComponent uiComponent : root.getChildren()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
}
代码示例来源:origin: javax.faces/javax.faces-api
private static void printTree(UIComponent root,
String duplicateId,
Writer out,
int curDepth) {
if (null == root) {
return;
}
if (duplicateId.equals(root.getId())) {
indentPrintln(out, "+id: " + root.getId() + " <===============",
curDepth);
} else {
indentPrintln(out, "+id: " + root.getId(), curDepth);
}
//noinspection ObjectToString
indentPrintln(out, " type: " + root.toString(), curDepth);
curDepth++;
// print all the facets of this component
for (UIComponent uiComponent : root.getFacets().values()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
// print all the children of this component
for (UIComponent uiComponent : root.getChildren()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
}
代码示例来源:origin: org.glassfish/javax.faces
private static void printTree(UIComponent root,
String duplicateId,
Writer out,
int curDepth) {
if (null == root) {
return;
}
if (duplicateId.equals(root.getId())) {
indentPrintln(out, "+id: " + root.getId() + " <===============",
curDepth);
} else {
indentPrintln(out, "+id: " + root.getId(), curDepth);
}
//noinspection ObjectToString
indentPrintln(out, " type: " + root.toString(), curDepth);
curDepth++;
// print all the facets of this component
for (UIComponent uiComponent : root.getFacets().values()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
// print all the children of this component
for (UIComponent uiComponent : root.getChildren()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
}
代码示例来源:origin: jboss/jboss-javaee-specs
private static void printTree(UIComponent root,
String duplicateId,
Writer out,
int curDepth) {
if (null == root) {
return;
}
if (duplicateId.equals(root.getId())) {
indentPrintln(out, "+id: " + root.getId() + " <===============",
curDepth);
} else {
indentPrintln(out, "+id: " + root.getId(), curDepth);
}
//noinspection ObjectToString
indentPrintln(out, " type: " + root.toString(), curDepth);
curDepth++;
// print all the facets of this component
for (UIComponent uiComponent : root.getFacets().values()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
// print all the children of this component
for (UIComponent uiComponent : root.getChildren()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
}
代码示例来源:origin: eclipse-ee4j/mojarra
private static void printTree(UIComponent root,
String duplicateId,
Writer out,
int curDepth) {
if (null == root) {
return;
}
if (duplicateId.equals(root.getId())) {
indentPrintln(out, "+id: " + root.getId() + " <===============",
curDepth);
} else {
indentPrintln(out, "+id: " + root.getId(), curDepth);
}
//noinspection ObjectToString
indentPrintln(out, " type: " + root.toString(), curDepth);
curDepth++;
// print all the facets of this component
for (UIComponent uiComponent : root.getFacets().values()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
// print all the children of this component
for (UIComponent uiComponent : root.getChildren()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
}
代码示例来源:origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec
private static void printTree(UIComponent root,
String duplicateId,
Writer out,
int curDepth) {
if (null == root) {
return;
}
if (duplicateId.equals(root.getId())) {
indentPrintln(out, "+id: " + root.getId() + " <===============",
curDepth);
} else {
indentPrintln(out, "+id: " + root.getId(), curDepth);
}
//noinspection ObjectToString
indentPrintln(out, " type: " + root.toString(), curDepth);
curDepth++;
// print all the facets of this component
for (UIComponent uiComponent : root.getFacets().values()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
// print all the children of this component
for (UIComponent uiComponent : root.getChildren()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
}
代码示例来源:origin: javax.faces/com.springsource.javax.faces
private static void printTree(UIComponent root,
String duplicateId,
Writer out,
int curDepth) {
if (null == root) {
return;
}
if (duplicateId.equals(root.getId())) {
indentPrintln(out, "+id: " + root.getId() + " <===============",
curDepth);
} else {
indentPrintln(out, "+id: " + root.getId(), curDepth);
}
//noinspection ObjectToString
indentPrintln(out, " type: " + root.toString(), curDepth);
curDepth++;
// print all the facets of this component
for (UIComponent uiComponent : root.getFacets().values()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
// print all the children of this component
for (UIComponent uiComponent : root.getChildren()) {
printTree(uiComponent, duplicateId, out, curDepth);
}
}
内容来源于网络,如有侵权,请联系作者删除!