Package org.eclipse.xsd

Examples of org.eclipse.xsd.XSDFacet


            } else {
                //atomic

                //walk through the facets and preparse as necessary
                for (Iterator f = type.getFacets().iterator(); f.hasNext();) {
                    XSDFacet facet = (XSDFacet) f.next();

                    //white space
                    if (facet instanceof XSDWhiteSpaceFacet) {
                        XSDWhiteSpaceFacet whitespace = (XSDWhiteSpaceFacet) facet;
View Full Code Here


            if (type instanceof XSDSimpleTypeDefinition) {
                XSDSimpleTypeDefinition simpleType = (XSDSimpleTypeDefinition) type;
                List facets = simpleType.getFacets();

                for (Iterator itr = facets.iterator(); itr.hasNext();) {
                    XSDFacet facet = (XSDFacet) itr.next();

                    if ("whiteSpace".equals(facet.getFacetName())) {
                        Whitespace whitespace = Whitespace.valueOf(facet.getLexicalValue());

                        if (whitespace != null) {
                            value = whitespace.preparse(value);
                        }
View Full Code Here

TOP

Related Classes of org.eclipse.xsd.XSDFacet

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.