common-util

local.tomas.common.xml.impl
Class XMLSourceReaderImpl

java.lang.Object
  extended by local.tomas.common.xml.XMLSourceReader
      extended by local.tomas.common.xml.impl.XMLSourceReaderImpl

public class XMLSourceReaderImpl
extends XMLSourceReader

XML source reader implementation.

Author:
tomas

Field Summary
static String ATTRIBUTE_TYPE
          Attribute.
static String CHAR_TYPE
          Character.
static String DOC_END_TYPE
          End of document.
static String DOC_TYPE
          Document
static String END_TOKEN_TYPE
          End token.
static String LOCAL_NAME_TYPE
          Local name.
static String QNAME_TYPE
          QName.
static String START_TOKEN_TYPE
          Start token.
static String URI_TYPE
          URI.
 
Constructor Summary
XMLSourceReaderImpl()
          Default constructor.
 
Method Summary
 Source getSource(XMLSource source)
          Get XML transformation source to retrieve an XML structure from the source.
 
Methods inherited from class local.tomas.common.xml.XMLSourceReader
createReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOC_TYPE

public static final String DOC_TYPE
Document

See Also:
Constant Field Values

DOC_END_TYPE

public static final String DOC_END_TYPE
End of document.

See Also:
Constant Field Values

CHAR_TYPE

public static final String CHAR_TYPE
Character.

See Also:
Constant Field Values

START_TOKEN_TYPE

public static final String START_TOKEN_TYPE
Start token.

See Also:
Constant Field Values

END_TOKEN_TYPE

public static final String END_TOKEN_TYPE
End token.

See Also:
Constant Field Values

ATTRIBUTE_TYPE

public static final String ATTRIBUTE_TYPE
Attribute.

See Also:
Constant Field Values

URI_TYPE

public static final String URI_TYPE
URI.

See Also:
Constant Field Values

QNAME_TYPE

public static final String QNAME_TYPE
QName.

See Also:
Constant Field Values

LOCAL_NAME_TYPE

public static final String LOCAL_NAME_TYPE
Local name.

See Also:
Constant Field Values
Constructor Detail

XMLSourceReaderImpl

public XMLSourceReaderImpl()
Default constructor.

Method Detail

getSource

public Source getSource(XMLSource source)
                 throws XMLException
Description copied from class: XMLSourceReader
Get XML transformation source to retrieve an XML structure from the source.

Specified by:
getSource in class XMLSourceReader
Parameters:
source - - the source
Returns:
transformation source
Throws:
XMLException

common-util

Copyright © 2007 null. All Rights Reserved.