Edit C:\Users\Admin\.m2\repository\com\hp\hpl\jena\jena\2.6.4\jena\schemagen.class
???? 1? ??? ? ?? ? ?? ? ?? ? ? ?? ? ?? ??? _? ? ?? ?? ? ? ? ??? ?! " # $ % &' ()* +,?-).?/?0C1 ?2?3 45 4678 9?: ?; <?=>? )@ XA )BC XD XEF XG XH IJK `L _MNO?PQ?R?ST?U V WX?YZ?[\?]^_` tDa w? tb cd?efgh ijkl )mno )pq?rst uv ?wxyz{| _} _~ ?? _?????????????????? ?? u? ?? ?? ?? ? _??? ?? ?? ? ? ?????? )? )???????? )? ?? )????? ??? ?????? ?? ?? ????????? ? ? ????????????? ?? ???)? ??? ?? ?? ?????? ?????? )? )? )? ???? ????????? ? ? ? ??????)?)??? ??)???? ?! ! )? !!?!? 1 ) ?1 1 1 0CC 0? ?!?"?# $ % & '?(?)*)+ ,-./0 1)234)56789?: ; < ?= >; ><) ?@?A?B?C D E?F?G)HIJK L >L LM gNOPQRS?T?U?V W X?Y?Z[ \]C^v_ `abcdef gh )i j k l m n opq rst uCv >u)wx?xyz?{ )| ?} ~? ???? ?? ?? ?????????C??? ?C?? ?x ?? ??? ?N ?? ?????????????????????????????????????????????????? ? ???? SchemagenUtils InnerClasses SchemagenException Replacement? OptionDefinition SchemagenOptionsImpl? SchemagenOptions NS Ljava/lang/String; ConstantValue? DEFAULT_CONFIG_URI? DEFAULT_MARKER DEFAULT_TEMPLATE DEFAULT_INDIVIDUAL_TEMPLATE DEFAULT_RDFS_INDIVIDUAL_TEMPLATE DEFAULT_HEADER_TEMPLATE COMMENT_LENGTH_LIMIT I P JAVA_KEYWORDS [Ljava/lang/String; KEYWORD_LIST Ljava/util/List; Signature $Ljava/util/List<Ljava/lang/String;>; m_options !Ljena/schemagen$SchemagenOptions; m_source #Lcom/hp/hpl/jena/ontology/OntModel; m_output Ljava/io/PrintStream; m_replacements .Ljava/util/List<Ljena/schemagen$Replacement;>; m_nl m_indentStep m_usedNames Ljava/util/Set; #Ljava/util/Set<Ljava/lang/String;>; m_resourcesToNames Ljava/util/Map; GLjava/util/Map<Lcom/hp/hpl/jena/rdf/model/Resource;Ljava/lang/String;>; m_includeURI <init> ()V Code LineNumberTable LocalVariableTable this Ljena/schemagen; main ([Ljava/lang/String;)V e #Ljena/schemagen$SchemagenException; args go $(Ljena/schemagen$SchemagenOptions;)V options processInput addIncludes determineLanguage s 'Lcom/hp/hpl/jena/ontology/OntModelSpec; selectInput &Lcom/hp/hpl/jena/shared/JenaException; input syntax selectOutput p arr$ len$ i$ packagePath fileName packageName out Ljava/io/File; Ljava/lang/Exception; outFile processHeader header processFooter footer setGlobalReplacements source addReplacementPattern '(Ljava/lang/String;Ljava/lang/String;)V (Ljava/util/regex/PatternSyntaxException; marker key replacement pop (I)V i n closeOutput abort *(Ljava/lang/String;Ljava/lang/Exception;)V msg cause usage substitute &(Ljava/lang/String;)Ljava/lang/String; r Ljena/schemagen$Replacement; Ljava/util/Iterator; sIn LocalVariableTypeTable 2Ljava/util/Iterator<Ljena/schemagen$Replacement;>; indentTo (ILjava/lang/StringBuffer;)I j buf Ljava/lang/StringBuffer; indent writeln (ILjava/lang/String;)V write indentLevel getImports ()Ljava/lang/String; getClassName uri name useOntology ()Z noComments includeSource asLegalJavaID '(Ljava/lang/String;Z)Ljava/lang/String; +Ljava/lang/StringIndexOutOfBoundsException; c C cap Z writeClassDeclaration writeClassClose writeInitialDeclarations writeModelDeclaration lang writeSource tok bos Ljava/io/ByteArrayOutputStream; output first st Ljava/util/StringTokenizer; protectQuotes qStart qEnd s0 nDquote writeNamespace nsURI determineNamespaceURI ns getOptionNamespace getDefaultPrefixNamespace defaultNS getOntologyElementNamespace ont $Lcom/hp/hpl/jena/rdf/model/Resource; ch endsWithNCNameCh (Lcom/hp/hpl/jena/rdf/model/StmtIterator; guessNamespace %Lcom/hp/hpl/jena/rdf/model/Statement; count nsKey nsCount max (Ljava/util/Iterator<Ljava/lang/String;>; 6Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>; countNamespace 6(Lcom/hp/hpl/jena/rdf/model/Resource;Ljava/util/Map;)V Ljava/lang/Integer; count1 ](Lcom/hp/hpl/jena/rdf/model/Resource;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;)V writeProperties writeObjectProperties template :Ljava/util/Iterator<+Lcom/hp/hpl/jena/rdf/model/RDFNode;>; writeDatatypeProperties writeAnnotationProperties writeRDFProperties (Z)V props %[Lcom/hp/hpl/jena/rdf/model/Resource; useOntProperty propType propertyResources 6Ljava/util/List<Lcom/hp/hpl/jena/rdf/model/Resource;>; writeClasses writeOntClasses writeRDFClasses cls classes writeIndividuals writeOntIndividuals ind %Lcom/hp/hpl/jena/ontology/Individual; varName valType writeRDFIndividuals selectIndividuals 2()Lcom/hp/hpl/jena/util/iterator/ExtendedIterator; candTypeURI candObj candSubj candidate candidates X()Lcom/hp/hpl/jena/util/iterator/ExtendedIterator<+Lcom/hp/hpl/jena/rdf/model/RDFNode;>; isIncluded '(Lcom/hp/hpl/jena/rdf/model/Resource;)Z accepted writeValue o(Lcom/hp/hpl/jena/rdf/model/Resource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V valueClass creator disambiguator hasComment getComment 8(Lcom/hp/hpl/jena/rdf/model/Resource;)Ljava/lang/String; #Lcom/hp/hpl/jena/rdf/model/RDFNode; ni (Lcom/hp/hpl/jena/rdf/model/NodeIterator; comment formatComment inSpace pos singleLine filter typeURI typeRes getValueName J(Lcom/hp/hpl/jena/rdf/model/Resource;Ljava/lang/String;)Ljava/lang/String; attempt baseName getUCValueName localName lastChar sorted b(Lcom/hp/hpl/jena/util/iterator/ExtendedIterator;)Lcom/hp/hpl/jena/util/iterator/ExtendedIterator; 0Lcom/hp/hpl/jena/util/iterator/ExtendedIterator; VLcom/hp/hpl/jena/util/iterator/ExtendedIterator<+Lcom/hp/hpl/jena/rdf/model/RDFNode;>; ?(Lcom/hp/hpl/jena/util/iterator/ExtendedIterator<+Lcom/hp/hpl/jena/rdf/model/RDFNode;>;)Lcom/hp/hpl/jena/util/iterator/ExtendedIterator<+Lcom/hp/hpl/jena/rdf/model/RDFNode;>; B(Ljava/util/List;)Lcom/hp/hpl/jena/util/iterator/ExtendedIterator; members 6Ljava/util/List<+Lcom/hp/hpl/jena/rdf/model/RDFNode;>; ?(Ljava/util/List<+Lcom/hp/hpl/jena/rdf/model/RDFNode;>;)Lcom/hp/hpl/jena/util/iterator/ExtendedIterator<+Lcom/hp/hpl/jena/rdf/model/RDFNode;>; <clinit> SourceFile schemagen.java java/util/ArrayList ?? java/util/HashSet java/util/HashMap jena/schemagen# !jena/schemagen$SchemagenException?? Schemagen failed to run:???d?? java/lang/StringBuilder Caused by: ????d?H #jena/schemagen$SchemagenOptionsImpl#$?iP&'(+/?;su???t=K??????i?i??*?*?i?*?*?*?*??? ???????i???i???d?R?d? $com/hp/hpl/jena/shared/JenaException Failed to read input source LMd7 d \.? java/io/File?i .javai ied java/io/PrintStream java/io/FileOutputStream java/lang/Exception 1I/O error while trying to open file for writing: i id ?/* CVS $Id: $ */%nl%%package% %nl%%imports% %nl%/**%nl% * Vocabulary definitions from %sourceURI% %nl% * @author Auto-generated by schemagen on %date% %nl% */iQR_` #import com.hp.hpl.jena.rdf.model.*;i "import com.hp.hpl.jena.ontology.*;i $import java.io.ByteArrayInputStream;d date java/text/SimpleDateFormat dd MMM yyyy HH:mm java/util/DateAB packagei package ; importscd classname nl (file:|[A-Za-z]:).*$ \ \\ sourceURId % jena/schemagen$Replacement !"# &java/util/regex/PatternSyntaxException Malformed regexp pattern $%&'()* Usage: # java jena.schemagen [options ...]? Commonly used options include: 3 -i <input> the source document as a file or URL. 0 -n <name> the name of the created Java class. 5 -a <uri> the namespace URI of the source document. 8 -o <file> the file to write the generated class into. G -o <dir> the directory in which the generated Java class is created. . By default, output goes to stdout. G -e <encoding> the encoding of the input document (N3, RDF/XML, etc). @ -c <config> a filename or URL for an RDF document containing ( configuration parameters. AMany other options are available. See the schemagen HOWTO in the $Jena documentation for full details.+,-.i/012345?67R?8a`9? java/lang/StringBuffer?:hiki;i<d #=%>? .daml .owl .rdf .rdfs .n3 .xml .ttl@ABCD>EFiGdlmHiID )java/lang/StringIndexOutOfBoundsException =Could not identify legal Java identifier start character in ' ', replacing with __ __JKLDM# public class NiOd { }vx?PiQd OWL DAML RDFS @/** <p>The ontology model that holds the vocabulary terms</p> */ Qprivate static OntModel m_model = ModelFactory.createOntologyModel( OntModelSpec. _MEM, null ); ;/** <p>The RDF model that holds the vocabulary terms</p> */ Aprivate static Model m_model = ModelFactory.createDefaultModel();_H java/io/ByteArrayOutputStream N3aR %private static final String SOURCE = java/util/StringTokenizerBSiTd + "?R \n" :/** Read the ontology definition into the source model */ static { Jm_model.read( new ByteArrayInputStream( SOURCE.getBytes() ), null, "N3" ); \\"7UVWXWH \"\"\" \"?d 9/** <p>The namespace of the vocabulary as a string</p> */ !public static final String NS = " "; 6/** <p>The namespace of the vocabulary as a string</p> * @see #NS */ *public static String getURI() {return NS;} ;/** <p>The namespace of the vocabulary as a resource</p> */ Fpublic static final Resource NAMESPACE = m_model.createResource( NS );?d?d?d?d 9Could not determine the base URI for the input vocabularyYiZ?[R\]^_`abcde?fghijk?lmn SWarning: ambiguous default namespace - there is more than one owl:Ontology element. Picking first choice: . Other choices are:od @Use the -a option to specify a particular namespace if required.fp #com/hp/hpl/jena/rdf/model/Statement??qrstuiv?wxyz java/lang/String{|#}~ java/lang/Integer?%?i?d?#???i?i?d??????i?d Npublic static final %valclass% %valname% = m_model.%valcreator%( "%valuri%" );???? "com/hp/hpl/jena/rdf/model/Resource ObjectProperty createObjectProperty _PROP???? DatatypeProperty createDatatypeProperty?? AnnotationProperty createAnnotationProperty OntProperty Property?i.?3?9???? create?i?i?d???i?d?? OntClass createClass _CLASS?? jena/schemagen$1?????? Resource createResource?i?i?d???i?d Ypublic static final %valclass% %valname% = m_model.%valcreator%( "%valuri%", %valtype% );?? #com/hp/hpl/jena/ontology/Individual?????? m_model.createClass( " " ) valtype Individual createIndividual _INSTANCEGH !com/hp/hpl/jena/rdf/model/RDFNode? ????ji?????R valuri valname?? valclass valcreator?a??????t !com/hp/hpl/jena/rdf/model/Literal?d?d????? Not a literal: ????? /** <p>?DYZ * < > & </p> */?i???i???d???D?D jena/schemagen$2????@? abstract continue for new switch assert default goto synchronized boolean do if private break double implements protected throw byte else import public throws case enum instanceof return transient catch extends int short try char final interface static void class finally long strictfp volatile const float native super while ??? java/lang/Object jena/schemagen$SchemagenUtils jena/schemagen$OptionDefinition jena/schemagen$SchemagenOptions )http://jena.hpl.hp.com/2003/04/schemagen# file:schemagen.rdf java/lang/System err println (Ljava/lang/String;)V getMessage getCause ()Ljava/lang/Throwable; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; java/lang/Throwable toString exit hasHelpOption getIncludeOption ()Ljava/util/List; java/util/List addAll (Ljava/util/Collection;)Z hasLangDamlOption hasUseInfOption %com/hp/hpl/jena/ontology/OntModelSpec DAML_MEM_RULE_INF DAML_MEM hasLangRdfsOption RDFS_MEM_RDFS_INF RDFS_MEM OWL_MEM_RULE_INF OWL_MEM &com/hp/hpl/jena/rdf/model/ModelFactory createOntologyModel m(Lcom/hp/hpl/jena/ontology/OntModelSpec;Lcom/hp/hpl/jena/rdf/model/Model;)Lcom/hp/hpl/jena/ontology/OntModel; !com/hp/hpl/jena/ontology/OntModel getDocumentManager /()Lcom/hp/hpl/jena/ontology/OntDocumentManager; +com/hp/hpl/jena/ontology/OntDocumentManager setProcessImports hasNoStrictOption setStrictMode hasInputOption getInputOption &()Lcom/hp/hpl/jena/rdf/model/Resource; getURI urlCheck getEncodingOption com/hp/hpl/jena/util/FileManager get $()Lcom/hp/hpl/jena/util/FileManager; readModel h(Lcom/hp/hpl/jena/rdf/model/Model;Ljava/lang/String;Ljava/lang/String;)Lcom/hp/hpl/jena/rdf/model/Model; getOutputOption getPackagenameOption split '(Ljava/lang/String;)[Ljava/lang/String; separator endsWith (Ljava/lang/String;)Z exists mkdirs isDirectory (Ljava/io/File;)V (Ljava/io/OutputStream;)V hasDosOption hasHeaderOption getHeaderOption hasNoheaderOption hasOntologyOption hasIncludeSourceOption getFooterOption format $(Ljava/util/Date;)Ljava/lang/String; hasPackagenameOption matches replace D(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; getMarkerOption java/util/regex/Pattern compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; >(Ljena/schemagen;Ljava/util/regex/Pattern;Ljava/lang/String;)V add (Ljava/lang/Object;)Z size ()I remove (I)Ljava/lang/Object; flush close *(Ljava/lang/String;Ljava/lang/Throwable;)V iterator ()Ljava/util/Iterator; java/util/Iterator hasNext next ()Ljava/lang/Object; pattern Ljava/util/regex/Pattern; matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; sub java/util/regex/Matcher replaceAll (C)Ljava/lang/StringBuffer; print ,(Ljava/lang/String;)Ljava/lang/StringBuffer; hasClassnameOption getClassnameOption length substring (II)Ljava/lang/String; charAt (I)C java/lang/Character isUnicodeIdentifierPart (C)Z (I)Ljava/lang/String; hasClassnameSuffixOption getClassnameSuffixOption hasNoCommentsOption isJavaIdentifierStart toUpperCase (C)C isJavaIdentifierPart contains hasClassdecOption getClassdecOption hasDeclarationsOption getDeclarationsOption K(Ljava/io/OutputStream;Ljava/lang/String;)Lcom/hp/hpl/jena/rdf/model/Model; hasMoreTokens nextToken 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; indexOf (I)I lastIndexOf hasNamespaceOption getNamespaceOption getNsPrefixURI getBaseModel #()Lcom/hp/hpl/jena/rdf/model/Model; com/hp/hpl/jena/rdf/model/Model com/hp/hpl/jena/vocabulary/RDF type $Lcom/hp/hpl/jena/rdf/model/Property; getProfile $()Lcom/hp/hpl/jena/ontology/Profile; com/hp/hpl/jena/ontology/Profile ONTOLOGY listStatements ?(Lcom/hp/hpl/jena/rdf/model/Resource;Lcom/hp/hpl/jena/rdf/model/Property;Lcom/hp/hpl/jena/rdf/model/RDFNode;)Lcom/hp/hpl/jena/rdf/model/StmtIterator; &com/hp/hpl/jena/rdf/model/StmtIterator nextStatement '()Lcom/hp/hpl/jena/rdf/model/Statement; getSubject org/apache/xerces/util/XMLChar isNCName (I)Z getString *()Lcom/hp/hpl/jena/rdf/model/StmtIterator; getPredicate &()Lcom/hp/hpl/jena/rdf/model/Property; getObject %()Lcom/hp/hpl/jena/rdf/model/RDFNode; isResource getResource java/util/Map keySet ()Ljava/util/Set; java/util/Set com/hp/hpl/jena/vocabulary/OWL equals com/hp/hpl/jena/vocabulary/RDFS com/hp/hpl/jena/vocabulary/XSD &(Ljava/lang/Object;)Ljava/lang/Object; intValue isAnon getNameSpace containsKey put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; hasNopropertiesOption hasPropertySectionOption getPropertySectionOption hasPropTemplateOption getPropTemplateOption listObjectProperties listDatatypeProperties listAnnotationProperties hasLangOwlOption #com/hp/hpl/jena/vocabulary/DAML_OIL hasNoclassesOption hasClassSectionOption getClassSectionOption hasClassTemplateOption getClassTemplateOption listClasses Class (Ljena/schemagen;)V mapWith V(Lcom/hp/hpl/jena/util/iterator/Map1;)Lcom/hp/hpl/jena/util/iterator/ExtendedIterator; .com/hp/hpl/jena/util/iterator/ExtendedIterator toList hasNoindividualsOption hasIndividualsSectionOption getIndividualsSectionOption hasIndividualTemplateOption getIndividualTemplateOption as 6(Ljava/lang/Class;)Lcom/hp/hpl/jena/rdf/model/RDFNode; getOntClass %()Lcom/hp/hpl/jena/ontology/OntClass; Thing startsWith hasProperty '(Lcom/hp/hpl/jena/rdf/model/Property;)Z listObjectsOfProperty r(Lcom/hp/hpl/jena/rdf/model/Resource;Lcom/hp/hpl/jena/rdf/model/Property;)Lcom/hp/hpl/jena/rdf/model/NodeIterator; &com/hp/hpl/jena/rdf/model/NodeIterator nextNode getLexicalForm trim getClass ()Ljava/lang/Class; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; org/slf4j/Logger debug isWhitespace hasStrictIndividualsOption listProperties N(Lcom/hp/hpl/jena/rdf/model/Property;)Lcom/hp/hpl/jena/rdf/model/StmtIterator; hasUcNamesOption getLocalName (I)Ljava/lang/StringBuilder; isLowerCase isUpperCase java/util/Collections sort )(Ljava/util/List;Ljava/util/Comparator;)V -com/hp/hpl/jena/util/iterator/WrappedIterator F(Ljava/util/Iterator;)Lcom/hp/hpl/jena/util/iterator/ExtendedIterator; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; ! ? ?? ? ? ?? ? ? ?? ? ? ?? ? @ ?? ? t ?? ? @ ?? ? i ?? ? ? ? ? @ ? <*? *? Y? ? *? *? *? Y? ? *? Y? ? *? Y? ? ? "