@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FilterDefinitionType", propOrder = { "content" }) @XmlMixed protected List<Serializable> content; @XmlAttribute(name = "condition") protected String condition; @XmlAttribute(name = "name", required = true) protected String name;
@XmlRootElement public class Config extends Group { @XmlElementWrapper(name = "properties") @XmlAnyElement(lax = false) @XmlMixed private List<Element> properties;
@XmlAnyElement @XmlMixed public List<Object> getValue() { return value; }
public static class Symbol { @XmlAttribute Integer index; @XmlMixed List<String> contentList; transient String content; public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { assert contentList != null : "Error with symbol " + index; assert contentList.size() == 1 : "Error with symbol " + index; this.content = contentList.get(0); if (content.equals("__term__")) { content = "</s>"; } else if (content.matches("__.+__")) { content = "<eps>"; } } }
@XmlMixed public List<String> getMixed() { return mixed; }
@XmlAnyElement @XmlMixed public List<Object> getValue() { return value; }
public static class Symbol { @XmlAttribute Integer index; @XmlMixed List<String> contentList; transient String content; public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { assert contentList != null : "Error with symbol " + index; assert contentList.size() == 1 : "Error with symbol " + index; this.content = contentList.get(0); if (content.equals("__term__")) { content = "</s>"; } else if (content.matches("__.+__")) { content = "<eps>"; } } }
@XmlMixed @JsonSerialize(using = OrcidIdSerializer.class) @Deprecated public List<String> getValue() { if (values != null) { String combinedValues = StringUtils.join(values.toArray()); if (StringUtils.isBlank(combinedValues)) { return null; } } return values; }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "filter-type", propOrder = { "content" }) @XmlMixed protected List<Serializable> content; @XmlAttribute(name = "condition") protected String condition; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "autoAliasInjection") protected String autoAliasInjection;
@XmlMixed @XmlAnyElement(lax = true) public List<Object> getAnyOther() { if (anyOther == null) { anyOther = new ArrayList<Object>(); } return this.anyOther; } /**
@XmlMixed @XmlElementRefs({ @XmlElementRef(name = MorphologySegmentStored.XML_NAME, type = MorphologySegmentStored.class)}) protected List<Object> getContent() { List<Object> contentToMarshal = new ArrayList<Object>(); if (subsegments != null) { contentToMarshal.addAll(subsegments); } else if (value != null) { contentToMarshal.add(value); } else { return null; } return contentToMarshal; }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SimpleLiteral", propOrder = { "content" }) public class SimpleLiteral { @XmlMixed protected List<String> content; @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language")
@XmlAnyElement @XmlMixed public List<Object> getValue() { return value; }
@XmlMixed @XmlElementRefs({ @XmlElementRef(name = FeatureStructureStored.XML_NAME, type = FeatureStructureStored.class)}) protected List<Object> getContent() { List<Object> content = new ArrayList<Object>(); if (fs != null) { content.add(fs); } else if (value != null) { content.add(value); } else { return null; } return content; }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) @XmlRootElement(name = "doc") public class Doc { @XmlMixed @XmlAnyElement(lax = true) protected List<Object> content; @XmlAttribute protected String title; @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language")
@XmlAnyElement @XmlMixed public List<Object> getValue() { return value; }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CT_Schema", propOrder = { "content" }) @XmlMixed @XmlAnyElement(lax = true) protected List<Object> content; @XmlAttribute(name = "ID", required = true) protected String id; @XmlAttribute(name = "SchemaRef") protected String schemaRef; @XmlAttribute(name = "Namespace") protected String namespace; @XmlAttribute(name = "SchemaLanguage")
@XmlAnyElement @XmlMixed public List<Object> getValue() { return value; }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "NamedQueryType", propOrder = { "content" }) @XmlMixed protected List<Serializable> content; @XmlAttribute(name = "cache-mode") @XmlJavaTypeAdapter(Adapter1 .class) protected CacheMode cacheMode; @XmlAttribute(name = "cache-region") protected String cacheRegion; @XmlAttribute(name = "cacheable") protected Boolean cacheable; @XmlAttribute(name = "comment")
private static final class Documentation { @XmlAnyElement @XmlMixed List<Object> contents = new ArrayList<Object>(); void addAll(Documentation rhs) { if(rhs==null) return; if(contents==null) contents = new ArrayList<Object>(); if(!contents.isEmpty()) contents.add("\n\n"); contents.addAll(rhs.contents); } }