1 package org.jahia.utils.xml; 2 3 14 15 public class XMLSerializationOptions { 16 17 private boolean includingSubPages = true; 18 private boolean includingRights = false; 19 private boolean embeddingBinary = false; 20 private boolean includingAllLanguages = true; 21 private boolean includingAllStates = false; 22 private boolean includingAllVersions = false; 23 24 public XMLSerializationOptions() { 25 } 26 27 32 public void setIncludingSubPages(boolean includingSubPages) { 33 this.includingSubPages = includingSubPages; 34 } 35 36 public boolean isIncludingSubPages() { 37 return includingSubPages; 38 } 39 40 45 public void setIncludingRights(boolean includingRights) { 46 this.includingRights = includingRights; 47 } 48 49 public boolean isIncludingRights() { 50 return includingRights; 51 } 52 53 61 public void setEmbeddingBinary(boolean embeddingBinary) { 62 this.embeddingBinary = embeddingBinary; 63 } 64 65 public boolean isEmbeddingBinary() { 66 return embeddingBinary; 67 } 68 69 74 public void setIncludingAllLanguages(boolean includingAllLanguages) { 75 this.includingAllLanguages = includingAllLanguages; 76 } 77 public boolean isIncludingAllLanguages() { 78 return includingAllLanguages; 79 } 80 81 87 public void setIncludingAllStates(boolean includingAllStates) { 88 this.includingAllStates = includingAllStates; 89 } 90 public boolean isIncludingAllStates() { 91 return includingAllStates; 92 } 93 94 99 public void setIncludingAllVersions(boolean includingAllVersions) { 100 this.includingAllVersions = includingAllVersions; 101 } 102 public boolean isIncludingAllVersions() { 103 return includingAllVersions; 104 } 105 } | Popular Tags |