com.sun.xml.xsom.XSIdentityConstraint Java Examples
The following examples show how to use
com.sun.xml.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: ElementDecl.java From jolie with GNU Lesser General Public License v2.1 | 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, 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.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 #2
Source File: SchemaSetImpl.java From jolie with GNU Lesser General Public License v2.1 | 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: SimpleTypeVisitor.java From hyperjaxb3 with BSD 2-Clause "Simplified" License | 4 votes |
public void identityConstraint(XSIdentityConstraint decl) { todo("Identity constraint."); }
Example #4
Source File: SchemaTreeTraverser.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public void identityConstraint(XSIdentityConstraint ic) { }
Example #5
Source File: SchemaWriter.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public void identityConstraint(XSIdentityConstraint decl) { // TODO }
Example #6
Source File: AbstractAxisImpl.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public Iterator<T> identityConstraint(XSIdentityConstraint decl) { return empty(); }
Example #7
Source File: Axis.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public Iterator<XSIdentityConstraint> elementDecl(XSElementDecl decl) { return decl.getIdentityConstraints().iterator(); }
Example #8
Source File: Axis.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public Iterator<XSIdentityConstraint> identityConstraint(XSIdentityConstraint decl) { return singleton(decl.getReferencedKey()); }
Example #9
Source File: DefaultFunctionImpl.java From jaxb2-basics with BSD 2-Clause "Simplified" License | 4 votes |
@Override public T identityConstraint(XSIdentityConstraint decl) { return defaultValue(decl); }
Example #10
Source File: FindXSElementDeclVisitor.java From jaxb2-basics with BSD 2-Clause "Simplified" License | 4 votes |
public void identityConstraint(XSIdentityConstraint decl) { }
Example #11
Source File: XmlFormBuilder.java From dynaform with Artistic License 2.0 | 4 votes |
public XmlForm identityConstraint(XSIdentityConstraint decl) { if (log.isDebugEnabled()) log.debug("Identity Constraint: " + decl); return null; }
Example #12
Source File: SimpleTypeAnalyzer.java From hyperjaxb3 with BSD 2-Clause "Simplified" License | 4 votes |
public T identityConstraint(XSIdentityConstraint arg0) { return null; }
Example #13
Source File: JumbuneSchemaWriter.java From jumbune with GNU Lesser General Public License v3.0 | 4 votes |
public void identityConstraint(XSIdentityConstraint decl) { // TODO }
Example #14
Source File: CollectEnumerationValuesVisitor.java From jsonix-schema-compiler with BSD 2-Clause "Simplified" License | 4 votes |
public void identityConstraint(XSIdentityConstraint decl) { // todo("Identity constraint."); }
Example #15
Source File: CollectSimpleTypeNamesVisitor.java From jsonix-schema-compiler with BSD 2-Clause "Simplified" License | 4 votes |
public void identityConstraint(XSIdentityConstraint decl) { // todo("Identity constraint."); }
Example #16
Source File: SchemaWalker.java From citygml4j with Apache License 2.0 | 4 votes |
public void identityConstraint(XSIdentityConstraint decl) { }
Example #17
Source File: SchemaWriter.java From citygml4j with Apache License 2.0 | 4 votes |
public void identityConstraint(XSIdentityConstraint decl) { // TODO }
Example #18
Source File: ElementDecl.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public List<XSIdentityConstraint> getIdentityConstraints() { return idConstraints; }
Example #19
Source File: SchemaImpl.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public XSIdentityConstraint getIdentityConstraint(String localName) { return idConstraints.get(localName); }
Example #20
Source File: SchemaImpl.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public Map<String, XSIdentityConstraint> getIdentityConstraints() { return idConstraintsView; }
Example #21
Source File: IdentityConstraintImpl.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public XSIdentityConstraint get() { return this; }
Example #22
Source File: IdentityConstraintImpl.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public XSIdentityConstraint getReferencedKey() { if(category==KEYREF) return refer.get(); else throw new IllegalStateException("not a keyref"); }
Example #23
Source File: XPathImpl.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public XSIdentityConstraint getParent() { return parent; }
Example #24
Source File: XPathImpl.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public void setParent(XSIdentityConstraint parent) { this.parent = parent; }
Example #25
Source File: SchemaSetImpl.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public XSIdentityConstraint getIdentityConstraint(String ns, String localName) { XSSchema schema = getSchema(ns); if(schema==null) return null; return schema.getIdentityConstraint(localName); }
Example #26
Source File: ComponentNameFunction.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public String identityConstraint(XSIdentityConstraint decl) { return decl.getName()+" "+nameGetter.identityConstraint(decl); }
Example #27
Source File: NameGetter.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public String identityConstraint(XSIdentityConstraint decl) { return localize("idConstraint"); }
Example #28
Source File: XSFunctionFilter.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public T identityConstraint(XSIdentityConstraint decl) { return core.identityConstraint(decl); }
Example #29
Source File: XSFinder.java From jolie with GNU Lesser General Public License v2.1 | 4 votes |
public Boolean identityConstraint(XSIdentityConstraint decl) { return Boolean.FALSE; }
Example #30
Source File: Ref.java From jolie with GNU Lesser General Public License v2.1 | votes |
XSIdentityConstraint get();