com.sun.xml.xsom.XSUnionSimpleType Java Examples

The following examples show how to use com.sun.xml.xsom.XSUnionSimpleType. 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: UnionSimpleTypeImpl.java    From jolie with GNU Lesser General Public License v2.1 4 votes vote down vote up
public XSUnionSimpleType getBaseUnionType() {
    return this;
}
 
Example #2
Source File: SimpleTypeImpl.java    From jolie with GNU Lesser General Public License v2.1 4 votes vote down vote up
public XSUnionSimpleType getBaseUnionType() {
    return getSimpleBaseType().getBaseUnionType();
}
 
Example #3
Source File: Axis.java    From jolie with GNU Lesser General Public License v2.1 4 votes vote down vote up
public Iterator<XSSimpleType> simpleType(XSSimpleType type) {
    XSUnionSimpleType baseUnion = type.getBaseUnionType();
    if(baseUnion ==null)      return empty();
    return baseUnion.iterator();
}
 
Example #4
Source File: CollectEnumerationValuesVisitor.java    From jsonix-schema-compiler with BSD 2-Clause "Simplified" License 4 votes vote down vote up
@Override
public void unionSimpleType(XSUnionSimpleType type) {
	// for (XSSimpleType memberSimpleType : type) {
	// memberSimpleType.visit((XSSimpleTypeVisitor) this);
	// }
}
 
Example #5
Source File: XSSimpleTypeFunction.java    From jolie with GNU Lesser General Public License v2.1 votes vote down vote up
T unionSimpleType( XSUnionSimpleType type ); 
Example #6
Source File: XSSimpleTypeVisitor.java    From jolie with GNU Lesser General Public License v2.1 votes vote down vote up
void unionSimpleType( XSUnionSimpleType type ); 
Example #7
Source File: SchemaSetImpl.java    From jolie with GNU Lesser General Public License v2.1 votes vote down vote up
public XSUnionSimpleType getBaseUnionType() {return null;} 
Example #8
Source File: SchemaSetImpl.java    From jolie with GNU Lesser General Public License v2.1 votes vote down vote up
public XSUnionSimpleType asUnion() { return null; } 
Example #9
Source File: UnionSimpleTypeImpl.java    From jolie with GNU Lesser General Public License v2.1 votes vote down vote up
public XSUnionSimpleType asUnion() { return this; } 
Example #10
Source File: SimpleTypeImpl.java    From jolie with GNU Lesser General Public License v2.1 votes vote down vote up
public XSUnionSimpleType asUnion() { return null; }