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 V8HelpAttribute
getAttributeByName(V8HelpBook helpBook, String name)
FindV8HelpAttribute
by given namestatic V8HelpEntry
getEntryByPage(V8HelpBook helpBook, V8HelpPage page)
FindV8HelpEntry
by givenV8HelpPage
static V8HelpBook
getErrorV8HelpBook(String message, String... attributes)
CreateV8HelpBook
with one entry for show error messagestatic V8HelpPage
getPageByHostLink(V8HelpBook helpBook, String host, String link)
FindV8HelpPage
by given host and link
-
-
-
Method Detail
-
getErrorV8HelpBook
public static V8HelpBook getErrorV8HelpBook(String message, String... attributes)
CreateV8HelpBook
with 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)
FindV8HelpAttribute
by given name- Parameters:
helpBook
- theV8HelpBook
where to searchname
- theV8HelpAttribute
name- Returns:
- instance of
V8HelpAttribute
from helpBook ornull
if attribute with given name not exist
-
getPageByHostLink
public static V8HelpPage getPageByHostLink(V8HelpBook helpBook, String host, String link)
FindV8HelpPage
by given host and link- Parameters:
helpBook
- theV8HelpBook
where to searchhost
-link
-- Returns:
- instance of
V8HelpPage
from helpBook ornull
-
getEntryByPage
public static V8HelpEntry getEntryByPage(V8HelpBook helpBook, V8HelpPage page)
FindV8HelpEntry
by givenV8HelpPage
- Parameters:
helpBook
- theV8HelpBook
where to searchpage
-- Returns:
- instance of
V8HelpEntry
from helpBook ornull
-
-