热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

com.sun.javadoc.PackageDoc.exceptions()方法的使用及代码示例

本文整理了Java中com.sun.javadoc.PackageDoc.exceptions()方法的一些代码示例,展示了PackageDoc.exceptions()的具体用法。这些代码示例主要来

本文整理了Java中com.sun.javadoc.PackageDoc.exceptions()方法的一些代码示例,展示了PackageDoc.exceptions()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。PackageDoc.exceptions()方法的具体详情如下:
包路径:com.sun.javadoc.PackageDoc
类名称:PackageDoc
方法名:exceptions

PackageDoc.exceptions介绍

[英]Get included Exception classes in this package.
[中]获取此包中包含的异常类。

代码示例

代码示例来源:origin: io.prestosql.hadoop/hadoop-apache

ClassDoc.class);
} else if (methodName.equals("exceptions")) {
return filter(((PackageDoc) target).exceptions(),
ClassDoc.class);
} else if (methodName.equals("interfaces")) {

代码示例来源:origin: org.apache.hadoop/hadoop-annotations

ClassDoc.class);
} else if (methodName.equals("exceptions")) {
return filter(((PackageDoc) target).exceptions(),
ClassDoc.class);
} else if (methodName.equals("interfaces")) {

代码示例来源:origin: harbby/presto-connectors

return filter(((PackageDoc) target).errors(), ClassDoc.class);
} else if (methodName.equals("exceptions")) {
return filter(((PackageDoc) target).exceptions(), ClassDoc.class);
} else if (methodName.equals("interfaces")) {
return filter(((PackageDoc) target).interfaces(), ClassDoc.class);

代码示例来源:origin: org.apache.kudu/interface-annotations

ClassDoc.class);
} else if (methodName.equals("exceptions")) {
return filter(((PackageDoc) target).exceptions(),
ClassDoc.class);
} else if (methodName.equals("interfaces")) {

代码示例来源:origin: apache/hadoop-common

ClassDoc.class);
} else if (methodName.equals("exceptions")) {
return filter(((PackageDoc) target).exceptions(),
ClassDoc.class);
} else if (methodName.equals("interfaces")) {

代码示例来源:origin: io.hops/hadoop-annotations

ClassDoc.class);
} else if (methodName.equals("exceptions")) {
return filter(((PackageDoc) target).exceptions(),
ClassDoc.class);
} else if (methodName.equals("interfaces")) {

代码示例来源:origin: hopshadoop/hops

ClassDoc.class);
} else if (methodName.equals("exceptions")) {
return filter(((PackageDoc) target).exceptions(),
ClassDoc.class);
} else if (methodName.equals("interfaces")) {

代码示例来源:origin: ch.cern.hadoop/hadoop-annotations

ClassDoc.class);
} else if (methodName.equals("exceptions")) {
return filter(((PackageDoc) target).exceptions(),
ClassDoc.class);
} else if (methodName.equals("interfaces")) {

代码示例来源:origin: com.github.jiayuhan-it/hadoop-annotations

ClassDoc.class);
} else if (methodName.equals("exceptions")) {
return filter(((PackageDoc) target).exceptions(),
ClassDoc.class);
} else if (methodName.equals("interfaces")) {

代码示例来源:origin: konsoletyper/teavm-javac

/**
* Build the summary for the exceptions in the package.
*
* @param node the XML element that specifies which components to document
* @param packageSummaryContentTree the tree to which the exception summary will
* be added
*/
public void buildExceptionSummary(XMLNode node, Content packageSummaryContentTree) {
String exceptiOnTableSummary=
configuration.getText("doclet.Member_Table_Summary",
configuration.getText("doclet.Exception_Summary"),
configuration.getText("doclet.exceptions"));
String[] exceptiOnTableHeader= new String[] {
configuration.getText("doclet.Exception"),
configuration.getText("doclet.Description")
};
ClassDoc[] exceptiOns= pkg.exceptions();
if (exceptions.length > 0) {
profileWriter.addClassesSummary(
exceptions,
configuration.getText("doclet.Exception_Summary"),
exceptionTableSummary, exceptionTableHeader, packageSummaryContentTree);
}
}

代码示例来源:origin: org.apache.yetus/audience-annotations

ClassDoc.class);
case "exceptions":
return filter(((PackageDoc) target).exceptions(),
ClassDoc.class);
case "interfaces":

代码示例来源:origin: uk.org.retep.doclet/core

