com.sun.xml.internal.bind.v2.model.core.WildcardMode Java Examples
The following examples show how to use
com.sun.xml.internal.bind.v2.model.core.WildcardMode.
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 |
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 openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
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 |
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-jdk9 with GNU General Public License v2.0 | 6 votes |
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 hottub with GNU General Public License v2.0 | 6 votes |
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 jdk8u60 with GNU General Public License v2.0 | 6 votes |
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 |
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 |
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: XmlSchemaGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * return the string representation of the processContents mode of the * give wildcard, or null if it is the schema default "strict" * */ private static String getProcessContentsModeName(WildcardMode wc) { switch(wc) { case LAX: case SKIP: return wc.name().toLowerCase(); case STRICT: return null; default: throw new IllegalStateException(); } }
Example #10
Source File: RawTypeSetBuilder.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
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 TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Build up {@link #refs} and compute the total multiplicity of this {@link RawTypeSet.Ref} set. */ private void particle( XSParticle p ) { // if the DOM customization is present, bind it like a wildcard BIDom dom = builder.getLocalDomCustomization(p); if(dom!=null) { dom.markAsAcknowledged(); refs.add(new WildcardRef(WildcardMode.SKIP)); } else { p.getTerm().visit(this); } }
Example #12
Source File: RawTypeSetBuilder.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Build up {@link #refs} and compute the total multiplicity of this {@link RawTypeSet.Ref} set. */ private void particle( XSParticle p ) { // if the DOM customization is present, bind it like a wildcard BIDom dom = builder.getLocalDomCustomization(p); if(dom!=null) { dom.markAsAcknowledged(); refs.add(new WildcardRef(WildcardMode.SKIP)); } else { p.getTerm().visit(this); } }
Example #13
Source File: XmlSchemaGenerator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * return the string representation of the processContents mode of the * give wildcard, or null if it is the schema default "strict" * */ private static String getProcessContentsModeName(WildcardMode wc) { switch(wc) { case LAX: case SKIP: return wc.name().toLowerCase(); case STRICT: return null; default: throw new IllegalStateException(); } }
Example #14
Source File: XmlSchemaGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * return the string representation of the processContents mode of the * give wildcard, or null if it is the schema default "strict" * */ private static String getProcessContentsModeName(WildcardMode wc) { switch(wc) { case LAX: case SKIP: return wc.name().toLowerCase(); case STRICT: return null; default: throw new IllegalStateException(); } }
Example #15
Source File: RawTypeSetBuilder.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Build up {@link #refs} and compute the total multiplicity of this {@link RawTypeSet.Ref} set. */ private void particle( XSParticle p ) { // if the DOM customization is present, bind it like a wildcard BIDom dom = builder.getLocalDomCustomization(p); if(dom!=null) { dom.markAsAcknowledged(); refs.add(new WildcardRef(WildcardMode.SKIP)); } else { p.getTerm().visit(this); } }
Example #16
Source File: XmlSchemaGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * return the string representation of the processContents mode of the * give wildcard, or null if it is the schema default "strict" * */ private static String getProcessContentsModeName(WildcardMode wc) { switch(wc) { case LAX: case SKIP: return wc.name().toLowerCase(); case STRICT: return null; default: throw new IllegalStateException(); } }
Example #17
Source File: RawTypeSetBuilder.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Build up {@link #refs} and compute the total multiplicity of this {@link RawTypeSet.Ref} set. */ private void particle( XSParticle p ) { // if the DOM customization is present, bind it like a wildcard BIDom dom = builder.getLocalDomCustomization(p); if(dom!=null) { dom.markAsAcknowledged(); refs.add(new WildcardRef(WildcardMode.SKIP)); } else { p.getTerm().visit(this); } }
Example #18
Source File: RawTypeSetBuilder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Build up {@link #refs} and compute the total multiplicity of this {@link RawTypeSet.Ref} set. */ private void particle( XSParticle p ) { // if the DOM customization is present, bind it like a wildcard BIDom dom = builder.getLocalDomCustomization(p); if(dom!=null) { dom.markAsAcknowledged(); refs.add(new WildcardRef(WildcardMode.SKIP)); } else { p.getTerm().visit(this); } }
Example #19
Source File: RawTypeSetBuilder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
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 #20
Source File: RawTypeSetBuilder.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
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 #21
Source File: RawTypeSetBuilder.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Build up {@link #refs} and compute the total multiplicity of this {@link RawTypeSet.Ref} set. */ private void particle( XSParticle p ) { // if the DOM customization is present, bind it like a wildcard BIDom dom = builder.getLocalDomCustomization(p); if(dom!=null) { dom.markAsAcknowledged(); refs.add(new WildcardRef(WildcardMode.SKIP)); } else { p.getTerm().visit(this); } }
Example #22
Source File: RawTypeSetBuilder.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
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 #23
Source File: XmlSchemaGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * return the string representation of the processContents mode of the * give wildcard, or null if it is the schema default "strict" * */ private static String getProcessContentsModeName(WildcardMode wc) { switch(wc) { case LAX: case SKIP: return wc.name().toLowerCase(); case STRICT: return null; default: throw new IllegalStateException(); } }
Example #24
Source File: RawTypeSetBuilder.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Build up {@link #refs} and compute the total multiplicity of this {@link RawTypeSet.Ref} set. */ private void particle( XSParticle p ) { // if the DOM customization is present, bind it like a wildcard BIDom dom = builder.getLocalDomCustomization(p); if(dom!=null) { dom.markAsAcknowledged(); refs.add(new WildcardRef(WildcardMode.SKIP)); } else { p.getTerm().visit(this); } }
Example #25
Source File: XmlSchemaGenerator.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * return the string representation of the processContents mode of the * give wildcard, or null if it is the schema default "strict" * */ private static String getProcessContentsModeName(WildcardMode wc) { switch(wc) { case LAX: case SKIP: return wc.name().toLowerCase(); case STRICT: return null; default: throw new IllegalStateException(); } }
Example #26
Source File: RawTypeSetBuilder.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Build up {@link #refs} and compute the total multiplicity of this {@link RawTypeSet.Ref} set. */ private void particle( XSParticle p ) { // if the DOM customization is present, bind it like a wildcard BIDom dom = builder.getLocalDomCustomization(p); if(dom!=null) { dom.markAsAcknowledged(); refs.add(new WildcardRef(WildcardMode.SKIP)); } else { p.getTerm().visit(this); } }
Example #27
Source File: RawTypeSetBuilder.java From hottub with GNU General Public License v2.0 | 5 votes |
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 #28
Source File: XmlSchemaGenerator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * return the string representation of the processContents mode of the * give wildcard, or null if it is the schema default "strict" * */ private static String getProcessContentsModeName(WildcardMode wc) { switch(wc) { case LAX: case SKIP: return wc.name().toLowerCase(); case STRICT: return null; default: throw new IllegalStateException(); } }
Example #29
Source File: XmlSchemaGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * return the string representation of the processContents mode of the * give wildcard, or null if it is the schema default "strict" * */ private static String getProcessContentsModeName(WildcardMode wc) { switch(wc) { case LAX: case SKIP: return wc.name().toLowerCase(); case STRICT: return null; default: throw new IllegalStateException(); } }
Example #30
Source File: RawTypeSetBuilder.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
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(); } }