Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2

Revert "BAEL-3275: Using blocking queue for pub-sub"
This commit is contained in:
Eric Martin
2019-10-31 20:43:47 -05:00
committed by GitHub
parent db85c8f275
commit 3225470df5
20543 changed files with 1642750 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="qualified" targetNamespace="http://www.jibx.xml.baeldung.com/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Order">
<xs:complexType>
<xs:sequence>
<xs:element name="Address" maxOccurs="unbounded"
minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="Name" />
</xs:sequence>
<xs:attribute type="xs:string" name="Type" use="optional" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:int" name="OrderNumber" />
<xs:attribute type="xs:date" name="OrderDate" />
</xs:complexType>
</xs:element>
</xs:schema>
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<binding>
<mapping class="com.baeldung.xml.jibx.Identity" abstract="true">
<value name="customer-id" field="customerId" />
</mapping>
<mapping name="customer" class="com.baeldung.xml.jibx.Customer">
<structure field="person" />
<structure name="home-phone" field="homePhone" usage="optional" />
<structure name="office-phone" field="officePhone" usage="optional" />
<value name="city" field="city" />
</mapping>
<mapping name="person" class="com.baeldung.xml.jibx.Person"
extends="com.baeldung.xml.jibx.Identity">
<structure map-as="com.baeldung.xml.jibx.Identity" />
<value name="name" field="name" />
</mapping>
<mapping class="com.baeldung.xml.jibx.Phone" abstract="true">
<value name="number" field="number" />
</mapping>
</binding>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
</pattern>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>
+16
View File
@@ -0,0 +1,16 @@
<baeldung>
<articles>
<article>
<title>Parsing an XML File Using SAX Parser</title>
<content>SAX Parser's Lorem ipsum...</content>
</article>
<article>
<title>Parsing an XML File Using DOM Parser</title>
<content>DOM Parser's Lorem ipsum...</content>
</article>
<article>
<title>Parsing an XML File Using StAX Parser</title>
<content>StAX Parser's Lorem ipsum...</content>
</article>
</articles>
</baeldung>
+5
View File
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<notification id="5">
<to customer="true">john@email.com</to>
<from>mary@email.com</from>
</notification>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<notification id="5">
<to customer="false">john@email.com</to>
<from>mary@email.com</from>
</notification>
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xmlexample>
<ancestor>
<descendantOne>Yo</descendantOne>
<descendantTwo>
<descendantThree>
DustyOrb
</descendantThree>
</descendantTwo>
</ancestor>
</xmlexample>
+14
View File
@@ -0,0 +1,14 @@
<html>
<head>
<meta title="example"/>
</head>
<body>
<p>descendantOne: Yo</p>
<div>
<p>descendantThree:
DustyOrb
</p>
</div>
</body>
</html>
+13
View File
@@ -0,0 +1,13 @@
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>descendantOne: Yo</p>
<div>
<p>descendantThree:
DustyOrb
</p>
</div>
</body>
</html>
+15
View File
@@ -0,0 +1,15 @@
<html>
<head>
<meta></meta>
</head>
<body>
<p>descendantOne: Yo</p>
<div>
<p>
descendantThree:
DustyOrb
</p>
</div>
</body>
</html>