jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/dom/SimpleResultTreeImpl.java
changeset 36486 b84e564d2358
parent 33349 975138b77cff
child 44797 8b3b3b911b8a
equal deleted inserted replaced
36280:c870cb782aca 36486:b84e564d2358
     1 /*
     1 /*
     2  * reserved comment block
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT REMOVE OR ALTER!
       
     4  */
     3  */
     5 /*
     4 /*
     6  * Copyright 1999-2004 The Apache Software Foundation.
     5  * Copyright 1999-2004 The Apache Software Foundation.
     7  *
     6  *
     8  * Licensed under the Apache License, Version 2.0 (the "License");
     7  * Licensed under the Apache License, Version 2.0 (the "License");
    15  * distributed under the License is distributed on an "AS IS" BASIS,
    14  * distributed under the License is distributed on an "AS IS" BASIS,
    16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    17  * See the License for the specific language governing permissions and
    16  * See the License for the specific language governing permissions and
    18  * limitations under the License.
    17  * limitations under the License.
    19  */
    18  */
    20 /*
    19 
    21  * $Id: SimpleResultTreeImpl.java,v 1.2.4.1 2005/09/06 10:09:25 pvedula Exp $
       
    22  */
       
    23 package com.sun.org.apache.xalan.internal.xsltc.dom;
    20 package com.sun.org.apache.xalan.internal.xsltc.dom;
    24 
    21 
    25 import com.sun.org.apache.xalan.internal.xsltc.DOM;
    22 import com.sun.org.apache.xalan.internal.xsltc.DOM;
    26 import com.sun.org.apache.xalan.internal.xsltc.StripFilter;
    23 import com.sun.org.apache.xalan.internal.xsltc.StripFilter;
    27 import com.sun.org.apache.xalan.internal.xsltc.TransletException;
    24 import com.sun.org.apache.xalan.internal.xsltc.TransletException;
    28 
       
    29 import com.sun.org.apache.xml.internal.dtm.Axis;
    25 import com.sun.org.apache.xml.internal.dtm.Axis;
    30 import com.sun.org.apache.xml.internal.dtm.DTM;
    26 import com.sun.org.apache.xml.internal.dtm.DTM;
    31 import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator;
    27 import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator;
    32 import com.sun.org.apache.xml.internal.dtm.DTMAxisTraverser;
    28 import com.sun.org.apache.xml.internal.dtm.DTMAxisTraverser;
    33 import com.sun.org.apache.xml.internal.dtm.DTMManager;
    29 import com.sun.org.apache.xml.internal.dtm.DTMManager;
  1012     }
  1008     }
  1013 
  1009 
  1014     public void migrateTo(DTMManager manager)
  1010     public void migrateTo(DTMManager manager)
  1015     {
  1011     {
  1016     }
  1012     }
       
  1013 
       
  1014     public void release()
       
  1015     {
       
  1016         if (_documentID != 0) {
       
  1017             _dtmManager.release(this, true);
       
  1018             _documentID = 0;
       
  1019         }
       
  1020     }
  1017 }
  1021 }