private DeclarationAnnotationElementAdapter<String> buildDefaultValueDeclarationAdapter() {
   return ConversionDeclarationAnnotationElementAdapter.forStrings(
       DECLARATION_ANNOTATION_ADAPTER, JAXB.XML_ELEMENT_DECL__DEFAULT_VALUE);
 }
 private DeclarationAnnotationElementAdapter<String>
     buildSubstitutionHeadNameDeclarationAdapter() {
   return ConversionDeclarationAnnotationElementAdapter.forStrings(
       DECLARATION_ANNOTATION_ADAPTER, JAXB.XML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAME);
 }
 private static DeclarationAnnotationElementAdapter<String> buildValueAdapter(
     DeclarationAnnotationAdapter adapter) {
   return ConversionDeclarationAnnotationElementAdapter.forStrings(adapter, VALUE_PROPERTY);
 }
 private DeclarationAnnotationElementAdapter<String> buildNamespaceDeclarationAdapter() {
   return ConversionDeclarationAnnotationElementAdapter.forStrings(
       DECLARATION_ANNOTATION_ADAPTER, JAXB.XML_ELEMENT_DECL__NAMESPACE);
 }
コード例 #5
0
 private static DeclarationAnnotationElementAdapter<String> buildDeclarationAnnotationAdapter(
     String property) {
   return ConversionDeclarationAnnotationElementAdapter.forStrings(
       DECLARATION_ANNOTATION_ADAPTER, property);
 }