--- old/src/com/sun/org/apache/xml/internal/serializer/XSLOutputAttributes.java 2014-06-04 13:56:02.235730428 -0700 +++ new/src/com/sun/org/apache/xml/internal/serializer/XSLOutputAttributes.java 2014-06-04 13:56:02.143729902 -0700 @@ -3,9 +3,11 @@ * DO NOT REMOVE OR ALTER! */ /* - * Copyright 2003-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * @@ -22,7 +24,7 @@ */ package com.sun.org.apache.xml.internal.serializer; -import java.util.Vector; +import java.util.ArrayList; /** * This interface has methods associated with the XSLT xsl:output attribues @@ -105,11 +107,6 @@ */ public String getVersion(); - - - - - /** * Sets the value coming from the xsl:output cdata-section-elements * stylesheet property. @@ -124,8 +121,8 @@ * relevant in specifying which elements have their text to be output as * CDATA sections. */ - public void setCdataSectionElements(Vector URI_and_localNames); - + public void setCdataSectionElements(ArrayList URI_and_localNames); + /** Set the value coming from the xsl:output doctype-public and doctype-system stylesheet properties * @param system the system identifier to be used in the DOCTYPE declaration * in the output document. @@ -181,4 +178,58 @@ */ public void setVersion(String version); + /** + * Get the value for a property that affects seraialization, + * if a property was set return that value, otherwise return + * the default value, otherwise return null. + * @param name The name of the property, which is just the local name + * if it is in no namespace, but is the URI in curly braces followed by + * the local name if it is in a namespace, for example: + * + * @return The value of the parameter + */ + public String getOutputProperty(String name); + /** + * Get the default value for a property that affects seraialization, + * or null if there is none. It is possible that a non-default value + * was set for the property, however the value returned by this method + * is unaffected by any non-default settings. + * @param name The name of the property. + * @return The default value of the parameter, or null if there is no default value. + */ + public String getOutputPropertyDefault(String name); + /** + * Set the non-default value for a property that affects seraialization. + * @param name The name of the property, which is just the local name + * if it is in no namespace, but is the URI in curly braces followed by + * the local name if it is in a namespace, for example: + * + * @val The non-default value of the parameter + */ + public void setOutputProperty(String name, String val); + + /** + * Set the default value for a property that affects seraialization. + * @param name The name of the property, which is just the local name + * if it is in no namespace, but is the URI in curly braces followed by + * the local name if it is in a namespace, for example: + * + * @val The default value of the parameter + */ + public void setOutputPropertyDefault(String name, String val); }