
com.sun.tools.xjc.reader.dtd.Block Maven / Gradle / Ivy
Go to download
Old JAXB Binding Compiler. Contains source code needed for binding customization files into java sources.
In other words: the *tool* to generate java classes for the given xml representation.
package com.sun.tools.xjc.reader.dtd;
import java.util.LinkedHashSet;
import java.util.Set;
/**
* @author Kohsuke Kawaguchi
*/
final class Block {
final boolean isOptional;
final boolean isRepeated;
/**
* {@link Element}s that belong to this block.
*
* We want to preserve the order they are added, but we don't want
* dupliates.
*/
final Set elements = new LinkedHashSet();
Block(boolean optional, boolean repeated) {
isOptional = optional;
isRepeated = repeated;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy