public static StringTypeDeclaration createDefaultStringDeclaration(String paramName) {
		return new StringTypeDeclaration() {

			String name = paramName;

			@Override
			public List<AnnotationRef> annotations() {
				return null;
			}

			@Override
			public XMLFacetInfo xml() {
				return null;
			}

			@Override
			public List<ValidationResult> validate(String payload) {
				return null;
			}

			@Override
			public String type() {
				return "string";
			}

			@Override
			public String toXmlSchema() {
				return null;
			}

			@Override
			public Boolean required() {
				return true;
			}

			@Override
			public List<TypeDeclaration> parentTypes() {
				return null;
			}

			@Override
			public String name() {
				return name;
			}

			@Override
			public List<TypeDeclaration> facets() {
				return Collections.emptyList();
			}

			@Override
			public List<ExampleSpec> examples() {
				return Collections.emptyList();
			}

			@Override
			public ExampleSpec example() {
				return null;
			}

			@Override
			public AnnotableStringType displayName() {
				return new AnnotableStringType() {

					@Override
					public List<AnnotationRef> annotations() {
						return null;
					}

					@Override
					public String value() {
						return name;
					}

				};
			}

			@Override
			public MarkdownString description() {
				return null;
			}

			@Override
			public String defaultValue() {
				return null;
			}

			@Override
			public List<AnnotationTarget> allowedTargets() {
				return Collections.emptyList();
			}

			@Override
			public String pattern() {
				return null;
			}

			@Override
			public Integer minLength() {
				return null;
			}

			@Override
			public Integer maxLength() {
				return null;
			}

			@Override
			public List<String> enumValues() {
				return null;
			}

			@Override
			public String toJsonSchema() {
				return null;
			}
		};

	}
public static StringTypeDeclaration createDefaultStringDeclaration ( String paramName ) { return new StringTypeDeclaration ( ) { String name = paramName ; @ Override public List < AnnotationRef > annotations ( ) { return null ; } @ Override public XMLFacetInfo xml ( ) { return null ; } @ Override public List < ValidationResult > validate ( String payload ) { return null ; } @ Override public String type ( ) { return "string" ; } @ Override public String toXmlSchema ( ) { return null ; } @ Override public Boolean required ( ) { return true ; } @ Override public List < TypeDeclaration > parentTypes ( ) { return null ; } @ Override public String name ( ) { return name ; } @ Override public List < TypeDeclaration > facets ( ) { return Collections . emptyList ( ) ; } @ Override public List < ExampleSpec > examples ( ) { return Collections . emptyList ( ) ; } @ Override public ExampleSpec example ( ) { return null ; } @ Override public AnnotableStringType displayName ( ) { return new AnnotableStringType ( ) { @ Override public List < AnnotationRef > annotations ( ) { return null ; } @ Override public String value ( ) { return name ; } } ; } @ Override public MarkdownString description ( ) { return null ; } @ Override public String defaultValue ( ) { return null ; } @ Override public List < AnnotationTarget > allowedTargets ( ) { return Collections . emptyList ( ) ; } @ Override public String pattern ( ) { return null ; } @ Override public Integer minLength ( ) { return null ; } @ Override public Integer maxLength ( ) { return null ; } @ Override public List < String > enumValues ( ) { return null ; } @ Override public String toJsonSchema ( ) { return null ; } } ; }
Creates a default string typedeclaration (experimental)

@param paramName
The name of this declaration
@return a String RAML 1 TypeDeclaration