Package com._1c.g5.v8.dt.v8help
Class V8HelpUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.v8help.V8HelpUtil
-
public class V8HelpUtil extends Object
V8Help utility class
-
-
Constructor Summary
Constructors Constructor Description V8HelpUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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
-
-
-
Method Detail
-
getErrorV8HelpBook
public static V8HelpBook getErrorV8HelpBook(String message, String... attributes)
CreateV8HelpBookwith one entry for show error message- Parameters:
message- the error messageattributes- the attributes names which must contains in this book
-
getAttributeByName
public static V8HelpAttribute getAttributeByName(V8HelpBook helpBook, String name)
FindV8HelpAttributeby given name- Parameters:
helpBook- theV8HelpBookwhere to searchname- theV8HelpAttributename- Returns:
- instance of
V8HelpAttributefrom helpBook ornullif attribute with given name not exist
-
getPageByHostLink
public static V8HelpPage getPageByHostLink(V8HelpBook helpBook, String host, String link)
FindV8HelpPageby given host and link- Parameters:
helpBook- theV8HelpBookwhere to searchhost-link-- Returns:
- instance of
V8HelpPagefrom helpBook ornull
-
getEntryByPage
public static V8HelpEntry getEntryByPage(V8HelpBook helpBook, V8HelpPage page)
FindV8HelpEntryby givenV8HelpPage- Parameters:
helpBook- theV8HelpBookwhere to searchpage-- Returns:
- instance of
V8HelpEntryfrom helpBook ornull
-
-