Package com._1c.g5.v8.dt.v8help
Class V8HelpUtil
java.lang.Object
com._1c.g5.v8.dt.v8help.V8HelpUtil
V8Help utility class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic V8HelpAttributegetAttributeByName(V8HelpBook helpBook, String name) FindV8HelpAttributeby given namestatic V8HelpEntrygetEntryByPage(V8HelpBook helpBook, V8HelpPage page) FindV8HelpEntryby givenV8HelpPagestatic V8HelpBookgetErrorV8HelpBook(String message, String... attributes) CreateV8HelpBookwith one entry for show error messagestatic V8HelpPagegetPageByHostLink(V8HelpBook helpBook, String host, String link) FindV8HelpPageby given host and link
-
Constructor Details
-
V8HelpUtil
public V8HelpUtil()
-
-
Method Details
-
getErrorV8HelpBook
CreateV8HelpBookwith one entry for show error message- Parameters:
message- the error messageattributes- the attributes names which must contains in this book
-
getAttributeByName
FindV8HelpAttributeby given name- Parameters:
helpBook- theV8HelpBookwhere to searchname- theV8HelpAttributename- Returns:
- instance of
V8HelpAttributefrom helpBook ornullif attribute with given name not exist
-
getPageByHostLink
FindV8HelpPageby given host and link- Parameters:
helpBook- theV8HelpBookwhere to searchhost-link-- Returns:
- instance of
V8HelpPagefrom helpBook ornull
-
getEntryByPage
FindV8HelpEntryby givenV8HelpPage- Parameters:
helpBook- theV8HelpBookwhere to searchpage-- Returns:
- instance of
V8HelpEntryfrom helpBook ornull
-