io.atlasmap.xml.core.schema.AtlasXmlSchemaSetParser.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4? ? r ?
6 ? r ? ?
? r ?
? ? r ?
?
? r
r
r
r
L
r
?
!"#
$ r%&'()*+, ,-./0 ?1
j2
34
356789:;
j< =>6?@ <A <BC
rD wEF =GH
I
rJ
jK ?
LMNO
LPQ
NR
LST
Q ?
LUV
T ?
L ?W*A*BX ,Y ,1 ,Z ?[&W\
` ?]
b^_
d`
ab
`cdefg
jhdij
mh!k
rl
Lmn
opq InnerClasses NoopErrorHandlerr ParserCallback LOG Lorg/slf4j/Logger; classLoader Ljava/lang/ClassLoader; namespaceContext /Lio/atlasmap/xml/core/AtlasXmlNamespaceContext;
rootNamespace Ljava/lang/String; saxParserFactory $Ljavax/xml/parsers/SAXParserFactory; transformer !Ljavax/xml/transform/Transformer; documentBuilder #Ljavax/xml/parsers/DocumentBuilder; (Ljava/lang/ClassLoader;)V Code LineNumberTable LocalVariableTable dbf *Ljavax/xml/parsers/DocumentBuilderFactory; e Ljava/lang/Exception; this 5Lio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser; cl
StackMapTablens
Exceptions parse 6(Lorg/w3c/dom/Document;)Lcom/sun/xml/xsom/XSSchemaSet; doc Lorg/w3c/dom/Document;
xsomParser $Lcom/sun/xml/xsom/parser/XSOMParser;tO 5(Ljava/io/InputStream;)Lcom/sun/xml/xsom/XSSchemaSet; in Ljava/io/InputStream; createSchema 4(Ljava/io/InputStream;)Ljavax/xml/validation/Schema; Lio/atlasmap/api/AtlasException; e2 factory $Ljavax/xml/validation/SchemaFactory;
schemaSources Ljava/util/List; LocalVariableTypeTable .Ljava/util/List;uvw setNamespaceContext 2(Lio/atlasmap/xml/core/AtlasXmlNamespaceContext;)V nsc getNamespaceContext 1()Lio/atlasmap/xml/core/AtlasXmlNamespaceContext; setRootNamespace (Ljava/lang/String;)V rootns getRootNamespace ()Ljava/lang/String; getTargetNamespace &(Lorg/w3c/dom/Node;)Ljava/lang/String; n Lorg/w3c/dom/Node;
attributes Lorg/w3c/dom/NamedNodeMap; tns Lorg/w3c/dom/Attr;x,g
parseInternal ](Lorg/w3c/dom/Document;Lio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser$ParserCallback;)V Lorg/w3c/dom/Element; i I xpath Ljavax/xml/xpath/XPath;
subSchemas Lorg/w3c/dom/NodeList;
rootSchema root callback DLio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser$ParserCallback;rCy@ createXSOMParser &()Lcom/sun/xml/xsom/parser/XSOMParser; parser inheritNamespaces (Lorg/w3c/dom/Element;Z)V attr element
updateContext Z targetz
toInputStream 2(Lorg/w3c/dom/Node;)Ljava/io/ByteArrayInputStream; baos Ljava/io/ByteArrayOutputStream; output [B\ ? lambda$createSchema$1 %(Ljava/util/List;Lorg/w3c/dom/Node;)V s #Ljavax/xml/transform/dom/DOMSource; lambda$parse$0 9(Lcom/sun/xml/xsom/parser/XSOMParser;Lorg/w3c/dom/Node;)V
access$100 ()Lorg/slf4j/Logger; ()V
SourceFile AtlasXmlSchemaSetParser.java &io/atlasmap/xml/core/AtlasXmlConstants y z ? ? { | -io/atlasmap/xml/core/AtlasXmlNamespaceContext } ~{|} ? ?~|?? ? ??|????? ? ? java/lang/Exception io/atlasmap/api/AtlasException ?? ? ? BootstrapMethods????? ? ???? ?? ? ? javax/xml/XMLConstants http://www.w3.org/2001/XMLSchemav|? java/util/LinkedList??? Dio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser$NoopErrorHandler ???? javax/xml/transform/Sourcew?? [Ljavax/xml/transform/Source;?? ?z?? targetNamespacex?? org/w3c/dom/Attr? ?t?? SchemaSet? ????|???y ?? ,/%s:SchemaSet/%s:AdditionalSchemas/%s:schema java/lang/Object ss xs??????? org/w3c/dom/NodeList???? org/w3c/dom/Element ? ??? /%s:SchemaSet/%s:schema?? HThe root schema '/SchemaSet/schema' must be specified once and only once ? ? ? ????? schema OUnsupported document element '%s': root element must be 'schema' or 'SchemaSet' "com/sun/xml/xsom/parser/XSOMParser ?? 7io/atlasmap/xml/core/schema/XSOMClasspathEntityResolver ? ??? 0com/sun/xml/xsom/util/DomAnnotationParserFactory?? ,io/atlasmap/xml/core/schema/XSOMErrorHandler?? xmlns? ?? ??? java/io/ByteArrayOutputStream !javax/xml/transform/dom/DOMSource ?? 'javax/xml/transform/stream/StreamResult ?????????? >>> {} java/lang/String ???? java/io/ByteArrayInputStream?? ? ? ?? 3io/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser??? 5io/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser$1 Bio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser$ParserCallback java/lang/ClassLoader org/w3c/dom/Document java/io/InputStream "javax/xml/validation/SchemaFactory java/util/List org/w3c/dom/NamedNodeMap javax/xml/xpath/XPath org/w3c/dom/Node "javax/xml/parsers/SAXParserFactory newInstance &()Ljavax/xml/parsers/SAXParserFactory; &javax/xml/transform/TransformerFactory *()Ljavax/xml/transform/TransformerFactory; newTransformer #()Ljavax/xml/transform/Transformer; (javax/xml/parsers/DocumentBuilderFactory ,()Ljavax/xml/parsers/DocumentBuilderFactory; setNamespaceAware (Z)V newDocumentBuilder %()Ljavax/xml/parsers/DocumentBuilder; (Ljava/lang/Throwable;)V
?? (Lorg/w3c/dom/Node;)V
r? addSchema ?(Lio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser;Lcom/sun/xml/xsom/parser/XSOMParser;)Lio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser$ParserCallback; getResult ()Lcom/sun/xml/xsom/XSSchemaSet; !javax/xml/parsers/DocumentBuilder -(Ljava/io/InputStream;)Lorg/w3c/dom/Document; 8(Ljava/lang/String;)Ljavax/xml/validation/SchemaFactory;
r? V(Ljava/util/List;)Lio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser$ParserCallback; o(Lio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser;Lio/atlasmap/xml/core/schema/AtlasXmlSchemaSetParser$1;)V setErrorHandler (Lorg/xml/sax/ErrorHandler;)V toArray (([Ljava/lang/Object;)[Ljava/lang/Object; newSchema <([Ljavax/xml/transform/Source;)Ljavax/xml/validation/Schema;
getAttributes ()Lorg/w3c/dom/NamedNodeMap; getNamedItem &(Ljava/lang/String;)Lorg/w3c/dom/Node; getValue getDocumentElement ()Lorg/w3c/dom/Element; getLocalName equals (Ljava/lang/Object;)Z javax/xml/xpath/XPathFactory ()Ljavax/xml/xpath/XPathFactory; newXPath ()Ljavax/xml/xpath/XPath; )(Ljavax/xml/namespace/NamespaceContext;)V format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; javax/xml/xpath/XPathConstants NODESET Ljavax/xml/namespace/QName; evaluate S(Ljava/lang/String;Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object; getLength ()I item (I)Lorg/w3c/dom/Node; NODE isEmpty ()Z add '(Ljava/lang/String;Ljava/lang/String;)V '(Ljavax/xml/parsers/SAXParserFactory;)V setEntityResolver (Lorg/xml/sax/EntityResolver;)V setAnnotationParser 4(Lcom/sun/xml/xsom/parser/AnnotationParserFactory;)V
getParentNode ()Lorg/w3c/dom/Node; getPrefix getName setAttribute (Ljava/io/OutputStream;)V javax/xml/transform/Transformer transform ;(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V toByteArray ()[B org/slf4j/Logger isTraceEnabled ([B)V trace '(Ljava/lang/String;Ljava/lang/Object;)V (Ljava/io/InputStream;)V org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger;??? ? ? ? ? "java/lang/invoke/LambdaMetafactory metafactory? Lookup ?(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;? %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! r 6 y z { | } ~ ? ? ? ? ? ? ? ? ? ? ? D*? *+? *? Y? ? *? ? *?
? ? ?
M,? *,? ? ?
M? Y,? ?? 6 9 ? 2 G H I J L % M ) N . O 6 R 9 P : Q C S ? * )
? ? : ? ? D ? ? D ? | ? ? 9 ? ? ? ? ? ? ? ? *? M*+*,? ? ,? ?N? Y-? ? ? ] ^ f g h ? * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? *? +? M*,? ?M? Y,? ? ? u v w x ? * ? ? ? ? ? ? ? ? ? O ? ? ? ? ? " T? M? Y? N*? +? :*-? ? ,? Y*? !? ",-? #? $ ? %? &?:?:? Y? ? B C B H ? *
? ? ? ? $ ? 1 ? C ? E ? H ? J ? ? H + ? ? E ? ? J
? ? T ? ? T ? ? N ? ? F ? ? ? F ? ? ? ? C ? ? ? ? ?D ? ? ? ? ? > *+? ? ?
? ? ? ? ? ? ~ ? ? ? / *? ? ? ? ? ? ? ? ? ? > *+? '? ?
? ? ? ? ? ? ? ? ? ? / *? '? ? ? ? ? ? ? ? ? ? *+? ( M,? )?,*? + ? ,N-? -? - ? )? ? ? ? ? ? ? ? * * ? ? * ? ? # ? ? ? ? ? ? ?? ?A ? ? ? ? ? U+? . N/-? 0 ? 1? ܸ 2? 3:*? ? 4 5? 6Y7SY7SY8S? 9-? :? ; ? <:6? = ? &? > ? ?:*? @,? A ????B? 6Y7SY8S? 9-? C? ; ? ?:?
? YD? E?**? F? '*? '? *? '? G? *? H*? '? I*? @,? A ? \J-? 0 ? 1? 4,-? A **-? F? '*? '? 7*? '? G? -*? H*? '? I? ? YK? 6Y-? 0 S? 9? E??
N? Y-? ?? GJ ? ? ! ? ? ? ? ( ? ? ? P ? _ ? m ? t ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?- ?: ?@ ?G ?J ?K ?T ? ? f
m ? ? S / ? ? ? ? ? P ? ? ? ? F ? ? @ ? ? K ? ? U ? ? U ? ? U ? ? ? 2 ? S ? ? ? ? ? ? ? .? 1 ?'? >? B ? ? ? ? ? w 3? LY*? ? ML+? NY*? ? O? P+? QY? R? S+? TY? U? V+? ? ? ? ? &