Java Code Examples for com.sun.org.apache.xerces.internal.xs.XSConstants#VC_NONE

The following examples show how to use com.sun.org.apache.xerces.internal.xs.XSConstants#VC_NONE . 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: XSAttributeUseImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public void reset(){
    fDefault = null;
    fAttrDecl = null;
    fUse = SchemaSymbols.USE_OPTIONAL;
    fConstraintType = XSConstants.VC_NONE;
    fAnnotations = null;
}
 
Example 2
Source File: XSAttributeUseImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Value Constraint: The actual value (with respect to the {type
 * definition}).
 */
public String getConstraintValue() {
    // REVISIT: SCAPI: what's the proper representation
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.stringValue();
}
 
Example 3
Source File: XSAttributeUseImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * Value Constraint: The actual value (with respect to the {type
 * definition}).
 */
public String getConstraintValue() {
    // REVISIT: SCAPI: what's the proper representation
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.stringValue();
}
 
Example 4
Source File: XSAttributeDecl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public Object getActualVC() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.actualValue;
}
 
Example 5
Source File: XSAttributeUseImpl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public ShortList getItemValueTypes() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.itemValueTypes;
}
 
Example 6
Source File: XSAttributeDecl.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public ShortList getItemValueTypes() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.itemValueTypes;
}
 
Example 7
Source File: XSAttributeDecl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public short getActualVCType() {
    return getConstraintType() == XSConstants.VC_NONE ?
           XSConstants.UNAVAILABLE_DT :
           fDefault.actualValueType;
}
 
Example 8
Source File: XSAttributeUseImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public Object getActualVC() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.actualValue;
}
 
Example 9
Source File: XSAttributeDecl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public short getActualVCType() {
    return getConstraintType() == XSConstants.VC_NONE ?
           XSConstants.UNAVAILABLE_DT :
           fDefault.actualValueType;
}
 
Example 10
Source File: XSElementDecl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public Object getActualVC() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.actualValue;
}
 
Example 11
Source File: XSAttributeDecl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public Object getActualVC() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.actualValue;
}
 
Example 12
Source File: XSElementDecl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public short getActualVCType() {
    return getConstraintType() == XSConstants.VC_NONE ?
           XSConstants.UNAVAILABLE_DT :
           fDefault.actualValueType;
}
 
Example 13
Source File: XSElementDecl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public ShortList getItemValueTypes() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.itemValueTypes;
}
 
Example 14
Source File: XSAttributeDecl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public short getActualVCType() {
    return getConstraintType() == XSConstants.VC_NONE ?
           XSConstants.UNAVAILABLE_DT :
           fDefault.actualValueType;
}
 
Example 15
Source File: XSAttributeDecl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public ShortList getItemValueTypes() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.itemValueTypes;
}
 
Example 16
Source File: XSAttributeDecl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public ShortList getItemValueTypes() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.itemValueTypes;
}
 
Example 17
Source File: XSElementDecl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public short getActualVCType() {
    return getConstraintType() == XSConstants.VC_NONE ?
           XSConstants.UNAVAILABLE_DT :
           fDefault.actualValueType;
}
 
Example 18
Source File: XSElementDecl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public Object getActualVC() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.actualValue;
}
 
Example 19
Source File: XSAttributeUseImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public short getActualVCType() {
    return getConstraintType() == XSConstants.VC_NONE ?
           XSConstants.UNAVAILABLE_DT :
           fDefault.actualValueType;
}
 
Example 20
Source File: XSAttributeUseImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public ShortList getItemValueTypes() {
    return getConstraintType() == XSConstants.VC_NONE ?
           null :
           fDefault.itemValueTypes;
}