Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1159 from javaee/rngom-renamed
Browse files Browse the repository at this point in the history
org.kohsuke.rngom rename
  • Loading branch information
bravehorsie committed Jan 11, 2018
2 parents aee10d7 + 04256b8 commit 5d40833
Show file tree
Hide file tree
Showing 206 changed files with 855 additions and 891 deletions.
2 changes: 1 addition & 1 deletion jaxb-ri/boms/bom-ext/pom.xml
Expand Up @@ -3,7 +3,7 @@
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2013-2017 Oracle and/or its affiliates. All rights reserved. Copyright (c) 2013-2018 Oracle and/or its affiliates. All rights reserved.
The contents of this file are subject to the terms of either the GNU The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development General Public License Version 2 only ("GPL") or the Common Development
Expand Down
2 changes: 1 addition & 1 deletion jaxb-ri/boms/bom/pom.xml
Expand Up @@ -3,7 +3,7 @@
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2013-2017 Oracle and/or its affiliates. All rights reserved. Copyright (c) 2013-2018 Oracle and/or its affiliates. All rights reserved.
The contents of this file are subject to the terms of either the GNU The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development General Public License Version 2 only ("GPL") or the Common Development
Expand Down
4 changes: 2 additions & 2 deletions jaxb-ri/bundles/jxc/pom.xml
Expand Up @@ -3,7 +3,7 @@
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2013-2017 Oracle and/or its affiliates. All rights reserved. Copyright (c) 2013-2018 Oracle and/or its affiliates. All rights reserved.
The contents of this file are subject to the terms of either the GNU The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development General Public License Version 2 only ("GPL") or the Common Development
Expand Down Expand Up @@ -338,7 +338,7 @@
<exclude>relaxngDatatype:relaxngDatatype</exclude> <exclude>relaxngDatatype:relaxngDatatype</exclude>


<exclude>org.glassfish.jaxb:codemodel</exclude> <exclude>org.glassfish.jaxb:codemodel</exclude>
<exclude>org.kohsuke.rngom:rngom</exclude> <exclude>com.sun.tools.rngom:rngom</exclude>
<exclude>com.sun.xml.bind.external:rngom</exclude> <exclude>com.sun.xml.bind.external:rngom</exclude>
<exclude>com.sun.xml.dtd-parser:dtd-parser</exclude> <exclude>com.sun.xml.dtd-parser:dtd-parser</exclude>
<exclude>com.sun.istack:istack-commons-tools</exclude> <exclude>com.sun.istack:istack-commons-tools</exclude>
Expand Down
4 changes: 2 additions & 2 deletions jaxb-ri/bundles/osgi/osgi/pom.xml
Expand Up @@ -3,7 +3,7 @@
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2013-2017 Oracle and/or its affiliates. All rights reserved. Copyright (c) 2013-2018 Oracle and/or its affiliates. All rights reserved.
The contents of this file are subject to the terms of either the GNU The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development General Public License Version 2 only ("GPL") or the Common Development
Expand Down Expand Up @@ -274,7 +274,7 @@
org.jvnet.fastinfoset.*;version=${fastinfoset.version}, org.jvnet.fastinfoset.*;version=${fastinfoset.version},
org.jvnet.staxex;version=${stax-ex.version}, org.jvnet.staxex;version=${stax-ex.version},
org.jvnet.staxex.util;version=${stax-ex.version}, org.jvnet.staxex.util;version=${stax-ex.version},
org.kohsuke.rngom.*;version=${jaxb.osgiVersion}, com.sun.tools.rngom.*;version=${jaxb.osgiVersion},
org.relaxng.datatype;version=${relaxngDatatype.version}, org.relaxng.datatype;version=${relaxngDatatype.version},
org.relaxng.datatype.*;version=${relaxngDatatype.version} org.relaxng.datatype.*;version=${relaxngDatatype.version}
</Export-Package> </Export-Package>
Expand Down
22 changes: 11 additions & 11 deletions jaxb-ri/external/rngom/exclude-rngom.xml
Expand Up @@ -2,7 +2,7 @@
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2013-2017 Oracle and/or its affiliates. All rights reserved. Copyright (c) 2013-2018 Oracle and/or its affiliates. All rights reserved.
The contents of this file are subject to the terms of either the GNU The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development General Public License Version 2 only ("GPL") or the Common Development
Expand Down Expand Up @@ -60,27 +60,27 @@
<!-- Generated --> <!-- Generated -->
<Match> <Match>
<Or> <Or>
<Class name="org.kohsuke.rngom.parse.compact.CompactSyntaxTokenManager"/> <Class name="com.sun.tools.rngom.parse.compact.CompactSyntaxTokenManager"/>
<Class name="org.kohsuke.rngom.parse.compact.CompactSyntaxConstants"/> <Class name="com.sun.tools.rngom.parse.compact.CompactSyntaxConstants"/>
<Class name="org.kohsuke.rngom.parse.compact.CompactSyntax"/> <Class name="com.sun.tools.rngom.parse.compact.CompactSyntax"/>
<Class name="org.kohsuke.rngom.parse.compact.ParseException"/> <Class name="com.sun.tools.rngom.parse.compact.ParseException"/>
<Class name="org.kohsuke.rngom.parse.compact.TokenMgrError"/> <Class name="com.sun.tools.rngom.parse.compact.TokenMgrError"/>
<Class name="org.kohsuke.rngom.parse.compact.JavaCharStream"/> <Class name="com.sun.tools.rngom.parse.compact.JavaCharStream"/>
<Class name="org.kohsuke.rngom.parse.compact.UCode_UCodeESC_CharStream"/> <Class name="com.sun.tools.rngom.parse.compact.UCode_UCodeESC_CharStream"/>
</Or> </Or>
</Match> </Match>


