org.apache.ws.commons.schema.XmlSchemaPatternFacet类的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(72)

本文整理了Java中org.apache.ws.commons.schema.XmlSchemaPatternFacet类的一些代码示例,展示了XmlSchemaPatternFacet类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlSchemaPatternFacet类的具体详情如下:
包路径:org.apache.ws.commons.schema.XmlSchemaPatternFacet
类名称:XmlSchemaPatternFacet

XmlSchemaPatternFacet介绍

[英]Class for defining pattern facets. Represents the World Wide Web Consortium (W3C) pattern facet.
[中]用于定义图案面的类。代表万维网联盟(W3C)模式方面。

代码示例

代码示例来源:origin: org.apache.ws.schema/XmlSchema

facet = new XmlSchemaMinInclusiveFacet();
} else if (name.equals("pattern")) {
  facet = new XmlSchemaPatternFacet();
} else if (name.equals("totalDigits")) {
  facet = new XmlSchemaTotalDigitsFacet();

代码示例来源:origin: org.apache.axis2/axis2-adb-codegen

XmlSchemaPatternFacet pattern = (XmlSchemaPatternFacet) facet;
String patternString = pattern.getValue().toString();

代码示例来源:origin: raml-org/raml-java-parser

final XmlSchemaPatternFacet patternFacet = new XmlSchemaPatternFacet();
patternFacet.setValue(stringTypeDefinition.getPattern());
content.getFacets().add(patternFacet);

代码示例来源:origin: org.raml/raml-parser-2

final XmlSchemaPatternFacet patternFacet = new XmlSchemaPatternFacet();
patternFacet.setValue(stringTypeDefinition.getPattern());
content.getFacets().add(patternFacet);

代码示例来源:origin: org.apache.ws.commons.schema/XmlSchema

facet = new XmlSchemaMinInclusiveFacet();
} else if (name.equals("pattern")) {
  facet = new XmlSchemaPatternFacet();
} else if (name.equals("totalDigits")) {
  facet = new XmlSchemaTotalDigitsFacet();

代码示例来源:origin: apache/axis2-java

XmlSchemaPatternFacet pattern = (XmlSchemaPatternFacet) facet;
String patternString = pattern.getValue().toString();

代码示例来源:origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

facet = new XmlSchemaMinInclusiveFacet();
} else if (name.equals("pattern")) {
  facet = new XmlSchemaPatternFacet();
} else if (name.equals("totalDigits")) {
  facet = new XmlSchemaTotalDigitsFacet();

代码示例来源:origin: com.legsem.legstar/legstar-xsd2cob

XmlSchemaPatternFacet xsef = (XmlSchemaPatternFacet) facet;
if (facets.getPattern() == null) {
  facets.setPattern((String) xsef.getValue());

相关文章

XmlSchemaPatternFacet类方法