Package jade.content.schema.facets

Examples of jade.content.schema.facets.DocumentationFacet


      }
      if (sad.regex != null) {
        schema.addFacet(slotName, new RegexFacet(sad.regex));
      }
      if (sad.documentation != null) {
        schema.addFacet(slotName, new DocumentationFacet(sad.documentation));
      }
      if (sad.permittedValues != null) {
        // Adjust permitted values in correct class type
        // This is necessary because in the annotation the permitted values are string
        Object[] typizedPermittedValues = new Object[sad.permittedValues.length];
View Full Code Here


      }
      if (sad.regex != null) {
        schema.addFacet(slotName, new RegexFacet(sad.regex));
      }
      if (sad.documentation != null) {
        schema.addFacet(slotName, new DocumentationFacet(sad.documentation));
      }
      if (sad.permittedValues != null) {
        // Adjust permitted values in correct class type
        // This is necessary because in the annotation the permitted values are string
        Object[] typizedPermittedValues = new Object[sad.permittedValues.length];
View Full Code Here

TOP

Related Classes of jade.content.schema.facets.DocumentationFacet

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.