<!-- Supposed to be used elsewhere --> <!-- Supposed to be used elsewhere -->
<Match> <Match>
<Bug pattern="URF_UNREAD_FIELD"/> <Bug pattern="URF_UNREAD_FIELD"/>
<Class name="org.kohsuke.rngom.digested.DPattern"/> <Class name="com.sun.tools.rngom.digested.DPattern"/>
</Match> </Match>


<!-- Potentially allowed to be subclassed or instantiated --> <!-- Potentially allowed to be subclassed or instantiated -->
<Match> <Match>
<Or> <Or>
<Class name="org.kohsuke.rngom.digested.DXMLPrinter$XMLWriterException"/> <Class name="com.sun.tools.rngom.digested.DXMLPrinter$XMLWriterException"/>
<Class name="org.kohsuke.rngom.digested.DDataPattern$Param"/> <Class name="com.sun.tools.rngom.digested.DDataPattern$Param"/>
</Or> </Or>
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC"/> <Bug pattern="SIC_INNER_SHOULD_BE_STATIC"/>
</Match> </Match>
Expand Down
Expand Up @@ -19,10 +19,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.ast.om.Location;




/** /**
Expand Down
Expand Up @@ -19,7 +19,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


/** /**
* Signals an error while building schemas. * Signals an error while building schemas.
Expand Down
Expand Up @@ -19,9 +19,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.Location;




public interface CommentList<L extends Location> { public interface CommentList<L extends Location> {
Expand Down
Expand Up @@ -19,12 +19,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.Location;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedPattern; import com.sun.tools.rngom.ast.om.ParsedPattern;
import org.kohsuke.rngom.parse.*; import com.sun.tools.rngom.parse.Context;
import com.sun.tools.rngom.parse.*;




public interface DataPatternBuilder< public interface DataPatternBuilder<
Expand Down
Expand Up @@ -19,11 +19,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.Location;
import org.kohsuke.rngom.ast.om.ParsedPattern; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.ast.om.ParsedPattern;




public interface Div< public interface Div<
Expand Down
Expand Up @@ -19,11 +19,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.Location;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedPattern; import com.sun.tools.rngom.ast.om.ParsedPattern;


/** /**
* Used to build foreign element annotations. * Used to build foreign element annotations.
Expand Down
Expand Up @@ -19,11 +19,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedPattern; import com.sun.tools.rngom.ast.om.Location;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.ast.om.ParsedPattern;


/** /**
* {@link Scope} for {@code <grammar>} element that serves as a container * {@link Scope} for {@code <grammar>} element that serves as a container
Expand Down
Expand Up @@ -19,11 +19,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.Location;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedPattern; import com.sun.tools.rngom.ast.om.ParsedPattern;


/** /**
* The container that can have {@code <define>} elements. * The container that can have {@code <define>} elements.
Expand Down
Expand Up @@ -19,14 +19,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedPattern; import com.sun.tools.rngom.parse.IllegalSchemaException;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.parse.Parseable;

import com.sun.tools.rngom.ast.om.Location;
import org.kohsuke.rngom.parse.IllegalSchemaException; import com.sun.tools.rngom.ast.om.ParsedPattern;
import org.kohsuke.rngom.parse.Parseable;


public interface Include< public interface Include<
P extends ParsedPattern, P extends ParsedPattern,
Expand Down
Expand Up @@ -19,12 +19,12 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedPattern; import com.sun.tools.rngom.ast.om.Location;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.ast.om.ParsedPattern;
import org.kohsuke.rngom.parse.Parseable; import com.sun.tools.rngom.parse.Parseable;


/** /**
* {@link Scope} for {@code <grammar>} element of the {@code <include>}d grammar. * {@link Scope} for {@code <grammar>} element of the {@code <include>}d grammar.
Expand Down
Expand Up @@ -19,11 +19,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.Location;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedNameClass; import com.sun.tools.rngom.ast.om.ParsedNameClass;


import java.util.List; import java.util.List;


Expand Down
Expand Up @@ -19,15 +19,17 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.Location;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedNameClass; import com.sun.tools.rngom.ast.om.ParsedPattern;
import org.kohsuke.rngom.ast.om.ParsedPattern; import com.sun.tools.rngom.nc.NameClass;
import org.kohsuke.rngom.parse.*; import com.sun.tools.rngom.parse.Context;
import org.kohsuke.rngom.parse.IllegalSchemaException; import com.sun.tools.rngom.parse.IllegalSchemaException;
import org.kohsuke.rngom.parse.Parseable; import com.sun.tools.rngom.parse.Parseable;
import com.sun.tools.rngom.ast.om.ParsedNameClass;
import com.sun.tools.rngom.parse.*;


import java.util.List; import java.util.List;


Expand All @@ -43,7 +45,7 @@ public interface SchemaBuilder<
/** /**
* Returns the {@link NameClassBuilder}, which is used to build name * Returns the {@link NameClassBuilder}, which is used to build name
* classes for this {@link SchemaBuilder}. The * classes for this {@link SchemaBuilder}. The
* {@link org.kohsuke.rngom.nc.NameClass}es that are built will then be * {@link NameClass}es that are built will then be
* fed into this {@link SchemaBuilder}to further build RELAX NG patterns. * fed into this {@link SchemaBuilder}to further build RELAX NG patterns.
* *
* @return always return a non-null valid object. This method can (and * @return always return a non-null valid object. This method can (and
Expand Down Expand Up @@ -80,7 +82,7 @@ public interface SchemaBuilder<
DataPatternBuilder makeDataPatternBuilder(String datatypeLibrary, String type, L loc) throws BuildException; DataPatternBuilder makeDataPatternBuilder(String datatypeLibrary, String type, L loc) throws BuildException;


P makeValue(String datatypeLibrary, String type, String value, P makeValue(String datatypeLibrary, String type, String value,
Context c, String ns, L loc, A anno) throws BuildException; Context c, String ns, L loc, A anno) throws BuildException;


/** /**
* *
Expand Down Expand Up @@ -138,7 +140,7 @@ P makeValue(String datatypeLibrary, String type, String value,
* when this parameter can be null. * when this parameter can be null.
*/ */
P makeExternalRef(Parseable current, String uri, String ns, Scope<P,E,L,A,CL> scope, P makeExternalRef(Parseable current, String uri, String ns, Scope<P,E,L,A,CL> scope,
L loc, A anno) throws BuildException, IllegalSchemaException; L loc, A anno) throws BuildException, IllegalSchemaException;


