Package com.sun.msv.datatype.xsd

Examples of com.sun.msv.datatype.xsd.TypeIncubator$FacetInfo


        if( isLateBind() )
            return new LazyTypeIncubator(this,ownerState.reader);
       
        // normal incubator
        return new XSTypeIncubator() {
            private final TypeIncubator core = new TypeIncubator(dt);
           
            public void addFacet( String name, String value, boolean fixed, ValidationContext context ) throws DatatypeException {
                core.addFacet(name,value,fixed,context);
            }
            public XSDatatypeExp derive(String uri,String localName) throws DatatypeException {
                return new XSDatatypeExp( core.derive(uri,localName), pool );
            }
        };
    }
View Full Code Here


class DatatypeBuilderImpl implements DatatypeBuilder {
   
    private TypeIncubator incubator;
       
    DatatypeBuilderImpl( XSDatatype baseType ) {
        incubator = new TypeIncubator(baseType);
    }
View Full Code Here

       
        if( name.equals(XSDatatype.FACET_PATTERN) )
            // if the pattern facet is specified, we have to
            // derive a new type so that multiple pattern facets can
            // work as ANDing.
            incubator = new TypeIncubator(incubator.derive(null,null));
    }
View Full Code Here

TOP

Related Classes of com.sun.msv.datatype.xsd.TypeIncubator$FacetInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.