本文整理了Java中org.apache.ws.commons.schema.XmlSchemaPatternFacet
类的一些代码示例,展示了XmlSchemaPatternFacet
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlSchemaPatternFacet
类的具体详情如下:
包路径:org.apache.ws.commons.schema.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());
内容来源于网络,如有侵权,请联系作者删除!