Edit C:\dspace-6.2-release\dspace\target\dspace-installer\webapps\rest\WEB-INF\lib\jena\schemagen.class
???? 3 ? !" #$ %&' ]( ) *+ , - .) / %01 2 3 4?5 6 7 8 9 : ; < = > ? @ A B C D E F?GHI?J?K LM LN LO LP QR STU VW?XTY?Z?[L\ ?]?^ _` _abc d?e %f g?h?i 2j Vk 2lm Vn Vop Vq Vr stu ^v ]wxy?z{?|?}~? ? ????????????? rn? u r? ??????? ???? 2??? 2?????? ?? ??H???H?H? ]? ]? ??? ]?????????????H????? ?? ?? ?? ?? ?? ? ]??? ? ?? ? ? ?/????? 2? 2???????? 2? ?? 2????? ??? ?????? ?? ?? ?H???????? ? ? ? ???????????? ?? ??T?? ?? ?/ ?/ ? ? ? 2 ! " #$?%?&T'T()'T*+, -.)/0?01+2 345+67?89:;<= >?@+ABTC0?D E+FG+HIJK?L 3\ 2M -\ N\ O\IPQ 9RLSLTIU 9VIW?X?Y?Z [ \ ] ^?_?`aTb cdefg hTijkTlmnop?q 3r 3s -tT/ uv?w?x?y z {?|?}T~?? 3? N?? m?0??????????? ? ?????? ??L?|? 3??????? ? 2? ?H??????????? ?? N? ? ? ? ? ??? ??? N?L?T?????? 2? ?? ??? ???? ?? ?? ?????????L??? ?L?K? ?K? ?? ??? ?? ?? ?? ???????????????*??????????????????????????? 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 StackMapTable$ 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"Lb selectOutput p arr$ len$ i$ packagePath fileName packageName out Ljava/io/File; Ljava/lang/Exception; outFilemx 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 indentTo (ILjava/lang/StringBuffer;)I j buf Ljava/lang/StringBuffer; indent writeln (ILjava/lang/String;)V write indentLevel getImports ()Ljava/lang/String;? getClassName uri nameL 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; rw %Lcom/hp/hpl/jena/rdf/model/RDFWriter; output first st Ljava/util/StringTokenizer;? protectQuotes writeOntologyVersionInfo versionInfo writeNamespace nsURI determineNamespaceURI ns getOptionNamespace getDefaultPrefixNamespace defaultNS getOntologyElementVersionInfo ont $Lcom/hp/hpl/jena/rdf/model/Resource; (Lcom/hp/hpl/jena/rdf/model/StmtIterator; ontologyClassd getOntologyElementNamespace ch endsWithNCNameCh guessNamespace %Lcom/hp/hpl/jena/rdf/model/Statement; count nsKey nsCount max LocalVariableTypeTable 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; count1Q ](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; prop 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 candidatesD 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 (Ljava/util/Iterator<Ljava/lang/String;>; writeDatatypes selectDatatypes 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; comment5 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/schemagen3- !jena/schemagen$SchemagenException Schemagen failed to run:{ java/lang/StringBuilder Caused by: !"{#` #jena/schemagen$SchemagenOptionsImpl%-34$?h&6&7&8&<&C&V&R&?&?&?&?&?&?&?&T&c&%&'()?*?+:,:-:.:/0123456?7?8?9?:;<{=j>{?@ABC $com/hp/hpl/jena/shared/JenaException Failed to read input source deD{KE{ \.FGHIJ java/io/File%K? .javaL?M?}{ java/io/PrintStream java/io/FileOutputStream%N%O java/lang/Exception 1I/O error while trying to open file for writing: P? Q?R{ ?/* CVS $Id: $ */%nl%%package% %nl%%imports% %nl%/**%nl% * Vocabulary definitions from %sourceURI% %nl% * @author Auto-generated by schemagen on %date% %nl% */S?ijvw #import com.hp.hpl.jena.rdf.model.*;T? "import com.hp.hpl.jena.ontology.*;U? $import java.io.ByteArrayInputStream;V{ date java/text/SimpleDateFormat dd MMM yyyy HH:mm java/util/DateWXXY packageY? package ; importsz{ classname nl (file:|[A-Za-z]:).*$ZJ \ \\[\ sourceURI]{ % jena/schemagen$Replacement^_`%abc &java/util/regex/PatternSyntaxException Malformed regexp pattern defgh&i&%j 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.klm?nopqrstuvjwxwx java/lang/StringBuffery????z?{{ #|e}~ .daml .owl .rdf .rdfs .n3 .xml .ttl????}????{?????? )java/lang/StringIndexOutOfBoundsException =Could not identify legal Java identifier start character in ' ', replacing with __ __?????c public class ???{ { }?&?&?&?&???{ OWL 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();v` java/io/ByteArrayOutputStream Turtle?? objectLists?????x? %private static final String SOURCE = java/util/StringTokenizer%Y???{ + "?j \n" :/** Read the ontology definition into the source model */ static { Jm_model.read( new ByteArrayInputStream( SOURCE.getBytes() ), null, "N3" ); \\\\v? \\"?{ 8/** <p>The ontology's owl:versionInfo as a string</p> */ +public static final String VERSION_INFO = " ";?{ 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 );?{?{?{?{ 9Could not determine the base URI for the input vocabulary???;?j???????;????????;??? !com/hp/hpl/jena/rdf/model/RDFNode?????{ XWarning: ambiguous owl:versionInfo - there are more than one owl:versionInfo statements. Picking first choice: . Other choices are:"{ QWarning: ambiguous owl:versionInfo - there is more than one owl:Ontology element.??? SWarning: ambiguous default namespace - there is more than one owl:Ontology element.?{ @Use the -a option to specify a particular namespace if required.?? #com/hp/hpl/jena/rdf/model/Statement???????;??? java/lang/String?c??@? java/lang/Integer?e???{?c%`???????{?&?&?&?????{ 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??e?j?p? create?????{?&?&???{?? OntClass createClass _CLASS?? jena/schemagen$1%?????& Resource createResource?????{?&?&???{ Ypublic static final %valclass% %valname% = m_model.%valcreator%( "%valuri%", %valtype% );?? #com/hp/hpl/jena/ontology/Individual?????? m_model.createClass( " " ) valtype Individual createIndividual _INSTANCE_`?J???????{???{?? _DATATYPE??????????j valuri valname valclass valcreator???????? !com/hp/hpl/jena/rdf/model/Literal?{????? Not a literal: ??? /** <p>??pq * < > & </p> */?? ??{?? jena/schemagen$2 v & 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 %com/hp/hpl/jena/ontology/OntModelSpec java/util/Iterator #com/hp/hpl/jena/rdf/model/RDFWriter &com/hp/hpl/jena/rdf/model/StmtIterator java/util/Map java/util/List &com/hp/hpl/jena/rdf/model/NodeIterator 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; addAll (Ljava/util/Collection;)Z hasLangRdfsOption hasUseInfOption 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; 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 getWriter 9(Ljava/lang/String;)Lcom/hp/hpl/jena/rdf/model/RDFWriter; java/lang/Boolean FALSE Ljava/lang/Boolean; setProperty 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; L(Lcom/hp/hpl/jena/rdf/model/Model;Ljava/io/OutputStream;Ljava/lang/String;)V hasMoreTokens nextToken 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; hasNamespaceOption getNamespaceOption getNsPrefixURI getBaseModel #()Lcom/hp/hpl/jena/rdf/model/Model; com/hp/hpl/jena/rdf/model/Model getProfile $()Lcom/hp/hpl/jena/ontology/Profile; com/hp/hpl/jena/ontology/Profile ONTOLOGY com/hp/hpl/jena/vocabulary/RDF type $Lcom/hp/hpl/jena/rdf/model/Property; 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; nextStatement '()Lcom/hp/hpl/jena/rdf/model/Statement; getSubject com/hp/hpl/jena/vocabulary/OWL getObject %()Lcom/hp/hpl/jena/rdf/model/RDFNode; asLiteral %()Lcom/hp/hpl/jena/rdf/model/Literal; getLexicalForm org/apache/xerces/util/XMLChar isNCName (I)Z getString *()Lcom/hp/hpl/jena/rdf/model/StmtIterator; getPredicate &()Lcom/hp/hpl/jena/rdf/model/Property; isResource getResource keySet ()Ljava/util/Set; java/util/Set 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 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 hasNodatatypesOption hasDatatypesSectionOption getDatatypesSectionOption hasDatatypeTemplateOption getDatatypeTemplateOption Datatype 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; nextNode 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; jena/cmdline/CmdLineUtils setLog4jConfiguration java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; ! ? ? I z I g !"