Java Code Examples for com.sun.xml.internal.bind.v2.model.core.WildcardMode#SKIP

The following examples show how to use com.sun.xml.internal.bind.v2.model.core.WildcardMode#SKIP . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ReferencePropertyInfoImpl.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
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"));
    }
}
 
Example 2
Source File: ReferencePropertyInfoImpl.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
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"));
    }
}
 
Example 3
Source File: ReferencePropertyInfoImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
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"));
    }
}
 
Example 4
Source File: ReferencePropertyInfoImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
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"));
    }
}
 
Example 5
Source File: ReferencePropertyInfoImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
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"));
    }
}
 
Example 6
Source File: ReferencePropertyInfoImpl.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
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"));
    }
}
 
Example 7
Source File: ReferencePropertyInfoImpl.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
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"));
    }
}
 
Example 8
Source File: ReferencePropertyInfoImpl.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
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"));
    }
}
 
Example 9
Source File: RawTypeSetBuilder.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
private static WildcardMode getMode(XSWildcard wildcard) {
    switch(wildcard.getMode()) {
    case XSWildcard.LAX:
        return WildcardMode.LAX;
    case XSWildcard.STRTICT:
        return WildcardMode.STRICT;
    case XSWildcard.SKIP:
        return WildcardMode.SKIP;
    default:
        throw new IllegalStateException();
    }
}
 
Example 10
Source File: RawTypeSetBuilder.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
private static WildcardMode getMode(XSWildcard wildcard) {
    switch(wildcard.getMode()) {
    case XSWildcard.LAX:
        return WildcardMode.LAX;
    case XSWildcard.STRTICT:
        return WildcardMode.STRICT;
    case XSWildcard.SKIP:
        return WildcardMode.SKIP;
    default:
        throw new IllegalStateException();
    }
}
 
Example 11
Source File: RawTypeSetBuilder.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
private static WildcardMode getMode(XSWildcard wildcard) {
    switch(wildcard.getMode()) {
    case XSWildcard.LAX:
        return WildcardMode.LAX;
    case XSWildcard.STRTICT:
        return WildcardMode.STRICT;
    case XSWildcard.SKIP:
        return WildcardMode.SKIP;
    default:
        throw new IllegalStateException();
    }
}
 
Example 12
Source File: RawTypeSetBuilder.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
private static WildcardMode getMode(XSWildcard wildcard) {
    switch(wildcard.getMode()) {
    case XSWildcard.LAX:
        return WildcardMode.LAX;
    case XSWildcard.STRTICT:
        return WildcardMode.STRICT;
    case XSWildcard.SKIP:
        return WildcardMode.SKIP;
    default:
        throw new IllegalStateException();
    }
}
 
Example 13
Source File: RawTypeSetBuilder.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
private static WildcardMode getMode(XSWildcard wildcard) {
    switch(wildcard.getMode()) {
    case XSWildcard.LAX:
        return WildcardMode.LAX;
    case XSWildcard.STRTICT:
        return WildcardMode.STRICT;
    case XSWildcard.SKIP:
        return WildcardMode.SKIP;
    default:
        throw new IllegalStateException();
    }
}
 
Example 14
Source File: RawTypeSetBuilder.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private static WildcardMode getMode(XSWildcard wildcard) {
    switch(wildcard.getMode()) {
    case XSWildcard.LAX:
        return WildcardMode.LAX;
    case XSWildcard.STRTICT:
        return WildcardMode.STRICT;
    case XSWildcard.SKIP:
        return WildcardMode.SKIP;
    default:
        throw new IllegalStateException();
    }
}
 
Example 15
Source File: RawTypeSetBuilder.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private static WildcardMode getMode(XSWildcard wildcard) {
    switch(wildcard.getMode()) {
    case XSWildcard.LAX:
        return WildcardMode.LAX;
    case XSWildcard.STRTICT:
        return WildcardMode.STRICT;
    case XSWildcard.SKIP:
        return WildcardMode.SKIP;
    default:
        throw new IllegalStateException();
    }
}
 
Example 16
Source File: RawTypeSetBuilder.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
private static WildcardMode getMode(XSWildcard wildcard) {
    switch(wildcard.getMode()) {
    case XSWildcard.LAX:
        return WildcardMode.LAX;
    case XSWildcard.STRTICT:
        return WildcardMode.STRICT;
    case XSWildcard.SKIP:
        return WildcardMode.SKIP;
    default:
        throw new IllegalStateException();
    }
}