An ObjectFactory allows you to programatically
- * construct new instances of the Java representation
- * for XML content. The Java representation of XML
- * content can consist of schema derived interfaces
- * and classes representing the binding of schema
- * type definitions, element declarations and model
- * groups. Factory methods for each of these are
- * provided in this class.
- *
- */
-@XmlRegistry
-public class ObjectFactory {
-
- private final static QName _XmlBookXmlPageXmlLineTpl_QNAME = new QName("", "tpl");
- private final static QName _XmlBookXmlPageXmlLineObj_QNAME = new QName("", "obj");
-
- /**
- * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.mcmiddleearth.plugins.dynamicbooks.jaxb
- *
- */
- public ObjectFactory() {
- }
-
- /**
- * Create an instance of {@link XmlBook }
- *
- */
- public XmlBook createXmlBook() {
- return new XmlBook();
- }
-
- /**
- * Create an instance of {@link XmlTemplate }
- *
- */
- public XmlTemplate createXmlTemplate() {
- return new XmlTemplate();
- }
-
- /**
- * Create an instance of {@link XmlBook.XmlPage }
- *
- */
- public XmlBook.XmlPage createXmlBookXmlPage() {
- return new XmlBook.XmlPage();
- }
-
- /**
- * Create an instance of {@link XmlBook.XmlPage.XmlLine }
- *
- */
- public XmlBook.XmlPage.XmlLine createXmlBookXmlPageXmlLine() {
- return new XmlBook.XmlPage.XmlLine();
- }
-
- /**
- * Create an instance of {@link XmlBook.XmlPermissions }
- *
- */
- public XmlBook.XmlPermissions createXmlBookXmlPermissions() {
- return new XmlBook.XmlPermissions();
- }
-
- /**
- * Create an instance of {@link XmlBook.XmlTemplates }
- *
- */
- public XmlBook.XmlTemplates createXmlBookXmlTemplates() {
- return new XmlBook.XmlTemplates();
- }
-
- /**
- * Create an instance of {@link XmlTemplate.XmlOptions }
- *
- */
- public XmlTemplate.XmlOptions createXmlTemplateXmlOptions() {
- return new XmlTemplate.XmlOptions();
- }
-
- /**
- * Create an instance of {@link XmlBook.XmlPage.XmlLine.XmlTpl }
- *
- */
- public XmlBook.XmlPage.XmlLine.XmlTpl createXmlBookXmlPageXmlLineXmlTpl() {
- return new XmlBook.XmlPage.XmlLine.XmlTpl();
- }
-
- /**
- * Create an instance of {@link XmlBook.XmlPage.XmlLine.XmlObj }
- *
- */
- public XmlBook.XmlPage.XmlLine.XmlObj createXmlBookXmlPageXmlLineXmlObj() {
- return new XmlBook.XmlPage.XmlLine.XmlObj();
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link XmlBook.XmlPage.XmlLine.XmlTpl }{@code >}
- *
- * @param value
- * Java instance representing xml element's value.
- * @return
- * the new instance of {@link JAXBElement }{@code <}{@link XmlBook.XmlPage.XmlLine.XmlTpl }{@code >}
- */
- @XmlElementDecl(namespace = "", name = "tpl", scope = XmlBook.XmlPage.XmlLine.class)
- public JAXBElement Java class for anonymous complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * This accessor method returns a reference to the live list,
- * not a snapshot. Therefore any modification you make to the
- * returned list will be present inside the JAXB object.
- * This is why there is not a
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link XmlBook.XmlPage }
- *
- *
- */
- public List Java class for anonymous complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * This accessor method returns a reference to the live list,
- * not a snapshot. Therefore any modification you make to the
- * returned list will be present inside the JAXB object.
- * This is why there is not a
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link XmlBook.XmlPage.XmlLine }
- *
- *
- */
- public List Java class for anonymous complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * This accessor method returns a reference to the live list,
- * not a snapshot. Therefore any modification you make to the
- * returned list will be present inside the JAXB object.
- * This is why there is not a
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link JAXBElement }{@code <}{@link XmlBook.XmlPage.XmlLine.XmlTpl }{@code >}
- * {@link JAXBElement }{@code <}{@link XmlBook.XmlPage.XmlLine.XmlObj }{@code >}
- * {@link String }
- *
- *
- */
- public List Java class for anonymous complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for anonymous complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for anonymous complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for anonymous complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * This accessor method returns a reference to the live list,
- * not a snapshot. Therefore any modification you make to the
- * returned list will be present inside the JAXB object.
- * This is why there is not a
- * For example, to add a new item, do as follows:
- *
- * Objects of the following type(s) are allowed in the list
- * {@link XmlTemplate }
- *
- *
- */
- public List Java class for template complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- * Java class for anonymous complex type.
- *
- * The following schema fragment specifies the expected content contained within this class.
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="permissions" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="give" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * <element name="open" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * <element name="giveremote" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * <element name="openremote" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="templates" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="template" type="{}template" maxOccurs="unbounded"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="page" maxOccurs="100">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="line" maxOccurs="14">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <choice maxOccurs="unbounded">
- * <element name="tpl" maxOccurs="unbounded">
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg1" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg2" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg3" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg4" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg5" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="styles" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="color" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="auto-type" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="hover-text" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="execute" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="open-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="give-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </extension>
- * </simpleContent>
- * </complexType>
- * </element>
- * <element name="obj" maxOccurs="unbounded">
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="styles" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="color" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="auto-type" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="hover-text" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="execute" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="open-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="give-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </extension>
- * </simpleContent>
- * </complexType>
- * </element>
- * </choice>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="author" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "permissions",
- "templates",
- "page"
-})
-@XmlRootElement(name = "book")
-public class XmlBook {
-
- protected XmlBook.XmlPermissions permissions;
- protected XmlBook.XmlTemplates templates;
- @XmlElement(required = true)
- protected Listset
method for the page property.
- *
- *
- * getPage().add(newItem);
- *
- *
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="line" maxOccurs="14">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <choice maxOccurs="unbounded">
- * <element name="tpl" maxOccurs="unbounded">
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg1" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg2" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg3" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg4" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg5" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="styles" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="color" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="auto-type" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="hover-text" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="execute" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="open-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="give-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </extension>
- * </simpleContent>
- * </complexType>
- * </element>
- * <element name="obj" maxOccurs="unbounded">
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="styles" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="color" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="auto-type" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="hover-text" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="execute" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="open-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="give-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </extension>
- * </simpleContent>
- * </complexType>
- * </element>
- * </choice>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "line"
- })
- public static class XmlPage {
-
- @XmlElement(required = true)
- protected Listset
method for the line property.
- *
- *
- * getLine().add(newItem);
- *
- *
- *
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <choice maxOccurs="unbounded">
- * <element name="tpl" maxOccurs="unbounded">
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg1" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg2" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg3" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg4" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg5" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="styles" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="color" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="auto-type" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="hover-text" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="execute" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="open-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="give-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </extension>
- * </simpleContent>
- * </complexType>
- * </element>
- * <element name="obj" maxOccurs="unbounded">
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="styles" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="color" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="auto-type" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="hover-text" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="execute" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="open-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="give-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </extension>
- * </simpleContent>
- * </complexType>
- * </element>
- * </choice>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "content"
- })
- public static class XmlLine {
-
- @XmlElementRefs({
- @XmlElementRef(name = "tpl", type = JAXBElement.class, required = false),
- @XmlElementRef(name = "obj", type = JAXBElement.class, required = false)
- })
- @XmlMixed
- protected Listset
method for the content property.
- *
- *
- * getContent().add(newItem);
- *
- *
- *
- *
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="styles" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="color" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="auto-type" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="hover-text" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="execute" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="open-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="give-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </extension>
- * </simpleContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "value"
- })
- public static class XmlObj {
-
- @XmlValue
- protected String value;
- @XmlAttribute(name = "styles")
- protected String styles;
- @XmlAttribute(name = "color")
- protected String color;
- @XmlAttribute(name = "auto-type")
- protected String autoType;
- @XmlAttribute(name = "page")
- protected String page;
- @XmlAttribute(name = "url")
- protected String url;
- @XmlAttribute(name = "hover-text")
- protected String hoverText;
- @XmlAttribute(name = "execute")
- protected String execute;
- @XmlAttribute(name = "open-book")
- protected String openBook;
- @XmlAttribute(name = "give-book")
- protected String giveBook;
-
- /**
- * Gets the value of the value property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setValue(String value) {
- this.value = value;
- }
-
- /**
- * Gets the value of the styles property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getStyles() {
- return styles;
- }
-
- /**
- * Sets the value of the styles property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setStyles(String value) {
- this.styles = value;
- }
-
- /**
- * Gets the value of the color property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getColor() {
- return color;
- }
-
- /**
- * Sets the value of the color property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setColor(String value) {
- this.color = value;
- }
-
- /**
- * Gets the value of the autoType property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getAutoType() {
- return autoType;
- }
-
- /**
- * Sets the value of the autoType property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setAutoType(String value) {
- this.autoType = value;
- }
-
- /**
- * Gets the value of the page property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getPage() {
- return page;
- }
-
- /**
- * Sets the value of the page property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setPage(String value) {
- this.page = value;
- }
-
- /**
- * Gets the value of the url property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getUrl() {
- return url;
- }
-
- /**
- * Sets the value of the url property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setUrl(String value) {
- this.url = value;
- }
-
- /**
- * Gets the value of the hoverText property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getHoverText() {
- return hoverText;
- }
-
- /**
- * Sets the value of the hoverText property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setHoverText(String value) {
- this.hoverText = value;
- }
-
- /**
- * Gets the value of the execute property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getExecute() {
- return execute;
- }
-
- /**
- * Sets the value of the execute property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setExecute(String value) {
- this.execute = value;
- }
-
- /**
- * Gets the value of the openBook property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getOpenBook() {
- return openBook;
- }
-
- /**
- * Sets the value of the openBook property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setOpenBook(String value) {
- this.openBook = value;
- }
-
- /**
- * Gets the value of the giveBook property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getGiveBook() {
- return giveBook;
- }
-
- /**
- * Sets the value of the giveBook property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setGiveBook(String value) {
- this.giveBook = value;
- }
-
- }
-
-
- /**
- *
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg1" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg2" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg3" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg4" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="arg5" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="styles" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="color" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="auto-type" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="hover-text" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="execute" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="open-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="give-book" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </extension>
- * </simpleContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "value"
- })
- public static class XmlTpl {
-
- @XmlValue
- protected String value;
- @XmlAttribute(name = "ref", required = true)
- protected String ref;
- @XmlAttribute(name = "arg1")
- protected String arg1;
- @XmlAttribute(name = "arg2")
- protected String arg2;
- @XmlAttribute(name = "arg3")
- protected String arg3;
- @XmlAttribute(name = "arg4")
- protected String arg4;
- @XmlAttribute(name = "arg5")
- protected String arg5;
- @XmlAttribute(name = "styles")
- protected String styles;
- @XmlAttribute(name = "color")
- protected String color;
- @XmlAttribute(name = "auto-type")
- protected String autoType;
- @XmlAttribute(name = "page")
- protected String page;
- @XmlAttribute(name = "url")
- protected String url;
- @XmlAttribute(name = "hover-text")
- protected String hoverText;
- @XmlAttribute(name = "execute")
- protected String execute;
- @XmlAttribute(name = "open-book")
- protected String openBook;
- @XmlAttribute(name = "give-book")
- protected String giveBook;
-
- /**
- * Gets the value of the value property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setValue(String value) {
- this.value = value;
- }
-
- /**
- * Gets the value of the ref property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getRef() {
- return ref;
- }
-
- /**
- * Sets the value of the ref property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setRef(String value) {
- this.ref = value;
- }
-
- /**
- * Gets the value of the arg1 property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getArg1() {
- return arg1;
- }
-
- /**
- * Sets the value of the arg1 property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setArg1(String value) {
- this.arg1 = value;
- }
-
- /**
- * Gets the value of the arg2 property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getArg2() {
- return arg2;
- }
-
- /**
- * Sets the value of the arg2 property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setArg2(String value) {
- this.arg2 = value;
- }
-
- /**
- * Gets the value of the arg3 property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getArg3() {
- return arg3;
- }
-
- /**
- * Sets the value of the arg3 property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setArg3(String value) {
- this.arg3 = value;
- }
-
- /**
- * Gets the value of the arg4 property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getArg4() {
- return arg4;
- }
-
- /**
- * Sets the value of the arg4 property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setArg4(String value) {
- this.arg4 = value;
- }
-
- /**
- * Gets the value of the arg5 property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getArg5() {
- return arg5;
- }
-
- /**
- * Sets the value of the arg5 property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setArg5(String value) {
- this.arg5 = value;
- }
-
- /**
- * Gets the value of the styles property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getStyles() {
- return styles;
- }
-
- /**
- * Sets the value of the styles property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setStyles(String value) {
- this.styles = value;
- }
-
- /**
- * Gets the value of the color property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getColor() {
- return color;
- }
-
- /**
- * Sets the value of the color property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setColor(String value) {
- this.color = value;
- }
-
- /**
- * Gets the value of the autoType property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getAutoType() {
- return autoType;
- }
-
- /**
- * Sets the value of the autoType property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setAutoType(String value) {
- this.autoType = value;
- }
-
- /**
- * Gets the value of the page property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getPage() {
- return page;
- }
-
- /**
- * Sets the value of the page property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setPage(String value) {
- this.page = value;
- }
-
- /**
- * Gets the value of the url property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getUrl() {
- return url;
- }
-
- /**
- * Sets the value of the url property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setUrl(String value) {
- this.url = value;
- }
-
- /**
- * Gets the value of the hoverText property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getHoverText() {
- return hoverText;
- }
-
- /**
- * Sets the value of the hoverText property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setHoverText(String value) {
- this.hoverText = value;
- }
-
- /**
- * Gets the value of the execute property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getExecute() {
- return execute;
- }
-
- /**
- * Sets the value of the execute property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setExecute(String value) {
- this.execute = value;
- }
-
- /**
- * Gets the value of the openBook property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getOpenBook() {
- return openBook;
- }
-
- /**
- * Sets the value of the openBook property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setOpenBook(String value) {
- this.openBook = value;
- }
-
- /**
- * Gets the value of the giveBook property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getGiveBook() {
- return giveBook;
- }
-
- /**
- * Sets the value of the giveBook property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setGiveBook(String value) {
- this.giveBook = value;
- }
-
- }
-
- }
-
- }
-
-
- /**
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="give" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * <element name="open" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * <element name="giveremote" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * <element name="openremote" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "give",
- "open",
- "giveremote",
- "openremote"
- })
- public static class XmlPermissions {
-
- protected String give;
- protected String open;
- protected String giveremote;
- protected String openremote;
-
- /**
- * Gets the value of the give property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getGive() {
- return give;
- }
-
- /**
- * Sets the value of the give property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setGive(String value) {
- this.give = value;
- }
-
- /**
- * Gets the value of the open property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getOpen() {
- return open;
- }
-
- /**
- * Sets the value of the open property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setOpen(String value) {
- this.open = value;
- }
-
- /**
- * Gets the value of the giveremote property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getGiveremote() {
- return giveremote;
- }
-
- /**
- * Sets the value of the giveremote property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setGiveremote(String value) {
- this.giveremote = value;
- }
-
- /**
- * Gets the value of the openremote property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getOpenremote() {
- return openremote;
- }
-
- /**
- * Sets the value of the openremote property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setOpenremote(String value) {
- this.openremote = value;
- }
-
- }
-
-
- /**
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="template" type="{}template" maxOccurs="unbounded"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "template"
- })
- public static class XmlTemplates {
-
- @XmlElement(required = true)
- protected Listset
method for the template property.
- *
- *
- * getTemplate().add(newItem);
- *
- *
- *
- *
- * <complexType name="template">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="options">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="auto-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="color" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="execute" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="give-book" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="hover-text" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="open-book" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="page" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="styles" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "template", propOrder = {
- "name",
- "options"
-})
-public class XmlTemplate {
-
- @XmlElement(required = true)
- protected String name;
- @XmlElement(required = true)
- protected XmlTemplate.XmlOptions options;
-
- /**
- * Gets the value of the name property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the options property.
- *
- * @return
- * possible object is
- * {@link XmlTemplate.XmlOptions }
- *
- */
- public XmlTemplate.XmlOptions getOptions() {
- return options;
- }
-
- /**
- * Sets the value of the options property.
- *
- * @param value
- * allowed object is
- * {@link XmlTemplate.XmlOptions }
- *
- */
- public void setOptions(XmlTemplate.XmlOptions value) {
- this.options = value;
- }
-
-
- /**
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="auto-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="color" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="execute" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="give-book" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="hover-text" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="open-book" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="page" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="styles" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "autoType",
- "color",
- "execute",
- "giveBook",
- "hoverText",
- "openBook",
- "page",
- "styles",
- "url"
- })
- public static class XmlOptions {
-
- @XmlElement(name = "auto-type", required = true)
- protected String autoType;
- @XmlElement(required = true)
- protected String color;
- @XmlElement(required = true)
- protected String execute;
- @XmlElement(name = "give-book", required = true)
- protected String giveBook;
- @XmlElement(name = "hover-text", required = true)
- protected String hoverText;
- @XmlElement(name = "open-book", required = true)
- protected String openBook;
- @XmlElement(required = true)
- protected String page;
- @XmlElement(required = true)
- protected String styles;
- @XmlElement(required = true)
- protected String url;
-
- /**
- * Gets the value of the autoType property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getAutoType() {
- return autoType;
- }
-
- /**
- * Sets the value of the autoType property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setAutoType(String value) {
- this.autoType = value;
- }
-
- /**
- * Gets the value of the color property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getColor() {
- return color;
- }
-
- /**
- * Sets the value of the color property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setColor(String value) {
- this.color = value;
- }
-
- /**
- * Gets the value of the execute property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getExecute() {
- return execute;
- }
-
- /**
- * Sets the value of the execute property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setExecute(String value) {
- this.execute = value;
- }
-
- /**
- * Gets the value of the giveBook property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getGiveBook() {
- return giveBook;
- }
-
- /**
- * Sets the value of the giveBook property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setGiveBook(String value) {
- this.giveBook = value;
- }
-
- /**
- * Gets the value of the hoverText property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getHoverText() {
- return hoverText;
- }
-
- /**
- * Sets the value of the hoverText property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setHoverText(String value) {
- this.hoverText = value;
- }
-
- /**
- * Gets the value of the openBook property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getOpenBook() {
- return openBook;
- }
-
- /**
- * Sets the value of the openBook property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setOpenBook(String value) {
- this.openBook = value;
- }
-
- /**
- * Gets the value of the page property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getPage() {
- return page;
- }
-
- /**
- * Sets the value of the page property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setPage(String value) {
- this.page = value;
- }
-
- /**
- * Gets the value of the styles property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getStyles() {
- return styles;
- }
-
- /**
- * Sets the value of the styles property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setStyles(String value) {
- this.styles = value;
- }
-
- /**
- * Gets the value of the url property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getUrl() {
- return url;
- }
-
- /**
- * Sets the value of the url property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setUrl(String value) {
- this.url = value;
- }
-
- }
-
-}
diff --git a/src/main/java/com/mcmiddleearth/plugins/dynamicbooks/library/OfflineBookLibrary.java b/src/main/java/com/mcmiddleearth/plugins/dynamicbooks/library/OfflineBookLibrary.java
index 9910ce3..9b427f1 100644
--- a/src/main/java/com/mcmiddleearth/plugins/dynamicbooks/library/OfflineBookLibrary.java
+++ b/src/main/java/com/mcmiddleearth/plugins/dynamicbooks/library/OfflineBookLibrary.java
@@ -1,10 +1,10 @@
package com.mcmiddleearth.plugins.dynamicbooks.library;
import com.mcmiddleearth.plugins.dynamicbooks.jaxb.XmlBook;
+import jakarta.xml.bind.JAXBContext;
+import jakarta.xml.bind.JAXBException;
+import jakarta.xml.bind.Unmarshaller;
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBException;
-import javax.xml.bind.Unmarshaller;
import java.io.*;
import java.time.ZonedDateTime;
import java.util.*;
diff --git a/src/main/java/com/mcmiddleearth/plugins/dynamicbooks/library/XmlBookLibrary.java b/src/main/java/com/mcmiddleearth/plugins/dynamicbooks/library/XmlBookLibrary.java
index f6cd608..2290183 100644
--- a/src/main/java/com/mcmiddleearth/plugins/dynamicbooks/library/XmlBookLibrary.java
+++ b/src/main/java/com/mcmiddleearth/plugins/dynamicbooks/library/XmlBookLibrary.java
@@ -5,13 +5,13 @@
import com.mcmiddleearth.plugins.dynamicbooks.books.BookBuilder;
import com.mcmiddleearth.plugins.dynamicbooks.jaxb.XmlBook;
import com.mcmiddleearth.plugins.dynamicbooks.jaxb.XmlTemplate;
+import jakarta.xml.bind.JAXBElement;
import net.md_5.bungee.api.chat.BaseComponent;
import net.md_5.bungee.api.chat.ClickEvent;
import net.md_5.bungee.api.chat.ComponentBuilder;
import net.md_5.bungee.api.chat.HoverEvent;
import org.bukkit.ChatColor;
-import javax.xml.bind.JAXBElement;
import java.io.Serializable;
import java.time.ZonedDateTime;
import java.util.*;
diff --git a/src/main/xjb/book.xjb b/src/main/xjb/book.xjb
index fe4e955..8f600f3 100644
--- a/src/main/xjb/book.xjb
+++ b/src/main/xjb/book.xjb
@@ -1,5 +1,5 @@
-