code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
<body bgcolor='white'> | zzh-simple-hr | Znekohtml/data/test064.html | HTML | art | 22 |
&#foo; | zzh-simple-hr | Znekohtml/data/test029.html | HTML | art | 6 |
<HTML><HEAD>
<script><!--/** that's a comment containing a single quote */var head="display:''"//--></script></HEAD><BODY></BODY></HTML> | zzh-simple-hr | Znekohtml/data/test-quote-in-script-comment.html | HTML | art | 139 |
<table><tr><td><table><td> | zzh-simple-hr | Znekohtml/data/test-table-in-td.html | HTML | art | 26 |
<li>Item1<ul></li><li>Item2 | zzh-simple-hr | Znekohtml/data/test034.html | HTML | art | 27 |
&foo; | zzh-simple-hr | Znekohtml/data/test022.html | HTML | art | 5 |
<html><head><title>This doesn't work</title></head><body>Body</body></html> | zzh-simple-hr | Znekohtml/data/test-title-bug1922810.html | HTML | art | 75 |
<P><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><IMG></P> | zzh-simple-hr | Znekohtml/data/test075.html | HTML | art | 88 |
<noscript><div>hello <span>world</span></noscript> | zzh-simple-hr | Znekohtml/data/noxxx/test-noscript-parseit.html | HTML | art | 50 |
<noscript><div>hello <span>world</span></noscript> | zzh-simple-hr | Znekohtml/data/noxxx/test-noscript.html | HTML | art | 50 |
<html>
<noframes>
<p>hello
</noframes>
<body>
<p>hello again
</body>
</html> | zzh-simple-hr | Znekohtml/data/noxxx/test-noframes.html | HTML | art | 76 |
<html><head></head><h:body xmlns:h='urn:not-a-html-ns'> | zzh-simple-hr | Znekohtml/data/test-non-html-ns.html | HTML | art | 55 |
</html><h1>foo</h1> | zzh-simple-hr | Znekohtml/data/test098.html | HTML | art | 19 |
<html><head><title>first</title></head>
<frameset cols='100%'>
<frame src='foo' id='frame1'/>
</frameset></html> | zzh-simple-hr | Znekohtml/data/frameset/test-frameset.html | HTML | art | 114 |
<a href=/path/>blah</a> | zzh-simple-hr | Znekohtml/data/test018.html | HTML | art | 23 |
<html><head>
<script src='/foo.js'><!-- this shouldn't be a problem --></script>
<script src='/foo.js'><!-- this shouldn't be a problem either --> </script>
</head><body></body></html> | zzh-simple-hr | Znekohtml/data/test-quote-in-comment.html | HTML | art | 184 |
<HTML>Hello<p>World | zzh-simple-hr | Znekohtml/data/test088.html | HTML | art | 19 |
<textarea>arf "woof</textarea> | zzh-simple-hr | Znekohtml/data/test-quote-in-textarea.html | HTML | art | 30 |
<p>P1<![CDATA[<h1>Header</h1>]]>
<p>P2 | zzh-simple-hr | Znekohtml/data/test080.html | HTML | art | 39 |
<table><tr><th><div></th></tr>
<tr><td></td></tr>
</table> | zzh-simple-hr | Znekohtml/data/test-th-closes-div.html | HTML | art | 58 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/HTMLEntities.java | Java | art | 3,789 |
/*
* Copyright 2004-2008 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/HTMLComponent.java | Java | art | 1,559 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/HTMLElements.java | Java | art | 30,843 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/HTMLEventInfo.java | Java | art | 3,517 |
/*
* Copyright Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/LostText.java | Java | art | 2,524 |
/*
* Copyright Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/xercesbridge/XercesBridge_2_3.java | Java | art | 1,524 |
/*
* Copyright Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/xercesbridge/XercesBridge.java | Java | art | 3,891 |
/*
* Copyright Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/xercesbridge/XercesBridge_2_2.java | Java | art | 2,097 |
/*
* Copyright Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/xercesbridge/XercesBridge_2_1.java | Java | art | 2,050 |
/*
* Copyright Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/xercesbridge/XercesBridge_2_0.java | Java | art | 1,939 |
/*
* Copyright 2002-2008 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/SecuritySupport.java | Java | art | 3,443 |
/*
* Copyright 2002-2008 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/SecuritySupport12.java | Java | art | 4,489 |
/*
* Copyright 2001-2008 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/ObjectFactory.java | Java | art | 19,283 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/filters/ElementRemover.java | Java | art | 12,742 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/filters/Identity.java | Java | art | 3,709 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/filters/DefaultFilter.java | Java | art | 12,932 |
/*
* Copyright 2004-2008 Andy Clark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/filters/NamespaceBinder.java | Java | art | 21,326 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/filters/Writer.java | Java | art | 17,260 |
/*
* Copyright 2004-2008 Andy Clark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/filters/Purifier.java | Java | art | 15,987 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/HTMLScanner.java | Java | art | 139,835 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/HTMLConfiguration.java | Java | art | 24,441 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/HTMLTagBalancingListener.java | Java | art | 1,534 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/HTMLErrorReporter.java | Java | art | 1,931 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/parsers/DOMParser.java | Java | art | 4,248 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/parsers/SAXParser.java | Java | art | 1,123 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/src/org/cyberneko/html/parsers/DOMFragmentParser.java | Java | art | 21,076 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/sample/sample/Script.java | Java | art | 8,190 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/sample/sample/HTMLSAXParser.java | Java | art | 1,222 |
/*
* Copyright 2007-2008 Andy Clark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzh-simple-hr | Znekohtml/sample/sample/Minimal.java | Java | art | 1,842 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/sample/sample/RemoveElements.java | Java | art | 2,380 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/sample/sample/TestHTMLDOMFragment.java | Java | art | 2,047 |
package org.cyberneko.html;
import java.io.ByteArrayInputStream;
import junit.framework.TestCase;
import org.apache.xerces.parsers.AbstractSAXParser;
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.InputSource;
import org.xml.sax.helpers.DefaultHandler;
/**
* Unit test for <a h... | zzh-simple-hr | Znekohtml/test/org/cyberneko/html/HeadNamespaceBug.java | Java | art | 1,678 |
package org.cyberneko.html;
import java.io.IOException;
import org.apache.xerces.util.DefaultErrorHandler;
import org.apache.xerces.xni.XNIException;
import org.apache.xerces.xni.parser.XMLParseException;
/**
* Error handler for test purposes: just logs the errors to the provided PrintWriter.
* @author Marc Guille... | zzh-simple-hr | Znekohtml/test/org/cyberneko/html/HTMLErrorHandler.java | Java | art | 1,282 |
/*
* Copyright 2005-2008 Andy Clark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zzh-simple-hr | Znekohtml/test/org/cyberneko/html/UTF8BOMSkipper.java | Java | art | 3,304 |
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | zzh-simple-hr | Znekohtml/test/org/cyberneko/html/Writer.java | Java | art | 15,789 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>游戏</title>
<meta name="keywords" content="" />
<meta name="desc... | zzh-simple-hr | Zhopool/document/抽奖/index.html | HTML | art | 3,863 |
body{font-size:12px; font-family:Verdana, "Lucida Grande", Arial, Helvetica, sans-serif; color:#333;}
body{ padding:0px; margin:0px; background:#FFF;}
div,ul,li,img,p{ margin:0px; padding:0px;}
a img{ border:0px;}
.bold {font-weight:bold;}
.normal {font-weight:normal;}
.pointer {cursor:pointer;}
.underline ... | zzh-simple-hr | Zhopool/document/抽奖/css/Global.css | CSS | art | 3,074 |
package com.hopool.shop.exception;
public class ServiceException extends Exception{
public ServiceException() {
super();
}
public ServiceException(String message) {
super(message);
}
}
| zzh-simple-hr | Zshop/src/com/hopool/shop/exception/ServiceException.java | Java | art | 211 |
package com.hopool.shop.exception;
public class OrderException extends Exception{
public OrderException() {
super();
}
public OrderException(String message) {
super(message);
}
}
| zzh-simple-hr | Zshop/src/com/hopool/shop/exception/OrderException.java | Java | art | 205 |
package com.hopool.shop.service;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.hopool.shop.BaseTest;
public class ServiceBaseTest extends BaseTest {
protected ApplicationContext ctx = new ClassPathXmlApplicationCo... | zzh-simple-hr | Zshop/src/com/hopool/shop/service/ServiceBaseTest.java | Java | art | 587 |
package com.hopool.shop.service;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.orm.hibernate3.HibernateTemplate;
import com.hopool.shop.dao.BaseDao;
import com.hopool.shop.exception.Ser... | zzh-simple-hr | Zshop/src/com/hopool/shop/service/BaseService.java | Java | art | 1,455 |
package com.hopool.shop.service.order;
import java.util.List;
import com.hopool.shop.exception.OrderException;
import com.hopool.shop.order.Order;
import com.hopool.shop.order.OrderProducts;
import com.hopool.shop.service.BaseServiceI;
public interface OrderServiceI extends BaseServiceI{
public void ad... | zzh-simple-hr | Zshop/src/com/hopool/shop/service/order/OrderServiceI.java | Java | art | 956 |
package com.hopool.shop.service.order;
import java.util.List;
import org.hibernate.Session;
import com.hopool.shop.exception.OrderException;
import com.hopool.shop.exception.ServiceException;
import com.hopool.shop.order.Order;
import com.hopool.shop.order.OrderProducts;
import com.hopool.shop.service.Base... | zzh-simple-hr | Zshop/src/com/hopool/shop/service/order/OrderService.java | Java | art | 2,137 |
package com.hopool.shop.service;
import java.util.List;
import org.hibernate.Session;
import com.hopool.shop.exception.ServiceException;
public interface BaseServiceI {
public List page(Object exampleobj,Integer firstResult,
Integer maxResults,String orderType,String... customProperties)throws Service... | zzh-simple-hr | Zshop/src/com/hopool/shop/service/BaseServiceI.java | Java | art | 431 |
package com.hopool.shop.member;
import java.util.Date;
import org.hibernate.Session;
import com.hopool.shop.BaseTest;
public class MemberTest extends BaseTest{
public void testMemberCRUD(){
Member mem = new Member();
mem.setAccount("xiao1");
mem.setEmail("as@dd.com");
mem.setMobile("130");
... | zzh-simple-hr | Zshop/src/com/hopool/shop/member/MemberTest.java | Java | art | 697 |
package com.hopool.shop.member;
import java.util.Date;
public class Member {
private String account;
private String password;
private String mobile;
private String email;
private Date registerDate;
private Integer status;
public String getAccount() {
return account;
}
public void setAccount(S... | zzh-simple-hr | Zshop/src/com/hopool/shop/member/Member.java | Java | art | 1,022 |
package com.hopool.shop;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import junit.framework.TestCase;
public class BaseTest extends TestCase{
protected SessionFactory sf;
public BaseTest() {
super();
}
public BaseTest(String name) {
super(name);
}
@Ov... | zzh-simple-hr | Zshop/src/com/hopool/shop/BaseTest.java | Java | art | 553 |
package com.hopool.shop.dao;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.hopool.shop.BaseTest;
public c... | zzh-simple-hr | Zshop/src/com/hopool/shop/dao/DaoBaseTest.java | Java | art | 950 |
package com.hopool.shop.dao.product;
import java.sql.SQLException;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.orm.hibernate3.HibernateCallback;
import org.springfram... | zzh-simple-hr | Zshop/src/com/hopool/shop/dao/product/ProductTypeDao.java | Java | art | 6,838 |
package com.hopool.shop.dao.product;
import java.util.List;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import org.hibernate.criterion.Projections;
import com.hopool.shop.dao.BaseDao;
import com.hopool.shop.product.Product;
public class ProductDao extends BaseDao{
/*
@Suppress... | zzh-simple-hr | Zshop/src/com/hopool/shop/dao/product/ProductDao.java | Java | art | 1,577 |
package com.hopool.shop.dao.product;
import java.util.Date;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import com.hopool.shop.dao.DaoBaseTest;
import com.hopool.shop.product.Product;
import com.hopool.shop.product.ProductType;
public class ProductDaoTest extends DaoBaseTest{
pri... | zzh-simple-hr | Zshop/src/com/hopool/shop/dao/product/ProductDaoTest.java | Java | art | 1,434 |
package com.hopool.shop.dao;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Example;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Projections;
import org.springframework.orm.hiber... | zzh-simple-hr | Zshop/src/com/hopool/shop/dao/BaseDao.java | Java | art | 2,331 |
package com.hopool.shop.dao;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import org.hibernate.Criteria;
public class PageUtil {
public static final String DEFAULT_ORDER_PROPERTY = "createDate";
public static final String ORDER_ASC = "asc";
public static final Stri... | zzh-simple-hr | Zshop/src/com/hopool/shop/dao/PageUtil.java | Java | art | 1,290 |
package com.hopool.shop.dao;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
public class SessionUtil {
protected static SessionFactory sf;
protected static ThreadLocal<Session> tl = new ThreadLocal<Session>();
static{
Configuration cfg = new ... | zzh-simple-hr | Zshop/src/com/hopool/shop/dao/SessionUtil.java | Java | art | 724 |
package com.hopool.shop.product;
import java.util.Date;
/**
*
* @author zzh
*
*/
public class Product {
private Long id;
private String name;
private String code;
// private String photo;
private Date createDate;
private String status;
private ProductType productType;
public String getSta... | zzh-simple-hr | Zshop/src/com/hopool/shop/product/Product.java | Java | art | 1,042 |
package com.hopool.shop.product;
import java.util.Date;
import java.util.List;
public class ProductType {
private Long id;
private String name;
private Long parentType;
private Long left;
private Long right;
private Long depth;
private Date createDate;
private List<Product> products;
public Pro... | zzh-simple-hr | Zshop/src/com/hopool/shop/product/ProductType.java | Java | art | 1,924 |
package com.hopool.shop.market;
public class PromotionalLimitTime extends Promotional{
private LimitTime limitTime;
}
| zzh-simple-hr | Zshop/src/com/hopool/shop/market/PromotionalLimitTime.java | Java | art | 128 |
package com.hopool.shop.market;
import java.util.Date;
public class LimitTime{
private Date startDate;
private Date endDate;
public Date getStartDate() {
return startDate;
}
public void setStartDate(Date startDate) {
this.startDate = startDate;
}
public Date getEndDate() {
return endDate;
... | zzh-simple-hr | Zshop/src/com/hopool/shop/market/LimitTime.java | Java | art | 399 |
package com.hopool.shop.market;
public class PromotionalType {
private Long id;
private String description;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getDescription() {
return description;
}
public void setDescription(String description) ... | zzh-simple-hr | Zshop/src/com/hopool/shop/market/PromotionalType.java | Java | art | 365 |
package com.hopool.shop.market.integral;
public class Integral {
}
| zzh-simple-hr | Zshop/src/com/hopool/shop/market/integral/Integral.java | Java | art | 74 |
package com.hopool.shop.market.gift;
public class Gift {
}
| zzh-simple-hr | Zshop/src/com/hopool/shop/market/gift/Gift.java | Java | art | 66 |
package com.hopool.shop.market;
import java.util.List;
import com.hopool.shop.product.Product;
public class PromotionalProduct extends PromotionalLimitTime{
private List<Product> products;
}
| zzh-simple-hr | Zshop/src/com/hopool/shop/market/PromotionalProduct.java | Java | art | 207 |
package com.hopool.shop.market;
import java.util.List;
import com.hopool.shop.product.ProductType;
public class PromotionalProductType extends PromotionalLimitTime{
private List<ProductType> productTypes;
}
| zzh-simple-hr | Zshop/src/com/hopool/shop/market/PromotionalProductType.java | Java | art | 223 |
package com.hopool.shop.market;
import java.util.Date;
/**
* an abstract promotional
* @author Administrator
*
*/
public class Promotional {
private Long id;
private String name;
private Integer status;
private Date createDate;
private PromotionalType promotionalType;
public PromotionalType g... | zzh-simple-hr | Zshop/src/com/hopool/shop/market/Promotional.java | Java | art | 962 |
package com.hopool.shop.market.award;
public class Award {
}
| zzh-simple-hr | Zshop/src/com/hopool/shop/market/award/Award.java | Java | art | 68 |
package com.hopool.shop.market;
import java.util.List;
import com.hopool.shop.product.Product;
public class PromotionalAllMarket extends PromotionalLimitTime{
private List<Product> excludeProducts;
}
| zzh-simple-hr | Zshop/src/com/hopool/shop/market/PromotionalAllMarket.java | Java | art | 216 |
package com.hopool.shop.market.charity;
public class Charity {
}
| zzh-simple-hr | Zshop/src/com/hopool/shop/market/charity/Charity.java | Java | art | 72 |
package com.hopool.shop.order;
import java.util.Date;
import java.util.List;
import com.hopool.shop.member.Member;
public class Order {
private Long id;
private String orderNumber;
private Double money;
private String status;
private Date createDate;
private Member member;
private List<OrderPr... | zzh-simple-hr | Zshop/src/com/hopool/shop/order/Order.java | Java | art | 1,285 |
package com.hopool.shop.order;
import com.hopool.shop.product.Product;
public class OrderProducts {
private Long id;
private Order order;
private Product product;
private Double productAmount;
public Order getOrder() {
return order;
}
public void setOrder(Order order) {
this.order = order;
}... | zzh-simple-hr | Zshop/src/com/hopool/shop/order/OrderProducts.java | Java | art | 713 |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see http://ckeditor.com/license
*/
package com.ckeditor;
import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;
/**
* Helper class for CKEditor tags.
*/
public class TagHelper {
priv... | zzh-simple-hr | ZJs/src/com/ckeditor/TagHelper.java | Java | art | 4,815 |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see http://ckeditor.com/license
*/
package com.ckeditor;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
/**
* CKEditor event handler class.
* <b>Usage:</b... | zzh-simple-hr | ZJs/src/com/ckeditor/EventHandler.java | Java | art | 1,578 |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see http://ckeditor.com/license
*/
package com.ckeditor;
import java.io.IOException;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.jsp.JspException;
import javax.servlet... | zzh-simple-hr | ZJs/src/com/ckeditor/CKEditorTag.java | Java | art | 6,221 |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see http://ckeditor.com/license
*/
package com.ckeditor;
/**
* <code><ckeditor:replaceAll></code> tag code.
* <b>Usage:</b>
* <pre><ckeditor:replaceAll basePath="/ckeditor/" /></pre>
*/
public class... | zzh-simple-hr | ZJs/src/com/ckeditor/CKEditorReplaceAllTag.java | Java | art | 1,672 |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see http://ckeditor.com/license
*/
/**
* CKEditor for Java - the server side integration for CKEditor.
*/
package com.ckeditor; | zzh-simple-hr | ZJs/src/com/ckeditor/package-info.java | Java | art | 230 |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see http://ckeditor.com/license
*/
package com.ckeditor;
/**
* <code><ckeditor:replace></code> tag code.
* <b>Usage:</b>
* <pre><ckeditor:replace replace="editor1" basePath="/ckeditor/" /></pre>
*/... | zzh-simple-hr | ZJs/src/com/ckeditor/CKEditorReplaceTag.java | Java | art | 1,125 |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see http://ckeditor.com/license
*/
package com.ckeditor;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.jsp.JspExcep... | zzh-simple-hr | ZJs/src/com/ckeditor/CKEditorInsertTag.java | Java | art | 3,876 |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see http://ckeditor.com/license
*/
package com.ckeditor;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
/**
* CKEditor global events class.
* <b>Usage:</b... | zzh-simple-hr | ZJs/src/com/ckeditor/GlobalEventHandler.java | Java | art | 1,303 |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see http://ckeditor.com/license
*/
package com.ckeditor;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* CKEditor configuration class.
*/
public class CKEdit... | zzh-simple-hr | ZJs/src/com/ckeditor/CKEditorConfig.java | Java | art | 5,095 |
<html>
<head>
<title>ssss</title>
</head>
<body>
<h1>sdfsdfsdf</h1>
</body>
</html> | zzh-simple-hr | ZJs/webapp/index.html | HTML | art | 94 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="brull@163.com,brull" />
<script... | zzh-simple-hr | ZJs/webapp/my-js/windows-desktop.html | HTML | art | 19,199 |