/**
* Build the summary for the exceptions in this package.
*/
public void buildExceptionSummary() {
String exceptiOnTableSummary=
configuration.getText("doclet.Member_Table_Summary",
configuration.getText("doclet.Exception_Summary"),
configuration.getText("doclet.exceptions"));
String[] exceptiOnTableHeader= new String[] {
configuration.getText("doclet.Exception"),
configuration.getText("doclet.Description")
};
ClassDoc[] exceptiOns=
packageDoc.isIncluded()
? packageDoc.exceptions()
: configuration.classDocCatalog.exceptions(
Util.getPackageName(packageDoc));
if (exceptions.length > 0) {
packageWriter.writeClassesSummary(
exceptions,
configuration.getText("doclet.Exception_Summary"),
exceptionTableSummary, exceptionTableHeader);
}
}

代码示例来源:origin: konsoletyper/teavm-javac

/**
* Build the summary for the exceptions in this package.
*
* @param node the XML element that specifies which components to document
* @param summaryContentTree the summary tree to which the exception summary will
* be added
*/
public void buildExceptionSummary(XMLNode node, Content summaryContentTree) {
String exceptiOnTableSummary=
configuration.getText("doclet.Member_Table_Summary",
configuration.getText("doclet.Exception_Summary"),
configuration.getText("doclet.exceptions"));
String[] exceptiOnTableHeader= new String[] {
configuration.getText("doclet.Exception"),
configuration.getText("doclet.Description")
};
ClassDoc[] exceptiOns=
packageDoc.isIncluded()
? packageDoc.exceptions()
: configuration.classDocCatalog.exceptions(
Util.getPackageName(packageDoc));
if (exceptions.length > 0) {
profilePackageWriter.addClassesSummary(
exceptions,
configuration.getText("doclet.Exception_Summary"),
exceptionTableSummary, exceptionTableHeader, summaryContentTree);
}
}

代码示例来源:origin: konsoletyper/teavm-javac

/**
* Build the summary for the exceptions in this package.
*
* @param node the XML element that specifies which components to document
* @param summaryContentTree the summary tree to which the exception summary will
* be added
*/
public void buildExceptionSummary(XMLNode node, Content summaryContentTree) {
String exceptiOnTableSummary=
configuration.getText("doclet.Member_Table_Summary",
configuration.getText("doclet.Exception_Summary"),
configuration.getText("doclet.exceptions"));
String[] exceptiOnTableHeader= new String[] {
configuration.getText("doclet.Exception"),
configuration.getText("doclet.Description")
};
ClassDoc[] exceptiOns=
packageDoc.isIncluded()
? packageDoc.exceptions()
: configuration.classDocCatalog.exceptions(
Util.getPackageName(packageDoc));
exceptiOns= Util.filterOutPrivateClasses(exceptions, configuration.javafx);
if (exceptions.length > 0) {
packageWriter.addClassesSummary(
exceptions,
configuration.getText("doclet.Exception_Summary"),
exceptionTableSummary, exceptionTableHeader, summaryContentTree);
}
}

代码示例来源:origin: konsoletyper/teavm-javac

/**
* Add class listing for all the classes in this package. Divide class
* listing as per the class kind and generate separate listing for
* Classes, Interfaces, Exceptions and Errors.
*
* @param contentTree the content tree to which the listing will be added
* @param profileValue the value of the profile being documented
*/
protected void addClassListing(Content contentTree, int profileValue) {
if (packageDoc.isIncluded()) {
addClassKindListing(packageDoc.interfaces(),
getResource("doclet.Interfaces"), contentTree, profileValue);
addClassKindListing(packageDoc.ordinaryClasses(),
getResource("doclet.Classes"), contentTree, profileValue);
addClassKindListing(packageDoc.enums(),
getResource("doclet.Enums"), contentTree, profileValue);
addClassKindListing(packageDoc.exceptions(),
getResource("doclet.Exceptions"), contentTree, profileValue);
addClassKindListing(packageDoc.errors(),
getResource("doclet.Errors"), contentTree, profileValue);
addClassKindListing(packageDoc.annotationTypes(),
getResource("doclet.AnnotationTypes"), contentTree, profileValue);
}
}

代码示例来源:origin: konsoletyper/teavm-javac

addClassKindListing(packageDoc.enums(),
getResource("doclet.Enums"), contentTree);
addClassKindListing(packageDoc.exceptions(),
getResource("doclet.Exceptions"), contentTree);
addClassKindListing(packageDoc.errors(),

代码示例来源:origin: uk.org.retep.doclet/core

generateClassKindListing( packageDoc.enums(),
configuration.getText( "doclet.Enums" ) );
generateClassKindListing( packageDoc.exceptions(),
configuration.getText( "doclet.Exceptions" ) );
generateClassKindListing( packageDoc.errors(),

推荐阅读
author-avatar
羽书uv吧
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有