com.sun.org.apache.xerces.internal.xs.XSComplexTypeDefinition Java Examples
The following examples show how to use
com.sun.org.apache.xerces.internal.xs.XSComplexTypeDefinition.
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: Field.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #2
Source File: Field.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #3
Source File: Field.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #4
Source File: Field.java From hottub with GNU General Public License v2.0 | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #5
Source File: Field.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #6
Source File: Field.java From Bytecoder with Apache License 2.0 | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #7
Source File: Field.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #8
Source File: Field.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #9
Source File: Field.java From JDKSourceCode1.8 with MIT License | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #10
Source File: Field.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #11
Source File: Field.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) { if (type == null || type.getTypeCategory() == XSTypeDefinition.COMPLEX_TYPE && ((XSComplexTypeDefinition) type).getContentType() != XSComplexTypeDefinition.CONTENTTYPE_SIMPLE) { // the content must be simpleType content fStore.reportError( "cvc-id.3", new Object[] { fIdentityConstraint.getName(), fIdentityConstraint.getElementName()}); } fMatchedString = actualValue; matched(fMatchedString, valueType, itemValueType, nillable); }
Example #12
Source File: XSAttributeDecl.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #13
Source File: XSElementDecl.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #14
Source File: XSAttributeDecl.java From jdk1.8-source-analysis with Apache License 2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #15
Source File: XSAttributeDecl.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #16
Source File: XSElementDecl.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #17
Source File: XSElementDecl.java From jdk1.8-source-analysis with Apache License 2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #18
Source File: XSAttributeDecl.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #19
Source File: XSElementDecl.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #20
Source File: XSAttributeDecl.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #21
Source File: XSAttributeDecl.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #22
Source File: XSElementDecl.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #23
Source File: XSAttributeDecl.java From JDKSourceCode1.8 with MIT License | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #24
Source File: XSElementDecl.java From Bytecoder with Apache License 2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #25
Source File: XSElementDecl.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #26
Source File: XSAttributeDecl.java From Bytecoder with Apache License 2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #27
Source File: XSElementDecl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #28
Source File: XSAttributeDecl.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #29
Source File: XSAttributeDecl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }
Example #30
Source File: XSElementDecl.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Locally scoped declarations are available for use only within the * complex type definition identified by the <code>scope</code> * property. */ public XSComplexTypeDefinition getEnclosingCTDefinition() { return fEnclosingCT; }