jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/digested/DGrammarPattern.java
changeset 33547 e4c76ac38b12
parent 25871 b80b84e87032
equal deleted inserted replaced
33390:d131f4b8433a 33547:e4c76ac38b12
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 /*
    25 /*
    26  * Copyright (C) 2004-2011
    26  * Copyright (C) 2004-2015
    27  *
    27  *
    28  * Permission is hereby granted, free of charge, to any person obtaining a copy
    28  * Permission is hereby granted, free of charge, to any person obtaining a copy
    29  * of this software and associated documentation files (the "Software"), to deal
    29  * of this software and associated documentation files (the "Software"), to deal
    30  * in the Software without restriction, including without limitation the rights
    30  * in the Software without restriction, including without limitation the rights
    31  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    31  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    48 import java.util.HashMap;
    48 import java.util.HashMap;
    49 import java.util.Iterator;
    49 import java.util.Iterator;
    50 import java.util.Map;
    50 import java.util.Map;
    51 
    51 
    52 /**
    52 /**
    53  * <grammar> pattern, which is a collection of named patterns.
    53  * {@code <grammar>} pattern, which is a collection of named patterns.
    54  *
    54  *
    55  * @author Kohsuke Kawaguchi (kk@kohsuke.org)
    55  * @author Kohsuke Kawaguchi (kk@kohsuke.org)
    56  */
    56  */
    57 public class DGrammarPattern extends DPattern implements Iterable<DDefine> {
    57 public class DGrammarPattern extends DPattern implements Iterable<DDefine> {
    58     private final Map<String,DDefine> patterns = new HashMap<String,DDefine>();
    58     private final Map<String,DDefine> patterns = new HashMap<String,DDefine>();