| 1 | /* |
|---|
| 2 | * Copyright 2007-2008, Plutext Pty Ltd. |
|---|
| 3 | * |
|---|
| 4 | * This file is part of docx4j. |
|---|
| 5 | |
|---|
| 6 | docx4j is licensed under the Apache License, Version 2.0 (the "License"); |
|---|
| 7 | you may not use this file except in compliance with the License. |
|---|
| 8 | |
|---|
| 9 | You may obtain a copy of the License at |
|---|
| 10 | |
|---|
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
|---|
| 12 | |
|---|
| 13 | Unless required by applicable law or agreed to in writing, software |
|---|
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
|---|
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|---|
| 16 | See the License for the specific language governing permissions and |
|---|
| 17 | limitations under the License. |
|---|
| 18 | |
|---|
| 19 | */ |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | package org.docx4j.dml; |
|---|
| 23 | |
|---|
| 24 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 25 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 26 | import javax.xml.bind.annotation.XmlAnyElement; |
|---|
| 27 | import javax.xml.bind.annotation.XmlAttribute; |
|---|
| 28 | import javax.xml.bind.annotation.XmlSchemaType; |
|---|
| 29 | import javax.xml.bind.annotation.XmlType; |
|---|
| 30 | import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; |
|---|
| 31 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
|---|
| 32 | import org.w3c.dom.Element; |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | /** |
|---|
| 36 | * <p>Java class for CT_OfficeArtExtension complex type. |
|---|
| 37 | * |
|---|
| 38 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 39 | * |
|---|
| 40 | * <pre> |
|---|
| 41 | * <complexType name="CT_OfficeArtExtension"> |
|---|
| 42 | * <complexContent> |
|---|
| 43 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 44 | * <sequence> |
|---|
| 45 | * <any processContents='lax'/> |
|---|
| 46 | * </sequence> |
|---|
| 47 | * <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}token" /> |
|---|
| 48 | * </restriction> |
|---|
| 49 | * </complexContent> |
|---|
| 50 | * </complexType> |
|---|
| 51 | * </pre> |
|---|
| 52 | * |
|---|
| 53 | * |
|---|
| 54 | */ |
|---|
| 55 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 56 | @XmlType(name = "CT_OfficeArtExtension", propOrder = { |
|---|
| 57 | "any" |
|---|
| 58 | }) |
|---|
| 59 | public class CTOfficeArtExtension { |
|---|
| 60 | |
|---|
| 61 | @XmlAnyElement(lax = true) |
|---|
| 62 | protected Object any; |
|---|
| 63 | @XmlAttribute |
|---|
| 64 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
|---|
| 65 | @XmlSchemaType(name = "token") |
|---|
| 66 | protected String uri; |
|---|
| 67 | |
|---|
| 68 | /** |
|---|
| 69 | * Gets the value of the any property. |
|---|
| 70 | * |
|---|
| 71 | * @return |
|---|
| 72 | * possible object is |
|---|
| 73 | * {@link Object } |
|---|
| 74 | * {@link Element } |
|---|
| 75 | * |
|---|
| 76 | */ |
|---|
| 77 | public Object getAny() { |
|---|
| 78 | return any; |
|---|
| 79 | } |
|---|
| 80 | |
|---|
| 81 | /** |
|---|
| 82 | * Sets the value of the any property. |
|---|
| 83 | * |
|---|
| 84 | * @param value |
|---|
| 85 | * allowed object is |
|---|
| 86 | * {@link Object } |
|---|
| 87 | * {@link Element } |
|---|
| 88 | * |
|---|
| 89 | */ |
|---|
| 90 | public void setAny(Object value) { |
|---|
| 91 | this.any = value; |
|---|
| 92 | } |
|---|
| 93 | |
|---|
| 94 | /** |
|---|
| 95 | * Gets the value of the uri property. |
|---|
| 96 | * |
|---|
| 97 | * @return |
|---|
| 98 | * possible object is |
|---|
| 99 | * {@link String } |
|---|
| 100 | * |
|---|
| 101 | */ |
|---|
| 102 | public String getUri() { |
|---|
| 103 | return uri; |
|---|
| 104 | } |
|---|
| 105 | |
|---|
| 106 | /** |
|---|
| 107 | * Sets the value of the uri property. |
|---|
| 108 | * |
|---|
| 109 | * @param value |
|---|
| 110 | * allowed object is |
|---|
| 111 | * {@link String } |
|---|
| 112 | * |
|---|
| 113 | */ |
|---|
| 114 | public void setUri(String value) { |
|---|
| 115 | this.uri = value; |
|---|
| 116 | } |
|---|
| 117 | |
|---|
| 118 | } |
|---|