com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIDom Java Examples
The following examples show how to use
com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIDom.
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: BGMBuilder.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * Gets the {@link BIDom} object that applies to the given particle. */ protected final BIDom getLocalDomCustomization( XSParticle p ) { if (p == null) { return null; } BIDom dom = getBindInfo(p).get(BIDom.class); if(dom!=null) return dom; // if not, the term might have one. dom = getBindInfo(p.getTerm()).get(BIDom.class); if(dom!=null) return dom; XSTerm t = p.getTerm(); // type could also have one, in case of the dom customization if(t.isElementDecl()) return getBindInfo(t.asElementDecl().getType()).get(BIDom.class); // similarly the model group in a model group definition may have one. if(t.isModelGroupDecl()) return getBindInfo(t.asModelGroupDecl().getModelGroup()).get(BIDom.class); return null; }
Example #2
Source File: BGMBuilder.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Gets the {@link BIDom} object that applies to the given particle. */ protected final BIDom getLocalDomCustomization( XSParticle p ) { if (p == null) { return null; } BIDom dom = getBindInfo(p).get(BIDom.class); if(dom!=null) return dom; // if not, the term might have one. dom = getBindInfo(p.getTerm()).get(BIDom.class); if(dom!=null) return dom; XSTerm t = p.getTerm(); // type could also have one, in case of the dom customization if(t.isElementDecl()) return getBindInfo(t.asElementDecl().getType()).get(BIDom.class); // similarly the model group in a model group definition may have one. if(t.isModelGroupDecl()) return getBindInfo(t.asModelGroupDecl().getModelGroup()).get(BIDom.class); return null; }
Example #3
Source File: BGMBuilder.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * Gets the {@link BIDom} object that applies to the given particle. */ protected final BIDom getLocalDomCustomization( XSParticle p ) { if (p == null) { return null; } BIDom dom = getBindInfo(p).get(BIDom.class); if(dom!=null) return dom; // if not, the term might have one. dom = getBindInfo(p.getTerm()).get(BIDom.class); if(dom!=null) return dom; XSTerm t = p.getTerm(); // type could also have one, in case of the dom customization if(t.isElementDecl()) return getBindInfo(t.asElementDecl().getType()).get(BIDom.class); // similarly the model group in a model group definition may have one. if(t.isModelGroupDecl()) return getBindInfo(t.asModelGroupDecl().getModelGroup()).get(BIDom.class); return null; }
Example #4
Source File: BGMBuilder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * Gets the {@link BIDom} object that applies to the given particle. */ protected final BIDom getLocalDomCustomization( XSParticle p ) { if (p == null) { return null; } BIDom dom = getBindInfo(p).get(BIDom.class); if(dom!=null) return dom; // if not, the term might have one. dom = getBindInfo(p.getTerm()).get(BIDom.class); if(dom!=null) return dom; XSTerm t = p.getTerm(); // type could also have one, in case of the dom customization if(t.isElementDecl()) return getBindInfo(t.asElementDecl().getType()).get(BIDom.class); // similarly the model group in a model group definition may have one. if(t.isModelGroupDecl()) return getBindInfo(t.asModelGroupDecl().getModelGroup()).get(BIDom.class); return null; }
Example #5
Source File: BGMBuilder.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Gets the {@link BIDom} object that applies to the given particle. */ protected final BIDom getLocalDomCustomization( XSParticle p ) { if (p == null) { return null; } BIDom dom = getBindInfo(p).get(BIDom.class); if(dom!=null) return dom; // if not, the term might have one. dom = getBindInfo(p.getTerm()).get(BIDom.class); if(dom!=null) return dom; XSTerm t = p.getTerm(); // type could also have one, in case of the dom customization if(t.isElementDecl()) return getBindInfo(t.asElementDecl().getType()).get(BIDom.class); // similarly the model group in a model group definition may have one. if(t.isModelGroupDecl()) return getBindInfo(t.asModelGroupDecl().getModelGroup()).get(BIDom.class); return null; }
Example #6
Source File: BGMBuilder.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Gets the {@link BIDom} object that applies to the given particle. */ protected final BIDom getLocalDomCustomization( XSParticle p ) { if (p == null) { return null; } BIDom dom = getBindInfo(p).get(BIDom.class); if(dom!=null) return dom; // if not, the term might have one. dom = getBindInfo(p.getTerm()).get(BIDom.class); if(dom!=null) return dom; XSTerm t = p.getTerm(); // type could also have one, in case of the dom customization if(t.isElementDecl()) return getBindInfo(t.asElementDecl().getType()).get(BIDom.class); // similarly the model group in a model group definition may have one. if(t.isModelGroupDecl()) return getBindInfo(t.asModelGroupDecl().getModelGroup()).get(BIDom.class); return null; }
Example #7
Source File: BGMBuilder.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Gets the {@link BIDom} object that applies to the given particle. */ protected final BIDom getLocalDomCustomization( XSParticle p ) { if (p == null) { return null; } BIDom dom = getBindInfo(p).get(BIDom.class); if(dom!=null) return dom; // if not, the term might have one. dom = getBindInfo(p.getTerm()).get(BIDom.class); if(dom!=null) return dom; XSTerm t = p.getTerm(); // type could also have one, in case of the dom customization if(t.isElementDecl()) return getBindInfo(t.asElementDecl().getType()).get(BIDom.class); // similarly the model group in a model group definition may have one. if(t.isModelGroupDecl()) return getBindInfo(t.asModelGroupDecl().getModelGroup()).get(BIDom.class); return null; }
Example #8
Source File: BGMBuilder.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * Gets the {@link BIDom} object that applies to the given particle. */ protected final BIDom getLocalDomCustomization( XSParticle p ) { if (p == null) { return null; } BIDom dom = getBindInfo(p).get(BIDom.class); if(dom!=null) return dom; // if not, the term might have one. dom = getBindInfo(p.getTerm()).get(BIDom.class); if(dom!=null) return dom; XSTerm t = p.getTerm(); // type could also have one, in case of the dom customization if(t.isElementDecl()) return getBindInfo(t.asElementDecl().getType()).get(BIDom.class); // similarly the model group in a model group definition may have one. if(t.isModelGroupDecl()) return getBindInfo(t.asModelGroupDecl().getModelGroup()).get(BIDom.class); return null; }
Example #9
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 #10
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 #11
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 #12
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 #13
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 #14
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 #15
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 #16
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); } }