Package org.apache.ws.commons.schema

Examples of org.apache.ws.commons.schema.XmlSchemaLengthFacet


                } else {
                    metaInfHolder.addEnumFacet(enumeration.getValue().toString());
                }

            } else if (facet instanceof XmlSchemaLengthFacet) {
                XmlSchemaLengthFacet length = (XmlSchemaLengthFacet) facet;
                metaInfHolder.setLengthFacet(Integer.parseInt(length.getValue().toString()));
            } else if (facet instanceof XmlSchemaTotalDigitsFacet) {
                XmlSchemaTotalDigitsFacet totalDigits = (XmlSchemaTotalDigitsFacet) facet;
                metaInfHolder.setTotalDigitsFacet(totalDigits.getValue().toString());
            } else if (facet instanceof XmlSchemaMaxExclusiveFacet) {
                XmlSchemaMaxExclusiveFacet maxEx = (XmlSchemaMaxExclusiveFacet) facet;
View Full Code Here


                }

            }

            else if (obj instanceof XmlSchemaLengthFacet) {
                XmlSchemaLengthFacet length = (XmlSchemaLengthFacet) obj;
                metaInfHolder.setLengthFacet(Integer.parseInt(length.getValue().toString()));
            }

            else if (obj instanceof XmlSchemaTotalDigitsFacet) {
                XmlSchemaTotalDigitsFacet totalDigits = (XmlSchemaTotalDigitsFacet) obj;
                metaInfHolder.setTotalDigitsFacet(totalDigits.getValue().toString());
View Full Code Here

        XmlSchemaEnumerationFacet enumeration = (XmlSchemaEnumerationFacet) obj;
        metaInfHolder.addEnumFacet(enumeration.getValue().toString());
      }

      else if ( obj instanceof XmlSchemaLengthFacet ) {
        XmlSchemaLengthFacet length = (XmlSchemaLengthFacet) obj;
        metaInfHolder.setLengthFacet(Integer.parseInt(length.getValue().toString()));
      }

      else if ( obj instanceof XmlSchemaMaxExclusiveFacet ) {
        XmlSchemaMaxExclusiveFacet maxEx = (XmlSchemaMaxExclusiveFacet) obj;
        metaInfHolder.setMaxExclusiveFacet(maxEx.getValue().toString());
View Full Code Here

                }

            }

            else if (obj instanceof XmlSchemaLengthFacet) {
                XmlSchemaLengthFacet length = (XmlSchemaLengthFacet) obj;
                metaInfHolder.setLengthFacet(Integer.parseInt(length.getValue().toString()));
            }

            else if (obj instanceof XmlSchemaMaxExclusiveFacet) {
                XmlSchemaMaxExclusiveFacet maxEx = (XmlSchemaMaxExclusiveFacet) obj;
                metaInfHolder.setMaxExclusiveFacet(maxEx.getValue().toString());
View Full Code Here

                }

            }

            else if (obj instanceof XmlSchemaLengthFacet) {
                XmlSchemaLengthFacet length = (XmlSchemaLengthFacet) obj;
                metaInfHolder.setLengthFacet(Integer.parseInt(length.getValue().toString()));
            }

            else if (obj instanceof XmlSchemaMaxExclusiveFacet) {
                XmlSchemaMaxExclusiveFacet maxEx = (XmlSchemaMaxExclusiveFacet) obj;
                metaInfHolder.setMaxExclusiveFacet(maxEx.getValue().toString());
View Full Code Here

        XmlSchemaEnumerationFacet enumeration = (XmlSchemaEnumerationFacet) obj;
        metaInfHolder.addEnumFacet(enumeration.getValue().toString());
      }
     
      else if ( obj instanceof XmlSchemaLengthFacet ) {
        XmlSchemaLengthFacet length = (XmlSchemaLengthFacet) obj;
        metaInfHolder.setLengthFacet(Integer.parseInt(length.getValue().toString()));
      }
     
      else if ( obj instanceof XmlSchemaMaxExclusiveFacet ) {
        XmlSchemaMaxExclusiveFacet maxEx = (XmlSchemaMaxExclusiveFacet) obj;
        metaInfHolder.setMaxExclusiveFacet(maxEx.getValue().toString());
View Full Code Here

                }

            }

            else if (obj instanceof XmlSchemaLengthFacet) {
                XmlSchemaLengthFacet length = (XmlSchemaLengthFacet) obj;
                metaInfHolder.setLengthFacet(Integer.parseInt(length.getValue().toString()));
            }

            else if (obj instanceof XmlSchemaMaxExclusiveFacet) {
                XmlSchemaMaxExclusiveFacet maxEx = (XmlSchemaMaxExclusiveFacet) obj;
                metaInfHolder.setMaxExclusiveFacet(maxEx.getValue().toString());
View Full Code Here

        if (name.equals("enumeration")) {
            facet = new XmlSchemaEnumerationFacet();
        } else if (name.equals("fractionDigits")) {
            facet = new XmlSchemaFractionDigitsFacet();
        } else if (name.equals("length")) {
            facet = new XmlSchemaLengthFacet();
        } else if (name.equals("maxExclusive")) {
            facet = new XmlSchemaMaxExclusiveFacet();
        } else if (name.equals("maxInclusive")) {
            facet = new XmlSchemaMaxInclusiveFacet();
        } else if (name.equals("maxLength")) {
View Full Code Here

TOP

Related Classes of org.apache.ws.commons.schema.XmlSchemaLengthFacet

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.