com.googlecode.jpattern.core.xml
Class DefaultXmlParserStrategy

java.lang.Object
  extended by com.googlecode.jpattern.core.xml.DefaultXmlParserStrategy
All Implemented Interfaces:
IXmlReaderStrategy, Serializable

public class DefaultXmlParserStrategy
extends Object
implements IXmlReaderStrategy

Author:
Francesco Cina' 16/giu/2010
See Also:
Serialized Form

Constructor Summary
DefaultXmlParserStrategy(IXmlElement xmlRootElement)
           
 
Method Summary
 void addAttribute(String name, String value)
           
 void addText(String text)
           
 void endDocument()
           
 void endElement(String name)
           
 void startDocument()
           
 void startNewElement(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultXmlParserStrategy

public DefaultXmlParserStrategy(IXmlElement xmlRootElement)
Method Detail

addAttribute

public void addAttribute(String name,
                         String value)
Specified by:
addAttribute in interface IXmlReaderStrategy

endDocument

public void endDocument()
Specified by:
endDocument in interface IXmlReaderStrategy

endElement

public void endElement(String name)
Specified by:
endElement in interface IXmlReaderStrategy

startDocument

public void startDocument()
Specified by:
startDocument in interface IXmlReaderStrategy

startNewElement

public void startNewElement(String name)
Specified by:
startNewElement in interface IXmlReaderStrategy

addText

public void addText(String text)
Specified by:
addText in interface IXmlReaderStrategy


Copyright © 2011. All Rights Reserved.