L makeLocation(String systemId, int lineNumber, int columnNumber); L makeLocation(String systemId, int lineNumber, int columnNumber);


Expand Down
Expand Up @@ -19,11 +19,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.builder; package com.sun.tools.rngom.ast.builder;


import org.kohsuke.rngom.ast.om.Location; import com.sun.tools.rngom.ast.om.ParsedElementAnnotation;
import org.kohsuke.rngom.ast.om.ParsedPattern; import com.sun.tools.rngom.ast.om.Location;
import org.kohsuke.rngom.ast.om.ParsedElementAnnotation; import com.sun.tools.rngom.ast.om.ParsedPattern;


public interface Scope< public interface Scope<
P extends ParsedPattern, P extends ParsedPattern,
Expand Down
Expand Up @@ -19,6 +19,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.om; package com.sun.tools.rngom.ast.om;


public interface Location { } public interface Location { }
Expand Up @@ -19,6 +19,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.om; package com.sun.tools.rngom.ast.om;


public interface ParsedElementAnnotation { } public interface ParsedElementAnnotation { }
Expand Up @@ -19,6 +19,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.om; package com.sun.tools.rngom.ast.om;


public interface ParsedNameClass { } public interface ParsedNameClass { }
Expand Up @@ -19,6 +19,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
package org.kohsuke.rngom.ast.om; package com.sun.tools.rngom.ast.om;


public interface ParsedPattern { } public interface ParsedPattern { }

0 comments on commit 5d40833

Please sign in to comment.