Java Code Examples for com.sun.org.apache.xerces.internal.xs.XSConstants#UNAVAILABLE_DT
The following examples show how to use
com.sun.org.apache.xerces.internal.xs.XSConstants#UNAVAILABLE_DT .
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: XSSimpleTypeDecl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
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; }
Example 2
Source File: XSSimpleTypeDecl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
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; }
Example 3
Source File: AttributePSVImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Reset() */ public void reset() { fNormalizedValue = null; fActualValue = null; fActualValueType = XSConstants.UNAVAILABLE_DT; fItemValueTypes = null; fDeclaration = null; fTypeDecl = null; fSpecified = false; fMemberType = null; fValidationAttempted = AttributePSVI.VALIDATION_NONE; fValidity = AttributePSVI.VALIDITY_NOTKNOWN; fErrorCodes = null; fValidationContext = null; }
Example 4
Source File: XSSimpleTypeDecl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
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; }
Example 5
Source File: AttributePSVImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Reset() */ public void reset() { fNormalizedValue = null; fActualValue = null; fActualValueType = XSConstants.UNAVAILABLE_DT; fItemValueTypes = null; fDeclaration = null; fTypeDecl = null; fSpecified = false; fMemberType = null; fValidationAttempted = AttributePSVI.VALIDATION_NONE; fValidity = AttributePSVI.VALIDITY_NOTKNOWN; fErrorCodes = null; fValidationContext = null; }
Example 6
Source File: XSSimpleTypeDecl.java From JDKSourceCode1.8 with MIT License | 5 votes |
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; }
Example 7
Source File: XSSimpleTypeDecl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
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; }
Example 8
Source File: XSSimpleTypeDecl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
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; }
Example 9
Source File: XSSimpleTypeDecl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
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; }
Example 10
Source File: AttributePSVImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Reset() */ public void reset() { fNormalizedValue = null; fActualValue = null; fActualValueType = XSConstants.UNAVAILABLE_DT; fItemValueTypes = null; fDeclaration = null; fTypeDecl = null; fSpecified = false; fMemberType = null; fValidationAttempted = AttributePSVI.VALIDATION_NONE; fValidity = AttributePSVI.VALIDITY_NOTKNOWN; fErrorCodes = null; fValidationContext = null; }
Example 11
Source File: XSSimpleTypeDecl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
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; }
Example 12
Source File: XSSimpleTypeDecl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
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; }
Example 13
Source File: XSAttributeDecl.java From JDKSourceCode1.8 with MIT License | 4 votes |
public short getActualVCType() { return getConstraintType() == XSConstants.VC_NONE ? XSConstants.UNAVAILABLE_DT : fDefault.actualValueType; }
Example 14
Source File: XSElementDecl.java From Bytecoder with Apache License 2.0 | 4 votes |
@Deprecated public short getActualVCType() { return getConstraintType() == XSConstants.VC_NONE ? XSConstants.UNAVAILABLE_DT : fDefault.actualValueType; }
Example 15
Source File: XSAttributeUseImpl.java From JDKSourceCode1.8 with MIT License | 4 votes |
public short getActualVCType() { return getConstraintType() == XSConstants.VC_NONE ? XSConstants.UNAVAILABLE_DT : fDefault.actualValueType; }
Example 16
Source File: XSAttributeDecl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public short getActualVCType() { return getConstraintType() == XSConstants.VC_NONE ? XSConstants.UNAVAILABLE_DT : fDefault.actualValueType; }
Example 17
Source File: XSElementDecl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public short getActualVCType() { return getConstraintType() == XSConstants.VC_NONE ? XSConstants.UNAVAILABLE_DT : fDefault.actualValueType; }
Example 18
Source File: XSAttributeUseImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public short getActualVCType() { return getConstraintType() == XSConstants.VC_NONE ? XSConstants.UNAVAILABLE_DT : fDefault.actualValueType; }
Example 19
Source File: XSAttributeDecl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public short getActualVCType() { return getConstraintType() == XSConstants.VC_NONE ? XSConstants.UNAVAILABLE_DT : fDefault.actualValueType; }
Example 20
Source File: XSElementDecl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
public short getActualVCType() { return getConstraintType() == XSConstants.VC_NONE ? XSConstants.UNAVAILABLE_DT : fDefault.actualValueType; }