-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
25 additions
and
64 deletions.
There are no files selected for viewing
31 changes: 2 additions & 29 deletions
31
...ib-autodoc/src/main/java/org/fugerit/java/doc/lib/autodoc/parser/model/AutodocChoice.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,17 @@ | ||
package org.fugerit.java.doc.lib.autodoc.parser.model; | ||
|
||
import java.util.stream.Stream; | ||
|
||
import org.xmlet.xsdparser.xsdelements.XsdChoice; | ||
import org.xmlet.xsdparser.xsdelements.XsdElement; | ||
import org.xmlet.xsdparser.xsdelements.XsdSequence; | ||
|
||
public class AutodocChoice extends AutodocMulti { | ||
public class AutodocChoice extends AutodocMulti<XsdChoice> { | ||
|
||
|
||
/** | ||
* | ||
*/ | ||
private static final long serialVersionUID = 6551113305251367239L; | ||
|
||
public XsdChoice getContent() { | ||
return content; | ||
} | ||
|
||
private transient XsdChoice content; | ||
|
||
public AutodocChoice(XsdChoice content) { | ||
super(); | ||
this.content = content; | ||
} | ||
|
||
@Override | ||
protected Stream<XsdElement> getElementsStream() { | ||
return this.getContent().getChildrenElements(); | ||
} | ||
|
||
|
||
@Override | ||
protected Stream<XsdChoice> getChoiceStream() { | ||
return this.getContent().getChildrenChoices(); | ||
} | ||
|
||
@Override | ||
protected Stream<XsdSequence> getSequencesStream() { | ||
return this.getContent().getChildrenSequences(); | ||
super(content); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 2 additions & 29 deletions
31
...-autodoc/src/main/java/org/fugerit/java/doc/lib/autodoc/parser/model/AutodocSequence.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,16 @@ | ||
package org.fugerit.java.doc.lib.autodoc.parser.model; | ||
|
||
import java.util.stream.Stream; | ||
|
||
import org.xmlet.xsdparser.xsdelements.XsdChoice; | ||
import org.xmlet.xsdparser.xsdelements.XsdElement; | ||
import org.xmlet.xsdparser.xsdelements.XsdSequence; | ||
|
||
public class AutodocSequence extends AutodocMulti { | ||
public class AutodocSequence extends AutodocMulti<XsdSequence> { | ||
|
||
/** | ||
* | ||
*/ | ||
private static final long serialVersionUID = -3570826182659230472L; | ||
|
||
public XsdSequence getContent() { | ||
return content; | ||
} | ||
|
||
private transient XsdSequence content; | ||
|
||
public AutodocSequence(XsdSequence content) { | ||
super(); | ||
this.content = content; | ||
} | ||
|
||
@Override | ||
protected Stream<XsdElement> getElementsStream() { | ||
return this.getContent().getChildrenElements(); | ||
} | ||
|
||
|
||
@Override | ||
protected Stream<XsdChoice> getChoiceStream() { | ||
return this.getContent().getChildrenChoices(); | ||
} | ||
|
||
@Override | ||
protected Stream<XsdSequence> getSequencesStream() { | ||
return this.getContent().getChildrenSequences(); | ||
super(content); | ||
} | ||
|
||
} |