org.apache.cayenne.gen.xml.CgenConfigHandler.class Maven / Gradle / Ivy
???? 7d
Corg/apache/cayenne/configuration/xml/NamespaceAwareNestedTagHandler H(Lorg/apache/cayenne/configuration/xml/NamespaceAwareNestedTagHandler;)V
,org/apache/cayenne/gen/xml/CgenConfigHandler metaData :Lorg/apache/cayenne/configuration/xml/DataChannelMetaData; (org/apache/cayenne/gen/xml/CgenExtension (http://cayenne.apache.org/schema/11/cgen targetNamespace Ljava/lang/String; (org/apache/cayenne/gen/CgenConfiguration
()V
configuration *Lorg/apache/cayenne/gen/CgenConfiguration; cgen
! " # $ % java/lang/String equals (Ljava/lang/Object;)Z
' ( createConfig
! * + , hashCode ()I . name 0 destDir 2 mode 4 excludeEntities 6 excludeEmbeddables 8 template :
superTemplate < embeddableTemplate > embeddableSuperTemplate @ dataMapTemplate B dataMapSuperTemplate D
outputPattern F makePairs H
usePkgPath J overwrite L createPropertyNames N createPKProperties P superPkg
R S T setName (Ljava/lang/String;)V
V W T createOutputDir
Y Z T createGenerationMode
\ ] T createExcludeEntities
_ ` T createExcludeEmbeddables
b c T createSubclassTemplate
e f T createSuperclassTemplate
h i T createEmbeddableTemplate
k l T createEmbeddableSuperTemplate
n o T createDataMapTemplate
q r T createDataMapSuperTemplate
t u T createOutputPattern
w x T createMakePairs
z { T createUsePkgPath
} ~ T createOverwriteSubclasses
? ? T createPropertyNamesTag
? ? T createPkPropertiesTag
? ? T createSuperPkg
! ? ? ? trim ()Ljava/lang/String;
! ? ? , length
R
? ? ? ? ? java/nio/file/Paths get ;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
? ? ? updateOutputPath (Ljava/nio/file/Path;)V
? ? T setArtifactsGenerationMode
? ? T parseExcludedEntities
? ? T parseExcludedEmbeddables
? ? ? ? ? #org/apache/cayenne/gen/TemplateType isDefault (Ljava/lang/String;)Z ? ? ? ? ENTITY_SUBCLASS %Lorg/apache/cayenne/gen/TemplateType;
? ? ? ? defaultTemplate '()Lorg/apache/cayenne/gen/CgenTemplate;
? ? ? setTemplate ((Lorg/apache/cayenne/gen/CgenTemplate;)V ? #org/apache/cayenne/gen/CgenTemplate
? ? ? ;(Ljava/lang/String;ZLorg/apache/cayenne/gen/TemplateType;)V ? ? ? ? ENTITY_SUPERCLASS
? ? ? setSuperTemplate ? ? ? ? EMBEDDABLE_SUBCLASS
? ? ? setEmbeddableTemplate ? ? ? ? EMBEDDABLE_SUPERCLASS
? ? ? setEmbeddableSuperTemplate ? ? ? ? DATAMAP_SUBCLASS
? ? ? setDataMapTemplate ? ? ? ? DATAMAP_SUPERCLASS
? ? ? setDataMapSuperTemplate
? ? T setOutputPattern ? true
? ? ? setMakePairs (Z)V
? ? ?
setUsePkgPath
? ? ? setOverwrite
? ? ? setCreatePropertyNames
? ? ? setCreatePKProperties
? ? T setSuperPkg ? ? ?
loaderContext 4Lorg/apache/cayenne/configuration/xml/LoaderContext; ? ? ? onDataMapLoaded l(Lorg/apache/cayenne/gen/xml/CgenConfigHandler;)Lorg/apache/cayenne/configuration/xml/DataMapLoaderListener;
? ? ? ? ? 2org/apache/cayenne/configuration/xml/LoaderContext addDataMapListener ?(Lorg/apache/cayenne/configuration/xml/DataMapLoaderListener;)V
?
setDataMap #(Lorg/apache/cayenne/map/DataMap;)V
%org/apache/cayenne/gen/internal/Utils getRootPathForDataMap 6(Lorg/apache/cayenne/map/DataMap;)Ljava/nio/file/Path;
? setRootPath
resolveExcludedEntities
resolveExcludedEmbeddables %org/apache/cayenne/gen/CgenConfigList ? 8org/apache/cayenne/configuration/xml/DataChannelMetaData Y(Lorg/apache/cayenne/configuration/ConfigurationNode;Ljava/lang/Class;)Ljava/lang/Object;
add I(Lorg/apache/cayenne/configuration/ConfigurationNode;Ljava/lang/Object;)V
-(Lorg/apache/cayenne/gen/CgenConfiguration;)V
CONFIG_TAG
ConstantValue NAME OUTPUT_DIRECTORY_TAG GENERATION_MODE_TAG SUBCLASS_TEMPLATE_TAG SUPERCLASS_TEMPLATE_TAG EMBEDDABLE_TEMPLATE_TAG EMBEDDABLE_SUPER_TEMPLATE_TAG DATAMAP_TEMPLATE_TAG DATAMAP_SUPER_TEMPLATE_TAG OUTPUT_PATTERN_TAG MAKE_PAIRS_TAG USE_PKG_PATH_TAG OVERWRITE_SUBCLASSES_TAG CREATE_PROPERTY_NAMES_TAG EXCLUDE_ENTITIES_TAG EXCLUDE_EMBEDDABLES_TAG CREATE_PK_PROPERTIES
SUPER_PKG_TAG TRUE ?(Lorg/apache/cayenne/configuration/xml/NamespaceAwareNestedTagHandler;Lorg/apache/cayenne/configuration/xml/DataChannelMetaData;)V Code LineNumberTable LocalVariableTable this .Lorg/apache/cayenne/gen/xml/CgenConfigHandler;
parentHandler ELorg/apache/cayenne/configuration/xml/NamespaceAwareNestedTagHandler; processElement ?(Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)Z namespaceURI localName
attributes Lorg/xml/sax/Attributes;
StackMapTable processCharData '(Ljava/lang/String;Ljava/lang/String;)Z data path entities embeddables pattern lambda$createConfig$0 dataMap Lorg/apache/cayenne/map/DataMap; configurations 'Lorg/apache/cayenne/gen/CgenConfigList;
SourceFile CgenConfigHandler.java BootstrapMethodsU
VKX
YZ[\] "java/lang/invoke/LambdaMetafactory metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; InnerClasses` %java/lang/invoke/MethodHandles$Lookupb java/lang/invoke/MethodHandles Lookup ! ! " ! - # ! / $ ! 1 % ! 7 &