Imported GNU Classpath 0.90
Imported GNU Classpath 0.90 * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore. * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant. * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5. * java/lang/Math.java: New override file. * java/lang/Character.java: Merged from Classpath. (start, end): Now 'int's. (canonicalName): New field. (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants. (UnicodeBlock): Added argument. (of): New overload. (forName): New method. Updated unicode blocks. (sets): Updated. * sources.am: Regenerated. * Makefile.in: Likewise. From-SVN: r111942
This commit is contained in:
parent
27079765d0
commit
8aa540d2f7
1367 changed files with 188789 additions and 22762 deletions
|
@ -1,5 +1,5 @@
|
|||
/* XMLOutputFactory.java --
|
||||
Copyright (C) 2005 Free Software Foundation, Inc.
|
||||
Copyright (C) 2005,2006 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -46,7 +46,7 @@ import java.io.IOException;
|
|||
import java.io.OutputStream;
|
||||
import java.io.Writer;
|
||||
import java.util.Properties;
|
||||
//import javax.xml.transform.Result;
|
||||
import javax.xml.transform.Result;
|
||||
|
||||
/**
|
||||
* Factory for obtaining XML stream and event writers for various kinds of
|
||||
|
@ -77,8 +77,8 @@ public abstract class XMLOutputFactory
|
|||
* If true, the writer will create a namespace declaration for any
|
||||
* attribute that doesn't have a namespace declaration in scope.
|
||||
*/
|
||||
public static final java.lang.String IS_PREFIX_DEFAULTING =
|
||||
"javax.xml.stream.isPrefixDefaulting";
|
||||
public static final java.lang.String IS_REPAIRING_NAMESPACES =
|
||||
"javax.xml.stream.isRepairingNamespaces";
|
||||
|
||||
protected XMLOutputFactory()
|
||||
{
|
||||
|
@ -219,16 +219,16 @@ public abstract class XMLOutputFactory
|
|||
* @exception UnsupportedOperationException if this method is not
|
||||
* supported
|
||||
*/
|
||||
//public abstract XMLStreamWriter createXMLStreamWriter(Result result)
|
||||
// throws XMLStreamException;
|
||||
public abstract XMLStreamWriter createXMLStreamWriter(Result result)
|
||||
throws XMLStreamException;
|
||||
|
||||
/**
|
||||
* Creates a new event writer.
|
||||
* @exception UnsupportedOperationException if this method is not
|
||||
* supported
|
||||
*/
|
||||
//public abstract XMLEventWriter createXMLEventWriter(Result result)
|
||||
// throws XMLStreamException;
|
||||
public abstract XMLEventWriter createXMLEventWriter(Result result)
|
||||
throws XMLStreamException;
|
||||
|
||||
/**
|
||||
* Creates a new event writer.
|
||||
|
@ -263,24 +263,10 @@ public abstract class XMLOutputFactory
|
|||
public abstract Object getProperty(String name)
|
||||
throws IllegalArgumentException;
|
||||
|
||||
/**
|
||||
* Indicates whether writers created by this factory will perform prefix
|
||||
* defaulting.
|
||||
* @see #IS_PREFIX_DEFAULTING
|
||||
*/
|
||||
public abstract boolean isPrefixDefaulting();
|
||||
|
||||
/**
|
||||
* Indicates whether the specified property is supported.
|
||||
*/
|
||||
public abstract boolean isPropertySupported(String name);
|
||||
|
||||
/**
|
||||
* Sets whether writers created by this factory will perform prefix
|
||||
* defaulting.
|
||||
* @see #IS_PREFIX_DEFAULTING
|
||||
*/
|
||||
public abstract void setPrefixDefaulting(boolean value);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue