nu.validator.xml
Class TypedInputSource

java.lang.Object
  extended by org.xml.sax.InputSource
      extended by nu.validator.xml.TypedInputSource

public class TypedInputSource
extends InputSource

Version:
$Id: TypedInputSource.java 12 2007-09-19 12:45:00Z hsivonen $
Author:
hsivonen

Field Summary
private  int length
           
private  String type
           
 
Constructor Summary
TypedInputSource()
           
TypedInputSource(InputStream arg0)
           
TypedInputSource(Reader arg0)
           
TypedInputSource(String arg0)
           
 
Method Summary
 int getLength()
          Returns the length.
 String getType()
           
 void setLength(int length)
          Sets the length.
 void setType(String type)
           
 
Methods inherited from class org.xml.sax.InputSource
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private String type

length

private int length
Constructor Detail

TypedInputSource

public TypedInputSource()

TypedInputSource

public TypedInputSource(String arg0)
Parameters:
arg0 -

TypedInputSource

public TypedInputSource(InputStream arg0)
Parameters:
arg0 -

TypedInputSource

public TypedInputSource(Reader arg0)
Parameters:
arg0 -
Method Detail

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