< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/XSLOutputAttributes.java

Print this page


   1 /*
   2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
   3  * @LastModified: Oct 2017
   4  */
   5 /*
   6  * Licensed to the Apache Software Foundation (ASF) under one or more
   7  * contributor license agreements.  See the NOTICE file distributed with
   8  * this work for additional information regarding copyright ownership.
   9  * The ASF licenses this file to You under the Apache License, Version 2.0
  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *     http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.xml.internal.serializer;
  23 


  34  * The xsl:output attributes covered in this interface are:
  35  * <pre>
  36  * version
  37  * encoding
  38  * omit-xml-declarations
  39  * standalone
  40  * doctype-public
  41  * doctype-system
  42  * cdata-section-elements
  43  * indent
  44  * media-type
  45  * </pre>
  46  *
  47  * The one attribute not covered in this interface is <code>method</code> as
  48  * this value is implicitly chosen by the serializer that is created, for
  49  * example ToXMLStream vs. ToHTMLStream or another one.
  50  *
  51  * This interface is only used internally within Xalan.
  52  *
  53  * @xsl.usage internal

  54  */
  55 interface XSLOutputAttributes {
  56     /**
  57      * Returns the previously set value of the value to be used as the public
  58      * identifier in the document type declaration (DTD).
  59      *
  60      *@return the public identifier to be used in the DOCTYPE declaration in the
  61      * output document.
  62      */
  63     public String getDoctypePublic();
  64 
  65     /**
  66      * Returns the previously set value of the value to be used
  67      * as the system identifier in the document type declaration (DTD).
  68      * @return the system identifier to be used in the DOCTYPE declaration in
  69      * the output document.
  70      *
  71      */
  72     public String getDoctypeSystem();
  73 


   1 /*
   2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.

   3  */
   4 /*
   5  * Licensed to the Apache Software Foundation (ASF) under one or more
   6  * contributor license agreements.  See the NOTICE file distributed with
   7  * this work for additional information regarding copyright ownership.
   8  * The ASF licenses this file to You under the Apache License, Version 2.0
   9  * (the "License"); you may not use this file except in compliance with
  10  * the License.  You may obtain a copy of the License at
  11  *
  12  *     http://www.apache.org/licenses/LICENSE-2.0
  13  *
  14  * Unless required by applicable law or agreed to in writing, software
  15  * distributed under the License is distributed on an "AS IS" BASIS,
  16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17  * See the License for the specific language governing permissions and
  18  * limitations under the License.
  19  */
  20 
  21 package com.sun.org.apache.xml.internal.serializer;
  22 


  33  * The xsl:output attributes covered in this interface are:
  34  * <pre>
  35  * version
  36  * encoding
  37  * omit-xml-declarations
  38  * standalone
  39  * doctype-public
  40  * doctype-system
  41  * cdata-section-elements
  42  * indent
  43  * media-type
  44  * </pre>
  45  *
  46  * The one attribute not covered in this interface is <code>method</code> as
  47  * this value is implicitly chosen by the serializer that is created, for
  48  * example ToXMLStream vs. ToHTMLStream or another one.
  49  *
  50  * This interface is only used internally within Xalan.
  51  *
  52  * @xsl.usage internal
  53  * @LastModified: Oct 2017
  54  */
  55 interface XSLOutputAttributes {
  56     /**
  57      * Returns the previously set value of the value to be used as the public
  58      * identifier in the document type declaration (DTD).
  59      *
  60      *@return the public identifier to be used in the DOCTYPE declaration in the
  61      * output document.
  62      */
  63     public String getDoctypePublic();
  64 
  65     /**
  66      * Returns the previously set value of the value to be used
  67      * as the system identifier in the document type declaration (DTD).
  68      * @return the system identifier to be used in the DOCTYPE declaration in
  69      * the output document.
  70      *
  71      */
  72     public String getDoctypeSystem();
  73 


< prev index next >