Java Code Examples for org.hy.common.xml.XJava#parserAnnotation()

The following examples show how to use org.hy.common.xml.XJava#parserAnnotation() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JU_Formula.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_Formula() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 2
Source File: JU_Sheets.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_Sheets() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 3
Source File: JU_Brace.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_Brace() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 4
Source File: JU_ImageReport.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_ImageReport() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 5
Source File: JU_FontReport.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_FontReport() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 6
Source File: JU_Total03.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_Total03() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 7
Source File: JU_ZXing.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_ZXing() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 8
Source File: JU_PageTitle.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_PageTitle() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 9
Source File: JU_Total_Subtotal.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_Total_Subtotal() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 10
Source File: JU_Total02.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_Total02() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 11
Source File: JU_AppendPage.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_AppendPage() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 12
Source File: JU_ReadVertical.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_ReadVertical() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 13
Source File: JU_ReadHorizontal.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_ReadHorizontal() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 14
Source File: JU_ImageReport02.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_ImageReport02() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 15
Source File: JU_Report01.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_Report01() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 16
Source File: JU_ReportNormal.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_ReportNormal() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 17
Source File: JU_ReadVerticalGrade.java    From hy.common.report with Apache License 2.0 5 votes vote down vote up
public JU_ReadVerticalGrade() throws Exception
{
    if ( !$isInit )
    {
        $isInit = true;
        XJava.parserAnnotation(this.getClass().getName());
    }
}
 
Example 18
Source File: AppMain.java    From HBaseClient with GNU General Public License v3.0 4 votes vote down vote up
public static void main(String[] i_Args) throws Exception 
{
    AppParameter v_Apps     = new AppParameter(i_Args);
    String       v_HBaseIP  = v_Apps.getParamValue("ip");
    String       v_FileName = v_Apps.getParamValue("file");
    String       v_FileType = v_Apps.getParamValue("fileType");
    String       v_CMD      = v_Apps.getParamValue("cmd");
    String       v_Language = Help.NVL(v_Apps.getParamValue("language") ,"cn");
    
    
    if ( v_Apps.isShowVersion() )
    {
        System.out.println(showVersionInfo());
        return;
    }
    
    
    if ( v_Apps.isShowHelp() )
    {
        System.out.println(showHelpInfo());
        return;
    }
    
    
    if ( Help.isNull(v_HBaseIP) )
    {
        System.out.println("Parameter [ip] is null.");
        return;
    }
    
    
    $HBase = new HBase(v_HBaseIP);
    $HBase.setResultType(ResultType.ResultType_HData);
    
    
    if ( v_Apps.isExists("-window") )
    {
        XJava.putObject("SYS_LANGUAGE" ,v_Language);
        XJava.parserAnnotation("org.hy.hbase");
        AppFrame v_AppFrame = (AppFrame)XJava.getObject("AppFrame");
        
        Dimension v_Dimension = Toolkit.getDefaultToolkit().getScreenSize();
        v_Dimension.height = v_Dimension.height - 40;
                
        v_AppFrame.setHBase($HBase);
        v_AppFrame.setIconImage(java.awt.Toolkit.getDefaultToolkit().getImage(v_AppFrame.getClass().getResource("img/HBase.png")));
        v_AppFrame.setSize(v_Dimension);
        v_AppFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        v_AppFrame.setTitle("HBase客户端 " + $VersionNo);
        v_AppFrame.setVisible(true);
        v_AppFrame.validate();
        v_AppFrame.init();
        
        return;
    }
    
    
    if ( Help.isNull(v_CMD) )
    {
        if ( Help.isNull(v_FileName) )
        {
            System.out.println("Parameter [file] is null.");
            return;
        }
        
        exeutesFile(new File(v_FileName) ,v_FileType);
    }
    else
    {
        executes(v_CMD);
    }
}