com.sun.xml.internal.xsom.XSIdentityConstraint Java Examples
The following examples show how to use
com.sun.xml.internal.xsom.XSIdentityConstraint.
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: SchemaSetImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public Iterator<XSIdentityConstraint> iterateIdentityConstraints() { return new Iterators.Map<XSIdentityConstraint,XSSchema>(iterateSchema()) { protected Iterator<XSIdentityConstraint> apply(XSSchema u) { return u.getIdentityConstraints().values().iterator(); } }; }
Example #2
Source File: SchemaSetImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public Iterator<XSIdentityConstraint> iterateIdentityConstraints() { return new Iterators.Map<XSIdentityConstraint,XSSchema>(iterateSchema()) { protected Iterator<XSIdentityConstraint> apply(XSSchema u) { return u.getIdentityConstraints().values().iterator(); } }; }
Example #3
Source File: ElementDecl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public ElementDecl( PatcherManager reader, SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, String _tns, String _name, boolean _anonymous, XmlString _defv, XmlString _fixedv, boolean _nillable, boolean _abstract, Boolean _form, Ref.Type _type, Ref.Element _substHead, int _substDisallowed, int _substExcluded, List<IdentityConstraintImpl> idConstraints) { super(owner,_annon,_loc,fa,_tns,_name,_anonymous); this.defaultValue = _defv; this.fixedValue = _fixedv; this.nillable = _nillable; this._abstract = _abstract; this.form = _form; this.type = _type; this.substHead = _substHead; this.substDisallowed = _substDisallowed; this.substExcluded = _substExcluded; this.idConstraints = Collections.unmodifiableList((List<? extends XSIdentityConstraint>)idConstraints); for (IdentityConstraintImpl idc : idConstraints) idc.setParent(this); if(type==null) throw new IllegalArgumentException(); }
Example #4
Source File: UnusedCustomizationChecker.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public void elementDecl(XSElementDecl decl) { if(check(decl)) { decl.getType().visit(this); for( XSIdentityConstraint id : decl.getIdentityConstraints() ) id.visit(this); } }
Example #5
Source File: SchemaSetImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public Iterator<XSIdentityConstraint> iterateIdentityConstraints() { return new Iterators.Map<XSIdentityConstraint,XSSchema>(iterateSchema()) { protected Iterator<XSIdentityConstraint> apply(XSSchema u) { return u.getIdentityConstraints().values().iterator(); } }; }
Example #6
Source File: UnusedCustomizationChecker.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public void elementDecl(XSElementDecl decl) { if(check(decl)) { decl.getType().visit(this); for( XSIdentityConstraint id : decl.getIdentityConstraints() ) id.visit(this); } }
Example #7
Source File: ElementDecl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public ElementDecl( PatcherManager reader, SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, String _tns, String _name, boolean _anonymous, XmlString _defv, XmlString _fixedv, boolean _nillable, boolean _abstract, Boolean _form, Ref.Type _type, Ref.Element _substHead, int _substDisallowed, int _substExcluded, List<IdentityConstraintImpl> idConstraints) { super(owner,_annon,_loc,fa,_tns,_name,_anonymous); this.defaultValue = _defv; this.fixedValue = _fixedv; this.nillable = _nillable; this._abstract = _abstract; this.form = _form; this.type = _type; this.substHead = _substHead; this.substDisallowed = _substDisallowed; this.substExcluded = _substExcluded; this.idConstraints = Collections.unmodifiableList((List<? extends XSIdentityConstraint>)idConstraints); for (IdentityConstraintImpl idc : idConstraints) idc.setParent(this); if(type==null) throw new IllegalArgumentException(); }
Example #8
Source File: ElementDecl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public ElementDecl( PatcherManager reader, SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, String _tns, String _name, boolean _anonymous, XmlString _defv, XmlString _fixedv, boolean _nillable, boolean _abstract, Boolean _form, Ref.Type _type, Ref.Element _substHead, int _substDisallowed, int _substExcluded, List<IdentityConstraintImpl> idConstraints) { super(owner,_annon,_loc,fa,_tns,_name,_anonymous); this.defaultValue = _defv; this.fixedValue = _fixedv; this.nillable = _nillable; this._abstract = _abstract; this.form = _form; this.type = _type; this.substHead = _substHead; this.substDisallowed = _substDisallowed; this.substExcluded = _substExcluded; this.idConstraints = (List<XSIdentityConstraint>) Collections.unmodifiableList((List<? extends XSIdentityConstraint>)idConstraints); for (IdentityConstraintImpl idc : idConstraints) idc.setParent(this); if(type==null) throw new IllegalArgumentException(); }
Example #9
Source File: UnusedCustomizationChecker.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public void elementDecl(XSElementDecl decl) { if(check(decl)) { decl.getType().visit(this); for( XSIdentityConstraint id : decl.getIdentityConstraints() ) id.visit(this); } }
Example #10
Source File: SchemaTreeTraverser.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public void identityConstraint(XSIdentityConstraint ic) { }
Example #11
Source File: ColorBinder.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public final void identityConstraint(XSIdentityConstraint xsIdentityConstraint) { throw new IllegalStateException(); }
Example #12
Source File: ComponentNameFunction.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public String identityConstraint(XSIdentityConstraint decl) { return decl.getName()+" "+nameGetter.identityConstraint(decl); }
Example #13
Source File: SchemaSetImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public XSIdentityConstraint getIdentityConstraint(String ns, String localName) { XSSchema schema = getSchema(ns); if(schema==null) return null; return schema.getIdentityConstraint(localName); }
Example #14
Source File: Axis.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public Iterator<XSIdentityConstraint> identityConstraint(XSIdentityConstraint decl) { return singleton(decl.getReferencedKey()); }
Example #15
Source File: SchemaTreeTraverser.java From hottub with GNU General Public License v2.0 | 4 votes |
public void identityConstraint(XSIdentityConstraint ic) { }
Example #16
Source File: SchemaImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public XSIdentityConstraint getIdentityConstraint(String localName) { return idConstraints.get(localName); }
Example #17
Source File: SchemaImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public XSIdentityConstraint getIdentityConstraint(String localName) { return idConstraints.get(localName); }
Example #18
Source File: XSFinder.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public Boolean identityConstraint(XSIdentityConstraint decl) { return Boolean.FALSE; }
Example #19
Source File: ClassBinderFilter.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public CElement identityConstraint(XSIdentityConstraint xsIdentityConstraint) { return core.identityConstraint(xsIdentityConstraint); }
Example #20
Source File: Axis.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public Iterator<XSIdentityConstraint> elementDecl(XSElementDecl decl) { return decl.getIdentityConstraints().iterator(); }
Example #21
Source File: SchemaImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public Map<String, XSIdentityConstraint> getIdentityConstraints() { return idConstraintsView; }
Example #22
Source File: ElementDecl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public List<XSIdentityConstraint> getIdentityConstraints() { return idConstraints; }
Example #23
Source File: XPathImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public void setParent(XSIdentityConstraint parent) { this.parent = parent; }
Example #24
Source File: SchemaImpl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public Map<String, XSIdentityConstraint> getIdentityConstraints() { return idConstraintsView; }
Example #25
Source File: ElementDecl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
public List<XSIdentityConstraint> getIdentityConstraints() { return idConstraints; }
Example #26
Source File: IdentityConstraintImpl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public XSIdentityConstraint getReferencedKey() { if(category==KEYREF) return refer.get(); else throw new IllegalStateException("not a keyref"); }
Example #27
Source File: XPathImpl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public XSIdentityConstraint getParent() { return parent; }
Example #28
Source File: XPathImpl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public void setParent(XSIdentityConstraint parent) { this.parent = parent; }
Example #29
Source File: Axis.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public Iterator<XSIdentityConstraint> identityConstraint(XSIdentityConstraint decl) { return singleton(decl.getReferencedKey()); }
Example #30
Source File: ClassBinderFilter.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public CElement identityConstraint(XSIdentityConstraint xsIdentityConstraint) { return core.identityConstraint(xsIdentityConstraint); }