nu.validator.xml
Class TypedInputSource
java.lang.Object
org.xml.sax.InputSource
nu.validator.xml.TypedInputSource
public class TypedInputSource
- extends InputSource
- Version:
- $Id: TypedInputSource.java 12 2007-09-19 12:45:00Z hsivonen $
- Author:
- hsivonen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private String type
length
private int length
TypedInputSource
public TypedInputSource()
TypedInputSource
public TypedInputSource(String arg0)
- Parameters:
arg0
-
TypedInputSource
public TypedInputSource(InputStream arg0)
- Parameters:
arg0
-
TypedInputSource
public TypedInputSource(Reader arg0)
- Parameters:
arg0
-
getType
public String getType()
- Returns:
- Returns the type.
setType
public void setType(String type)
- Parameters:
type
- The type to set.
getLength
public int getLength()
- Returns the length.
- Returns:
- the length
setLength
public void setLength(int length)
- Sets the length.
- Parameters:
length
- the length to set