Java 类javax.xml.bind.annotation.XmlMixed 实例源码

项目:OpenJSharp    文件:ReferencePropertyInfoImpl.java   
public ReferencePropertyInfoImpl(
    ClassInfoImpl<T,C,F,M> classInfo,
    PropertySeed<T,C,F,M> seed) {

    super(classInfo, seed);

    isMixed = seed.readAnnotation(XmlMixed.class) != null;

    XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class);
    if(xae==null) {
        wildcard = null;
        domHandler = null;
    } else {
        wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP;
        domHandler = nav().asDecl(reader().getClassValue(xae,"value"));
    }
}
项目:openjdk-jdk10    文件:ReferencePropertyInfoImpl.java   
public ReferencePropertyInfoImpl(
    ClassInfoImpl<T,C,F,M> classInfo,
    PropertySeed<T,C,F,M> seed) {

    super(classInfo, seed);

    isMixed = seed.readAnnotation(XmlMixed.class) != null;

    XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class);
    if(xae==null) {
        wildcard = null;
        domHandler = null;
    } else {
        wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP;
        domHandler = nav().asDecl(reader().getClassValue(xae,"value"));
    }
}
项目:openjdk9    文件:ReferencePropertyInfoImpl.java   
public ReferencePropertyInfoImpl(
    ClassInfoImpl<T,C,F,M> classInfo,
    PropertySeed<T,C,F,M> seed) {

    super(classInfo, seed);

    isMixed = seed.readAnnotation(XmlMixed.class) != null;

    XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class);
    if(xae==null) {
        wildcard = null;
        domHandler = null;
    } else {
        wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP;
        domHandler = nav().asDecl(reader().getClassValue(xae,"value"));
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:ReferencePropertyInfoImpl.java   
public ReferencePropertyInfoImpl(
    ClassInfoImpl<T,C,F,M> classInfo,
    PropertySeed<T,C,F,M> seed) {

    super(classInfo, seed);

    isMixed = seed.readAnnotation(XmlMixed.class) != null;

    XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class);
    if(xae==null) {
        wildcard = null;
        domHandler = null;
    } else {
        wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP;
        domHandler = nav().asDecl(reader().getClassValue(xae,"value"));
    }
}
项目:infobip-open-jdk-8    文件:ReferencePropertyInfoImpl.java   
public ReferencePropertyInfoImpl(
    ClassInfoImpl<T,C,F,M> classInfo,
    PropertySeed<T,C,F,M> seed) {

    super(classInfo, seed);

    isMixed = seed.readAnnotation(XmlMixed.class) != null;

    XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class);
    if(xae==null) {
        wildcard = null;
        domHandler = null;
    } else {
        wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP;
        domHandler = nav().asDecl(reader().getClassValue(xae,"value"));
    }
}
项目:cxf-plus    文件:ReferencePropertyInfoImpl.java   
public ReferencePropertyInfoImpl(
    ClassInfoImpl<T,C,F,M> classInfo,
    PropertySeed<T,C,F,M> seed) {

    super(classInfo, seed);

    isMixed = seed.readAnnotation(XmlMixed.class) != null;

    XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class);
    if(xae==null) {
        wildcard = null;
        domHandler = null;
    } else {
        wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP;
        domHandler = nav().asDecl(reader().getClassValue(xae,"value"));
    }
}
项目:OLD-OpenJDK8    文件:ReferencePropertyInfoImpl.java   
public ReferencePropertyInfoImpl(
    ClassInfoImpl<T,C,F,M> classInfo,
    PropertySeed<T,C,F,M> seed) {

    super(classInfo, seed);

    isMixed = seed.readAnnotation(XmlMixed.class) != null;

    XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class);
    if(xae==null) {
        wildcard = null;
        domHandler = null;
    } else {
        wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP;
        domHandler = nav().asDecl(reader().getClassValue(xae,"value"));
    }
}
项目:openjdk-icedtea7    文件:ReferencePropertyInfoImpl.java   
public ReferencePropertyInfoImpl(
    ClassInfoImpl<T,C,F,M> classInfo,
    PropertySeed<T,C,F,M> seed) {

    super(classInfo, seed);

    isMixed = seed.readAnnotation(XmlMixed.class) != null;

    XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class);
    if(xae==null) {
        wildcard = null;
        domHandler = null;
    } else {
        wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP;
        domHandler = nav().asDecl(reader().getClassValue(xae,"value"));
    }
}
项目:wlfxb    文件:TextSpanStored.java   
@XmlMixed
@XmlElementRefs({
@XmlElementRef(name = TextSpanStored.XML_NAME, type = TextSpanStored.class)})
protected List<Object> getContent() {
    List<Object> contentToMarshal = new ArrayList<Object>();
    if (subspans != null) {
        contentToMarshal.addAll(subspans);
    } else if (value != null) {
        contentToMarshal.add(value);
    } else {
        return null;
    }
    return contentToMarshal;
}
项目:rexsl    文件:JaxbGroup.java   
/**
 * Get group of elements.
 * @return The collection
 */
@XmlAnyElement(lax = true)
@XmlMixed
@NotNull(message = "collection is never NULL")
public Collection<?> getGroup() {
    return Collections.unmodifiableCollection(this.group);
}
项目:rexsl    文件:Link.java   
/**
 * Get all elements.
 * @return Full list of injected elements
 */
@XmlAnyElement(lax = true)
@XmlMixed
@NotNull
public List<Object> getElements() {
    return this.elements;
}
项目:lumen    文件:FragmentElement.java   
@XmlMixed
@XmlElementRef(name = "span", type = SpanElement.class)
public List<Serializable> getContents() {
    return contents;
}
项目:tinyMediaManager    文件:MovieToKodiNfoConnector.java   
@XmlMixed
public List<String> getMixed() {
  return mixed;
}
项目:itlenergy    文件:ItemList.java   
@XmlAnyElement
@XmlMixed
public List<TEntity> getItems() {
    return this.items;
}
项目:rexsl    文件:BasePage.java   
/**
 * Get all elements.
 * @return Full list of injected elements
 */
@XmlAnyElement(lax = true)
@XmlMixed
public final Collection<Object> getElements() {
    return Collections.unmodifiableCollection(this.elements);
}