io.atlasmap.core.AtlasPath.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4v
: ? ?
? ? ? ? ? ? ?
? ?
?
? ? ? ?
? ? ? ? ?
?
?
?
?
? ? ?
?
? ? ?
? ?
?
? ? ? ? ? ? ? ? ? ?
! ?
?
?
!
?
? ?
?
?
8 ?
= ?
=
= ?
=
=
=
?!
?"
?#
?$ ?%
? SegmentContext InnerClasses PATH_SEPARATOR Ljava/lang/String;
ConstantValue PATH_SEPARATOR_CHAR C / PATH_SEPARATOR_ESCAPED PATH_ARRAY_START& PATH_ARRAY_END' PATH_LIST_START(
PATH_LIST_END) PATH_MAP_START* PATH_MAP_END+ PATH_ATTRIBUTE_PREFIX, PATH_NAMESPACE_SEPARATOR- segmentContexts Ljava/util/List; Signature =Ljava/util/List; originalPath (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this Lio/atlasmap/core/AtlasPath; p path (Ljava/util/List;)V segments LocalVariableTypeTable @(Ljava/util/List;)V ()V extractChildren @(Lio/atlasmap/v2/Field;Ljava/lang/String;)Lio/atlasmap/v2/Field; f2Group Lio/atlasmap/v2/FieldGroup; f2Path f2 Lio/atlasmap/v2/Field; f1Group f1 segment +Lio/atlasmap/core/AtlasPath$SegmentContext; i I f extracted
entryField
entrySegments entrySegment extractedSegments relativeSegments relativeRootSegment selected answer (Ljava/util/List;
StackMapTable ?./ ? ?0 ? setCollectionIndexRecursively (Lio/atlasmap/v2/FieldGroup;II)V fpath group segmentIndex index appendField 0(Ljava/lang/String;)Lio/atlasmap/core/AtlasPath; fieldExpression getSegments (Z)Ljava/util/List; includeRoot Z @(Z)Ljava/util/List; isRoot ()Ljava/lang/Boolean; getRootSegment -()Lio/atlasmap/core/AtlasPath$SegmentContext; isCollectionRoot hasCollectionRoot getLastSegment getLastCollectionSegment collectionSegments getLastSegmentParent getLastSegmentParentPath ()Lio/atlasmap/core/AtlasPath;
parentPath getParentSegmentOf X(Lio/atlasmap/core/AtlasPath$SegmentContext;)Lio/atlasmap/core/AtlasPath$SegmentContext; sc
hasCollection ()Z isIndexedCollection hasIndexedCollection setCollectionIndex A(ILjava/lang/Integer;)Lio/atlasmap/core/AtlasPath$SegmentContext; collectionIndex Ljava/lang/Integer; getCollectionSegments setVacantCollectionIndex @(Ljava/lang/Integer;)Lio/atlasmap/core/AtlasPath$SegmentContext; getSegmentPath ?(Lio/atlasmap/core/AtlasPath$SegmentContext;)Ljava/lang/String; toIndex builder Ljava/lang/StringBuilder; toString ()Ljava/lang/String; getOriginalPath getCollectionSegmentCount ()I parse $(Ljava/lang/String;)Ljava/util/List; part parts [Ljava/lang/String; ? Q(Ljava/lang/String;)Ljava/util/List; createSegmentContext ?(Ljava/lang/String;)Lio/atlasmap/core/AtlasPath$SegmentContext;
expression
SourceFile AtlasPath.java l y k Q ? ? g h/1 ?23 )io/atlasmap/core/AtlasPath$SegmentContext ? ? java/util/ArrayList.4 ? io/atlasmap/core/AtlasPath /56 io/atlasmap/v2/FieldGroup768 ? l m ? ? l9:;<=>?@ABCDEF ?GHI ?JKLM0N ?OP io/atlasmap/v2/FieldQ ? ? ?RST l u ? ?U mVW ? ? ? ? ? ?XYZ[\]B ? ?^V_ ? ?` ? ? ? "java/lang/IllegalArgumentException 8Cannnot set negative collection index %s for the path %s java/lang/Objectab java/lang/StringBuilder 3No Vacant index on collection segments in the path cdefcgh ?ijkl mnopqrst7u [ ] < > { } @ : java/lang/String java/util/List java/util/Iterator size get (I)Ljava/lang/Object; isEmpty equals (Ljava/lang/Object;)Z add getPath (Ljava/util/Collection;)V getCollectionType !()Lio/atlasmap/v2/CollectionType; io/atlasmap/v2/CollectionType NONE Lio/atlasmap/v2/CollectionType; getCollectionIndex ()Ljava/lang/Integer; getField ()Ljava/util/List; addAll (Ljava/util/Collection;)Z java/lang/Integer intValue
access$002 S(Lio/atlasmap/core/AtlasPath$SegmentContext;Ljava/lang/Integer;)Ljava/lang/Integer; rebuild set '(ILjava/lang/Object;)Ljava/lang/Object; iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; getName io/atlasmap/v2/AtlasModelFactory createFieldGroupFrom 4(Lio/atlasmap/v2/Field;Z)Lio/atlasmap/v2/FieldGroup; setPath valueOf (I)Ljava/lang/Integer; java/util/Collections unmodifiableList "(Ljava/util/List;)Ljava/util/List; subList (II)Ljava/util/List; emptyList java/lang/Boolean (Z)Ljava/lang/Boolean;
getExpression format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; indexOf (Ljava/lang/Object;)I (C)Ljava/lang/StringBuilder; length charAt (I)C
access$100 L(Lio/atlasmap/core/AtlasPath$SegmentContext;)Lio/atlasmap/v2/CollectionType;
startsWith (Ljava/lang/String;)Z replaceFirst 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; contains (Ljava/lang/CharSequence;)Z split ((Ljava/lang/String;I)[Ljava/lang/String; (ILjava/lang/Object;)V ! :
P Q R
S T R U V Q R
W Q R X Y Q R Z [ Q R \ ] Q R ^ _ Q R ` a Q R b c Q R d e Q R f g h i j k Q l m n l *? *? +M*,? **,? ? ? o + ) , - . / p q r s Q t Q l u n ~ (*? *? *+? **++? d? ? ? ? ? o 1 ) 2 3 ' 4 p ( q r ( v h w ( v j i x l y n K *? *? *? Y?
? ? o 6 ) 7 8 p q r z { n ?*? +?
+? ? ?+
? ? *?*? ? ?? Y?
M*? N,-? W? Y-? ? ? :? d? ? :? Y? :? Y+? ? :? ? :? Y?
: ? ? ? ? ? 9? ? %? ? ? ? ? -? ? W? ? -? W? u? ? a? ? ? ? ? X -? W? L -? ? ? ? ? W? ? W? d? ? W? -? ? W M6
? ? ?
? ? :? W? Y?
: ,? :? ? ?? ? !:
? :? ? :? ? ?? ? !:? Y? "? :? #? $? #? ? ???? ? ? ? W? ?? :? ? ? ? ? ? ? W? ? ? W? ??I M?
??,? ? ,? ? !?*? %:
? Y? &? '? (
? ,? W
? o ? 8 B C F G I # J % M - N 2 O : P K Q ` R k S y T ? V ? W ? X ? Y ? Z ? [ ? ] ? _ ? ` ? a ? b e f% g> jJ lM n\ oj pt q} s? t? u? v? w? x? z? { } ~ , ?9 ?<