当前位置: 首页>>代码示例>>Java>>正文


Java XSConstants.UNAVAILABLE_DT属性代码示例

本文整理汇总了Java中mf.org.apache.xerces.xs.XSConstants.UNAVAILABLE_DT属性的典型用法代码示例。如果您正苦于以下问题:Java XSConstants.UNAVAILABLE_DT属性的具体用法?Java XSConstants.UNAVAILABLE_DT怎么用?Java XSConstants.UNAVAILABLE_DT使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在mf.org.apache.xerces.xs.XSConstants的用法示例。


在下文中一共展示了XSConstants.UNAVAILABLE_DT属性的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: XSSimpleTypeDecl

protected XSSimpleTypeDecl(String name, String uri, short finalSet, XSSimpleTypeDecl[] memberTypes,
        XSObjectList annotations) {
    fBase = fAnySimpleType;
    fTypeName = name;
    fTargetNamespace = uri;
    fFinalSet = finalSet;
    fAnnotations = annotations;

    fVariety = VARIETY_UNION;
    fMemberTypes = memberTypes;
    fValidationDV = DV_UNION;
    // even for union, we set whitespace to something
    // this will never be used, but we can use fFacetsDefined to check
    // whether applyFacets() is allwwed: it's not allowed
    // if fFacetsDefined != 0
    fFacetsDefined = FACET_WHITESPACE;
    fWhiteSpace = WS_COLLAPSE;

    //setting fundamental facets
    calcFundamentalFacets();
    // none of the schema-defined types are unions, so just set
    // fIsImmutable to false.
    fIsImmutable = false;

    // No value can be of this type, so it's unavailable.
    fBuiltInKind = XSConstants.UNAVAILABLE_DT;
}
 
开发者ID:MaTriXy,项目名称:xerces-for-android,代码行数:27,代码来源:XSSimpleTypeDecl.java

示例2: setUnionValues

protected XSSimpleTypeDecl setUnionValues(String name, String uri, short finalSet, XSSimpleTypeDecl[] memberTypes,
        XSObjectList annotations) {
    //decline to do anything if the object is immutable.
    if(fIsImmutable) return null;
    fBase = fAnySimpleType;
    fAnonymous = false;
    fTypeName = name;
    fTargetNamespace = uri;
    fFinalSet = finalSet;
    fAnnotations = annotations;

    fVariety = VARIETY_UNION;
    fMemberTypes = memberTypes;
    fValidationDV = DV_UNION;
    // even for union, we set whitespace to something
    // this will never be used, but we can use fFacetsDefined to check
    // whether applyFacets() is allwwed: it's not allowed
    // if fFacetsDefined != 0
    fFacetsDefined = FACET_WHITESPACE;
    fWhiteSpace = WS_COLLAPSE;

    //setting fundamental facets
    calcFundamentalFacets();

    // No value can be of this type, so it's unavailable.
    fBuiltInKind = XSConstants.UNAVAILABLE_DT;

    return this;
}
 
开发者ID:MaTriXy,项目名称:xerces-for-android,代码行数:29,代码来源:XSSimpleTypeDecl.java

示例3: reset

/**
 * reset the state of this object
 */
public void reset() {
    this.normalizedValue = null;
    this.actualValue = null;
    this.actualValueType = XSConstants.UNAVAILABLE_DT;
    this.actualType = null;
    this.memberType = null;
    this.memberTypes = null;
    this.itemValueTypes = null;
}
 
开发者ID:MaTriXy,项目名称:xerces-for-android,代码行数:12,代码来源:ValidatedInfo.java

示例4: getActualVCType

public short getActualVCType() {
    return getConstraintType() == XSConstants.VC_NONE ?
           XSConstants.UNAVAILABLE_DT :
           fDefault.actualValueType;
}
 
开发者ID:MaTriXy,项目名称:xerces-for-android,代码行数:5,代码来源:XSAttributeDecl.java


注:本文中的mf.org.apache.xerces.xs.XSConstants.UNAVAILABLE_DT属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。