本文整理汇总了Java中com.sun.xml.xsom.XSIdentityConstraint类的典型用法代码示例。如果您正苦于以下问题:Java XSIdentityConstraint类的具体用法?Java XSIdentityConstraint怎么用?Java XSIdentityConstraint使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XSIdentityConstraint类属于com.sun.xml.xsom包,在下文中一共展示了XSIdentityConstraint类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: iterateIdentityConstraints
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public Iterator<XSIdentityConstraint> iterateIdentityConstraints() {
return new Iterators.Map<XSIdentityConstraint,XSSchema>(iterateSchema()) {
protected Iterator<XSIdentityConstraint> apply(XSSchema u) {
return u.getIdentityConstraints().values().iterator();
}
};
}
示例2: ElementDecl
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
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();
}
示例3: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public Boolean identityConstraint(XSIdentityConstraint decl) {
return Boolean.FALSE;
}
示例4: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public T identityConstraint(XSIdentityConstraint decl) {
return core.identityConstraint(decl);
}
示例5: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public String identityConstraint(XSIdentityConstraint decl) {
return localize("idConstraint");
}
示例6: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public String identityConstraint(XSIdentityConstraint decl) {
return decl.getName()+" "+nameGetter.identityConstraint(decl);
}
示例7: getIdentityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public XSIdentityConstraint getIdentityConstraint(String ns, String localName) {
XSSchema schema = getSchema(ns);
if(schema==null) return null;
return schema.getIdentityConstraint(localName);
}
示例8: setParent
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public void setParent(XSIdentityConstraint parent) {
this.parent = parent;
}
示例9: getParent
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public XSIdentityConstraint getParent() {
return parent;
}
示例10: getReferencedKey
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public XSIdentityConstraint getReferencedKey() {
if(category==KEYREF)
return refer.get();
else
throw new IllegalStateException("not a keyref");
}
示例11: get
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public XSIdentityConstraint get() {
return this;
}
示例12: getIdentityConstraints
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public Map<String, XSIdentityConstraint> getIdentityConstraints() {
return idConstraintsView;
}
示例13: getIdentityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public XSIdentityConstraint getIdentityConstraint(String localName) {
return idConstraints.get(localName);
}
示例14: getIdentityConstraints
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public List<XSIdentityConstraint> getIdentityConstraints() {
return idConstraints;
}
示例15: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public void identityConstraint(XSIdentityConstraint ic) {
}