public final class SAXModuleAdapter extends ModuleVisitor
api, mv| Constructor and Description |
|---|
SAXModuleAdapter(SAXAdapter sa) |
| Modifier and Type | Method and Description |
|---|---|
void |
visitEnd() |
void |
visitExport(String packaze,
String... modules)
Visit an exported package of the current module.
|
void |
visitProvide(String service,
String impl)
Visit an implementation of a service.
|
void |
visitRequire(String module,
int access)
Visits a dependence of the current module.
|
void |
visitUse(String service)
Visit a service used by the current module.
|
public SAXModuleAdapter(SAXAdapter sa)
public void visitRequire(String module, int access)
ModuleVisitorvisitRequire in class ModuleVisitormodule - the module name of the dependenceaccess - the access flag of the dependence among
ACC_PUBLIC, ACC_SYNTHETIC and ACC_MANDATED.public void visitExport(String packaze, String... modules)
ModuleVisitorvisitExport in class ModuleVisitorpackaze - the name of the exported package.modules - names of the modules that can access to
the public classes of the exported package or
null.public void visitUse(String service)
ModuleVisitorvisitUse in class ModuleVisitorservice - the internal name of the service.public void visitProvide(String service, String impl)
ModuleVisitorvisitProvide in class ModuleVisitorservice - the internal name of the serviceimpl - the internal name of the implementation
of the servicepublic void visitEnd()
visitEnd in class ModuleVisitorCopyright © 2009-2017 Oracle Corporation. All Rights Reserved.