使用 updateProfile.parserAssociation 参数来设置或查询与文件扩展名相关联的解析器。当对 current.updateProfile.parser 设置为 associated 的文档视图发出 updateProfile 命令时,将使用与文件扩展名相关联的解析器来对该文档视图进行语法分析。
query 命令
set 命令
current 参数
default 参数
install 参数
updateProfile.parserAssociation.fileExtension 的作用域为当前视图。
current.updateProfile.parserAssociation.fileExtension 的作用域为当前视图。
default.updateProfile.parserAssociation.fileExtension 具有全局作用域。
install.updateProfile.parserAssociation.fileExtension 具有全局作用域。
query updateProfile.parserAssociation.fileExtension set updateProfile.parserAssociation.fileExtension { default | [ parser ] } query current.updateProfile.parserAssociation.fileExtension query default.updateProfile.parserAssociation.fileExtension set default.updateProfile.parserAssociation.fileExtension { install | [ parser ] } query install.updateProfile.parserAssociation.fileExtension
fileExtension | 使用 fileExtension 参数来指示文件扩展名。 |
default | 如果对 set updateProfile.parserAssociation.fileExtension 命令指定 default 参数,则在发出 updateProfile 命令时,当前视图将使用 default.updateProfile.parserAssociation.fileExtension 的值来确定与 fileExtension 相关联的解析器。 |
parser | 如果对 set updateProfile.parserAssociation.fileExtension 命令指定 parser 参数,则 updateProfile 命令对于当前视图将使用 parser 来作为与 fileExtension 指示的文件扩展名相关联的解析器。如果对 set default.updateProfile.parserAssociation.fileExtension 命令指定 parser 参数,则 updateProfile 命令对于所有将 updateProfile.parserAssociation.fileExtension 参数设置为 default 的文档视图都将使用 parser 来作为与 fileExtension 指示的文件扩展名相关联的解析器。parser 参数应该是 current.updateProfile.parsers 参数返回的其中一个解析器。 |
install | 如果对 set default.updateProfile.parserAssociation.fileExtension 命令指定 install 参数,则在发出 updateProfile 命令时,所有将 updateProfile.parserAssociation.fileExtension 设置为 default 的视图都将使用 install.updateProfile.parserAssociation.fileExtension 的值来确定与 fileExtension 相关联的解析器。 |
query current.updateProfile.parserAssociation.fileExtension 命令返回一个解析器,updateProfile 命令对于当前视图将使该解析器与 fileExtension 指定的文件扩展名相关联。
如果未对 set updateProfile.parserAssociation.fileExtension 命令指定任何参数,则没有任何解析器与指定的文件扩展名相关联。
如果未对 set default.updateProfile.parserAssociation.fileExtension 命令指定任何参数,则没有任何缺省解析器与指定的文件扩展名相关联。
query updateProfile.parserAssociation.java set updateProfile.parserAssociation.java java set updateProfile.parserAssociation.java default set updateProfile.parserAssociation.java query current.updateProfile.parserAssociation.java query default.updateProfile.parserAssociation.java set default.updateProfile.parserAssociation.java java set default.updateProfile.parserAssociation.java install set default.updateProfile.parserAssociation.java query install.updateProfile.parserAssociation.java
query 命令
set 命令
updateProfile 命令
parser 参数
updateProfile.extensions 参数
updateProfile.noParser 参数
updateProfile.parserClass 参数
updateProfile.parsers 参数
updateProfile.parser 参数
Copyright IBM Corporation 1992, 2004. All Rights Reserved.