亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? abstractxercesregpopulator.java

?? JavaPOS的最新版本!這是源代碼!零售業的請看!
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:

        document.getDocumentElement().
        insertBefore( comment, document.getDocumentElement().getFirstChild() );

        document.getDocumentElement().
        insertBefore(  document.createTextNode( "\n" ), comment );
        
        document.getDocumentElement().
        appendChild( document.createTextNode( "\n" ) );
    }
    
    /**
     * Appends the <creation> element to the document
     * @param doc the XML Document object
     * @param jposEntryElement the <JposEntryElement> XML Element object
     * @param jposEntry the JposEntry object
     * @since 1.2 (NY 2K meeting)
     */
    protected void appendCreationElement( Document doc, 
    										Element jposEntryElement,
                                            JposEntry jposEntry )
    {
        jposEntryElement.appendChild( doc.createTextNode( "    " + "    " ) );

        Element creationElement = doc.createElement( "creation" );

        Attr factoryClassAttr = doc.createAttribute( "factoryClass" );
        Attr serviceClassAttr = doc.createAttribute( "serviceClass" );

        factoryClassAttr.setValue( (String)jposEntry.
        						   getPropertyValue( "serviceInstanceFactoryClass" ) );

        serviceClassAttr.setValue( (String)jposEntry.
        						   getPropertyValue( "serviceClass" ) );

        creationElement.setAttributeNode( factoryClassAttr );
        creationElement.setAttributeNode( serviceClassAttr );

        jposEntryElement.appendChild( creationElement );
        jposEntryElement.appendChild( doc.createTextNode( "\n" ) );
    }

    /**
     * Appends the <vendor> element to the document
     * @param doc the XML Document object
     * @param jposEntryElement the <JposEntryElement> XML Element object
     * @param jposEntry the JposEntry object
     * @since 1.2 (NY 2K meeting)
     */
    protected void appendVendorElement( Document doc, Element jposEntryElement,
                                        JposEntry jposEntry )
    {
        jposEntryElement.appendChild( doc.createTextNode( "    " + "    " ) );

        Element vendorElement = doc.createElement( "vendor" );

        Attr nameAttr = doc.createAttribute( "name" );
        Attr urlAttr = doc.createAttribute( "url" );

        nameAttr.setValue( (String)jposEntry.getPropertyValue( "vendorName" ) );
        urlAttr.setValue( (String)jposEntry.getPropertyValue( "vendorURL" ) );

        vendorElement.setAttributeNode( nameAttr );
        vendorElement.setAttributeNode( urlAttr );

        jposEntryElement.appendChild( vendorElement );
        jposEntryElement.appendChild( doc.createTextNode( "\n" ) );
    }

    /**
     * Appends the <jpos> element to the document
     * @param doc the XML Document object
     * @param jposEntryElement the <JposEntryElement> XML Element object
     * @param jposEntry the JposEntry object
     * @since 1.2 (NY 2K meeting)
     */
    protected void appendJposElement( Document doc, Element jposEntryElement,
                                      JposEntry jposEntry )
    {
        jposEntryElement.appendChild( doc.createTextNode( "    " + "    " ) );

        Element jposElement = doc.createElement( "jpos" );

        Attr versionAttr = doc.createAttribute( "version" );
        Attr categoryAttr = doc.createAttribute( "category" );

        versionAttr.setValue( (String)jposEntry.
        					   getPropertyValue( "jposVersion" ) );
        
        categoryAttr.setValue( (String)jposEntry.
        						getPropertyValue( "deviceCategory" ) );

        jposElement.setAttributeNode( versionAttr );
        jposElement.setAttributeNode( categoryAttr );

        jposEntryElement.appendChild( jposElement );
        jposEntryElement.appendChild( doc.createTextNode( "\n" ) );
    }

    /**
     * Appends the <product> element to the document
     * @param doc the XML Document object
     * @param jposEntryElement the <JposEntryElement> XML Element object
     * @param jposEntry the JposEntry object
     * @since 1.2 (NY 2K meeting)
     */
    protected void appendProductElement( Document doc, 
                      					   Element jposEntryElement,
                                           JposEntry jposEntry )
    {
        jposEntryElement.appendChild( doc.createTextNode( "    " + "    " ) );

        Element productElement = doc.createElement( "product" );

        Attr nameAttr = doc.createAttribute( "name" );
        Attr descriptionAttr = doc.createAttribute( "description" );
        Attr urlAttr = doc.createAttribute( "url" );

        nameAttr.setValue( (String)jposEntry.getPropertyValue( "productName" ) );
        
        descriptionAttr.
        setValue( (String)jposEntry.getPropertyValue( "productDescription" ) );
        
        urlAttr.setValue( (String)jposEntry.getPropertyValue( "productURL" ) );

        productElement.setAttributeNode( nameAttr );
        productElement.setAttributeNode( descriptionAttr );
        productElement.setAttributeNode( urlAttr );

        jposEntryElement.appendChild( productElement );
        jposEntryElement.appendChild( doc.createTextNode( "\n" ) );
    }

    /**
     * Appends the <prop> element to the document
     * @param doc the XML Document object
     * @param jposEntryElement the <JposEntryElement> XML Element object
     * @param propName the property name
     * @param propValue the property value
     * @since 1.2 (NY 2K meeting)
     */
    protected void appendPropElement( Document doc, Element jposEntryElement,
                                      String propName, Object propValue )
    {
        jposEntryElement.appendChild( doc.createTextNode( "    " + "    " ) );

        Element propElement = doc.createElement( "prop" );

        Attr nameAttr = doc.createAttribute( "name" );
        Attr valueAttr = doc.createAttribute( "value" );
        Attr typeAttr = doc.createAttribute( "type" );

        nameAttr.setValue( propName );
        valueAttr.setValue( propValue.toString() );
        typeAttr.setValue( JposEntryUtility.
                           shortClassName( propValue.getClass() ) );

        propElement.setAttributeNode( nameAttr );
        propElement.setAttributeNode( valueAttr );
        propElement.setAttributeNode( typeAttr );

        jposEntryElement.appendChild( propElement );
        jposEntryElement.appendChild( doc.createTextNode( "\n" ) );
    }

    /**
     * Appends non-required properties name and value
     * @param doc the XML Document object
     * @param jposEntryElement the <JposEntryElement> XML Element object
     * @param jposEntry the JposEntry object
     * @since 1.2 (NY 2K meeting)
     */
    protected void appendPropElements( Document doc, Element jposEntryElement,
                                         JposEntry jposEntry )
    {
        jposEntryElement.appendChild( doc.
        				 createTextNode( "\n" + "    " + "    " ) );

		String comment = "Other non JavaPOS required property" +
						 " (mostly vendor properties and bus specific " + 
						 "properties i.e. RS232 )";
        
        jposEntryElement.appendChild( doc.createComment( comment ) );
        
        jposEntryElement.appendChild( doc.createTextNode( "\n" ) );

        Enumeration props = jposEntry.getPropertyNames();

        while( props.hasMoreElements() )
        {
            String propName = (String)props.nextElement();

            if( !JposEntryUtility.isRequiredPropName( propName ) )
                appendPropElement( doc, jposEntryElement, propName, 
                				   jposEntry.getPropertyValue( propName ) );
        }
    }

    /**
     * Insert the <JposEntryElement> in the XML document object
     * @param doc the XML Document object
     * @param jposEntryElement the <JposEntryElement> XML Element object
     * @param jposEntry the JposEntry object
     * @since 1.2 (NY 2K meeting)
     */
    protected void insertJposEntryInDoc( Document doc, Element jposEntryElement,
                                         JposEntry jposEntry )
    {
        appendCreationElement( doc, jposEntryElement, jposEntry );
        appendVendorElement( doc, jposEntryElement, jposEntry );
        appendJposElement( doc, jposEntryElement, jposEntry );
        appendProductElement( doc, jposEntryElement, jposEntry );
        appendPropElements( doc, jposEntryElement, jposEntry );

        doc.getDocumentElement().
        	appendChild( doc.createTextNode( "\n" + "    " ) );
        doc.getDocumentElement().
        	appendChild( jposEntryElement );
        doc.getDocumentElement().
        	appendChild( doc.createTextNode( "\n" + "    " ) );
    }

    /**
     * Insert an Enumeration of <JposEntryElement> objects in the XML document
     * @param doc the XML Document object
     * @param entries an Enumeration of JposEntry objects
     * @since 1.2 (NY 2K meeting)
     */
    protected void insertJposEntriesInDoc( Document doc, Enumeration entries )
    {
        while( entries.hasMoreElements() )
        {
            JposEntry jposEntry = (JposEntry)entries.nextElement();

            if( JposEntryUtility.isValidJposEntry( jposEntry ) )
            {
                doc.getDocumentElement().
                    appendChild( doc.createTextNode( "\n" + "    " ) );

                Element jposEntryElement = doc.createElement( "JposEntry" );

                Attr logicalNameAttr = doc.createAttribute( "logicalName" );
                logicalNameAttr.setValue( (String)jposEntry.
                                          getPropertyValue( "logicalName" ) );

                jposEntryElement.setAttributeNode( logicalNameAttr ); 

                jposEntryElement.appendChild( doc.createTextNode( "\n" ) );

                insertJposEntryInDoc( doc, jposEntryElement, jposEntry );
            }
        }
    }

    //--------------------------------------------------------------------------
    // Instance variables
    //

	protected String xmlFileName = DEFAULT_XML_FILE_NAME;
	
    protected DOMParser domParser = new DOMParser();

	private Tracer tracer = TracerFactory.getInstance().
						     createTracer( "AbstractXercesRegPopulator" );
    
    //--------------------------------------------------------------------------
    // Public constants
    //

    public static final String DTD_FILE_PATH = "jpos" + File.separator + "res";
    public static final String DTD_FILE_NAME = DTD_FILE_PATH + File.separator + "jcl.dtd";
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
六月丁香婷婷色狠狠久久| 亚洲成人综合在线| 欧美日韩亚洲高清一区二区| 成人午夜视频免费看| 国产精品主播直播| 成人免费高清视频| 成人午夜私人影院| 色综合天天做天天爱| av午夜一区麻豆| 色菇凉天天综合网| 欧美视频精品在线| 91精选在线观看| 日韩女优毛片在线| 欧美一级免费大片| 久久综合狠狠综合久久激情| 国产欧美一区二区三区沐欲| 国产精品成人一区二区艾草| 亚洲午夜国产一区99re久久| 日韩va欧美va亚洲va久久| 亚洲激情在线播放| 欧美一区二区三区免费视频 | 91在线精品秘密一区二区| 风间由美一区二区av101| 91麻豆免费看片| 欧美日本在线一区| 久久久久久一二三区| 亚洲欧美日韩久久精品| 亚洲成国产人片在线观看| 美女视频第一区二区三区免费观看网站| 久久av资源网| 一本一道久久a久久精品| 在线综合+亚洲+欧美中文字幕| www久久久久| 亚洲色图.com| 老司机免费视频一区二区| 99久久久久久| 日韩免费成人网| 专区另类欧美日韩| 美女视频一区在线观看| 色综合久久综合网97色综合| 日韩一区二区精品| 亚洲欧美在线高清| 久久99精品视频| 在线观看视频一区二区欧美日韩| 精品国产伦一区二区三区观看体验 | 欧美综合久久久| 欧美精品一区二| 亚洲妇女屁股眼交7| 成人一区二区三区中文字幕| 制服丝袜在线91| 亚洲欧美一区二区三区极速播放 | 最新高清无码专区| 日本免费新一区视频| av动漫一区二区| 久久一区二区三区四区| 香蕉乱码成人久久天堂爱免费| 懂色中文一区二区在线播放| 欧美一区二区高清| 国产精品一色哟哟哟| 欧美日韩和欧美的一区二区| 一区视频在线播放| 丰满少妇在线播放bd日韩电影| 欧美一级xxx| 午夜一区二区三区视频| 91在线高清观看| 国产精品久久三| 成人午夜碰碰视频| 国产精品麻豆久久久| 大陆成人av片| 国产亚洲视频系列| 国产精品系列在线观看| 26uuu国产日韩综合| 麻豆成人91精品二区三区| 欧美日韩国产一级片| 亚洲一区在线播放| 欧美日韩久久不卡| 污片在线观看一区二区 | 久久 天天综合| 日韩视频永久免费| 精品在线免费观看| 精品少妇一区二区三区免费观看 | 91色在线porny| 亚洲欧美怡红院| 色婷婷国产精品久久包臀| 亚洲欧美日韩一区二区三区在线观看| 97久久人人超碰| 亚洲男人的天堂在线aⅴ视频| 色哟哟国产精品| 夜夜精品视频一区二区| 欧美日韩国产色站一区二区三区| 亚洲高清在线视频| 欧美大片在线观看一区| 国产精品乡下勾搭老头1| 中文字幕在线一区二区三区| 精品久久久网站| 成人免费视频caoporn| 国产精品情趣视频| 一本色道久久综合精品竹菊| 亚洲一区二区三区四区五区中文| 欧美剧情电影在线观看完整版免费励志电影 | 国产 日韩 欧美大片| 国产精品乱码妇女bbbb| 91福利精品视频| 青娱乐精品视频| 国产欧美一区二区精品性色超碰| 色www精品视频在线观看| 日韩av在线播放中文字幕| 久久久久久久久蜜桃| 91久久精品网| 精品在线播放午夜| 一区二区三区 在线观看视频| 3d成人h动漫网站入口| 波多野结衣在线一区| 天天操天天综合网| 国产精品久久看| 日韩一级片网站| 91麻豆精东视频| 国产精品自在在线| 午夜影院久久久| 中文字幕不卡的av| 欧美一区二区久久久| 91色婷婷久久久久合中文| 韩国欧美国产1区| 午夜久久久久久电影| 无吗不卡中文字幕| 亚洲欧洲美洲综合色网| 日韩欧美一区二区视频| 91福利精品视频| 99麻豆久久久国产精品免费| 激情六月婷婷久久| 五月天网站亚洲| 亚洲美女屁股眼交3| 国产午夜精品一区二区三区嫩草| 欧美一级欧美三级在线观看| 欧美在线免费观看亚洲| 91亚洲永久精品| 成人精品在线视频观看| 国产精品中文字幕日韩精品| 日本美女一区二区| 五月天亚洲精品| 亚洲一二三专区| 亚洲男人的天堂在线观看| 国产精品久久久久久久蜜臀| 久久精品亚洲精品国产欧美| 精品国产一区二区三区忘忧草| 欧美日韩成人一区二区| 欧洲一区在线电影| 欧美私模裸体表演在线观看| 色综合久久中文综合久久97| a级高清视频欧美日韩| 成人免费看片app下载| 岛国精品一区二区| 不卡高清视频专区| 色综合天天视频在线观看| 91在线观看下载| 91视频精品在这里| 91麻豆swag| 在线免费观看视频一区| 欧美日韩一区高清| 欧美肥妇bbw| 欧美一区二区三区精品| 精品国产露脸精彩对白 | 粉嫩久久99精品久久久久久夜| 国产真实精品久久二三区| 久久99热这里只有精品| 国产乱码字幕精品高清av| 国产98色在线|日韩| 93久久精品日日躁夜夜躁欧美| 91女神在线视频| 欧美午夜精品久久久久久孕妇 | 精品在线观看免费| 国产成人综合网| 一本大道综合伊人精品热热| 欧美日韩电影在线播放| 精品国产一区二区三区久久影院| 久久精品水蜜桃av综合天堂| 中文字幕在线一区免费| 亚洲va在线va天堂| 国产又黄又大久久| 91麻豆精东视频| 777午夜精品免费视频| 久久美女高清视频| 亚洲欧美激情在线| 麻豆精品蜜桃视频网站| 国产91露脸合集magnet| 在线欧美小视频| 久久免费午夜影院| 一区二区三区四区精品在线视频| 青青草97国产精品免费观看 | 欧美老肥妇做.爰bbww视频| 2021中文字幕一区亚洲| 亚洲黄色免费网站| 精品亚洲porn| 在线亚洲一区二区| 2023国产一二三区日本精品2022| 一区二区三区在线观看动漫| 精品一区二区影视| 欧美日韩国产精品成人| 中文字幕成人在线观看| 美国欧美日韩国产在线播放|