本文整理汇总了Java中com.sun.xml.xsom.XSIdentityConstraint类的典型用法代码示例。如果您正苦于以下问题:Java XSIdentityConstraint类的具体用法?Java XSIdentityConstraint怎么用?Java XSIdentityConstraint使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XSIdentityConstraint类属于com.sun.xml.xsom包,在下文中一共展示了XSIdentityConstraint类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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();
}
};
}
开发者ID:jolie,项目名称:jolie,代码行数:8,代码来源:SchemaSetImpl.java
示例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();
}
开发者ID:jolie,项目名称:jolie,代码行数:29,代码来源:ElementDecl.java
示例3: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public Boolean identityConstraint(XSIdentityConstraint decl) {
return Boolean.FALSE;
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:XSFinder.java
示例4: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public T identityConstraint(XSIdentityConstraint decl) {
return core.identityConstraint(decl);
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:XSFunctionFilter.java
示例5: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public String identityConstraint(XSIdentityConstraint decl) {
return localize("idConstraint");
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:NameGetter.java
示例6: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public String identityConstraint(XSIdentityConstraint decl) {
return decl.getName()+" "+nameGetter.identityConstraint(decl);
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:ComponentNameFunction.java
示例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);
}
开发者ID:jolie,项目名称:jolie,代码行数:7,代码来源:SchemaSetImpl.java
示例8: setParent
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public void setParent(XSIdentityConstraint parent) {
this.parent = parent;
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:XPathImpl.java
示例9: getParent
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public XSIdentityConstraint getParent() {
return parent;
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:XPathImpl.java
示例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");
}
开发者ID:jolie,项目名称:jolie,代码行数:7,代码来源:IdentityConstraintImpl.java
示例11: get
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public XSIdentityConstraint get() {
return this;
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:IdentityConstraintImpl.java
示例12: getIdentityConstraints
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public Map<String, XSIdentityConstraint> getIdentityConstraints() {
return idConstraintsView;
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:SchemaImpl.java
示例13: getIdentityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public XSIdentityConstraint getIdentityConstraint(String localName) {
return idConstraints.get(localName);
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:SchemaImpl.java
示例14: getIdentityConstraints
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public List<XSIdentityConstraint> getIdentityConstraints() {
return idConstraints;
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:ElementDecl.java
示例15: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public void identityConstraint(XSIdentityConstraint ic) {
}
开发者ID:jolie,项目名称:jolie,代码行数:3,代码来源:SchemaTreeTraverser.java
示例16: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public void identityConstraint(XSIdentityConstraint decl) {
// TODO
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:SchemaWriter.java
示例17: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public Iterator<T> identityConstraint(XSIdentityConstraint decl) {
return empty();
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:AbstractAxisImpl.java
示例18: elementDecl
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public Iterator<XSIdentityConstraint> elementDecl(XSElementDecl decl) {
return decl.getIdentityConstraints().iterator();
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:Axis.java
示例19: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
public Iterator<XSIdentityConstraint> identityConstraint(XSIdentityConstraint decl) {
return singleton(decl.getReferencedKey());
}
开发者ID:jolie,项目名称:jolie,代码行数:4,代码来源:Axis.java
示例20: identityConstraint
import com.sun.xml.xsom.XSIdentityConstraint; //导入依赖的package包/类
@Override
public T identityConstraint(XSIdentityConstraint decl) {
return defaultValue(decl);
}
开发者ID:highsource,项目名称:jaxb2-basics,代码行数:5,代码来源:DefaultFunctionImpl.java
注:本文中的com.sun.xml.xsom.XSIdentityConstraint类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论