Java Doc for Torture.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » test » torture » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » Java Advanced Imaging » test.torture 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.xml.sax.helpers.DefaultHandler
      test.torture.Torture

Torture
public class Torture extends DefaultHandler implements ParseExceptionListener,TagNames,TokenValues,ConfigurationSwitches(Code)

Inner Class :class MyEntityResolver implements EntityResolver
Inner Class :class TestLogWriter extends PrintStream
Inner Class :class ExpectedException

Field Summary
protected  booleanabortOnFail
    
protected static  intcounter
    
protected static  booleandebug
    
protected  booleandebugFlag
    
protected  StringencodedMessage
    
protected  StringexceptionClassName
    
protected  StringexceptionHeader
    
protected  StringexceptionMessage
    
protected  booleanfailureFlag
    
protected  StringfailureReason
    
protected  booleanoutputParsedStructures
    
protected static  booleanoutputResults
    
protected static  longstartTime
    
protected  StringstatusMessage
    
protected  booleansuccessFlag
    
protected  StringtestDescription
    
protected  StringtestMessage
    

Constructor Summary
public  Torture()
    

Method Summary
public  voidcharacters(char[] ch, int start, int length)
    
public  voiddoTests()
    
protected  voidemitAttribute(String attrName, String attrval)
    
protected  voidemitBeginEndTag(String tagName)
    
protected  voidemitBeginTag(String tagName)
    
protected  voidemitEndTag()
    
protected  voidemitEndTag(String tagName)
    
protected  voidemitString(String str)
    
protected  StringemitStringAttribute(String attrName, String attrval)
    
protected  StringemitStringBeginTag(String tag)
    
protected  StringemitStringCData(String msg)
    
protected  StringemitStringCData(String tag, String msg)
    
protected  StringemitStringEndTag()
    
protected  StringemitStringEndTag(String tag)
    
protected  StringemitStringTag(String tag)
    
protected  voidemitTag(String tagName)
    
protected  voidemitTaggedCData(String str)
    
protected  voidemitTaggedCData(String tag, String str)
    
protected  voidemitTaggedData(String tag, String data)
    
public  voidendElement(String namespaceURI, String local, String name)
    
public  voiderror(SAXParseException e)
    
protected  voidformatFailureDiagnostic(ParseException ex, String message)
    
protected  voidformatFailureDiagnostic(String hdr, String reason)
    
protected  voidformatFailureDiagnostic(ExpectedException ex, String reason)
    
protected  voidformatStatusMessage(String hdr, String reason)
    
protected  voidformatStatusMessage(ExpectedException ex, String reason)
    
public  voidhandleException(ParseException ex, SIPMessage sipMessage, Class headerClass, String headerText, String messageText)
    
public  voidignorableWhitespace(char buf, int offset, int len)
    
public  voidstartElement(String namespaceURI, String local, String name, Attributes attrs)
    

Field Detail
abortOnFail
protected boolean abortOnFail(Code)



counter
protected static int counter(Code)



debug
protected static boolean debug(Code)



debugFlag
protected boolean debugFlag(Code)



encodedMessage
protected String encodedMessage(Code)



exceptionClassName
protected String exceptionClassName(Code)



exceptionHeader
protected String exceptionHeader(Code)



exceptionMessage
protected String exceptionMessage(Code)



failureFlag
protected boolean failureFlag(Code)



failureReason
protected String failureReason(Code)



outputParsedStructures
protected boolean outputParsedStructures(Code)



outputResults
protected static boolean outputResults(Code)



startTime
protected static long startTime(Code)



statusMessage
protected String statusMessage(Code)



successFlag
protected boolean successFlag(Code)



testDescription
protected String testDescription(Code)



testMessage
protected String testMessage(Code)




Constructor Detail
Torture
public Torture()(Code)




Method Detail
characters
public void characters(char[] ch, int start, int length)(Code)



doTests
public void doTests() throws Exception(Code)



emitAttribute
protected void emitAttribute(String attrName, String attrval)(Code)



emitBeginEndTag
protected void emitBeginEndTag(String tagName)(Code)



emitBeginTag
protected void emitBeginTag(String tagName)(Code)



emitEndTag
protected void emitEndTag()(Code)



emitEndTag
protected void emitEndTag(String tagName)(Code)



emitString
protected void emitString(String str)(Code)



emitStringAttribute
protected String emitStringAttribute(String attrName, String attrval)(Code)



emitStringBeginTag
protected String emitStringBeginTag(String tag)(Code)



emitStringCData
protected String emitStringCData(String msg)(Code)



emitStringCData
protected String emitStringCData(String tag, String msg)(Code)



emitStringEndTag
protected String emitStringEndTag()(Code)



emitStringEndTag
protected String emitStringEndTag(String tag)(Code)



emitStringTag
protected String emitStringTag(String tag)(Code)



emitTag
protected void emitTag(String tagName)(Code)



emitTaggedCData
protected void emitTaggedCData(String str)(Code)



emitTaggedCData
protected void emitTaggedCData(String tag, String str)(Code)



emitTaggedData
protected void emitTaggedData(String tag, String data)(Code)



endElement
public void endElement(String namespaceURI, String local, String name) throws SAXException(Code)



error
public void error(SAXParseException e) throws SAXParseException(Code)



formatFailureDiagnostic
protected void formatFailureDiagnostic(ParseException ex, String message)(Code)



formatFailureDiagnostic
protected void formatFailureDiagnostic(String hdr, String reason)(Code)



formatFailureDiagnostic
protected void formatFailureDiagnostic(ExpectedException ex, String reason)(Code)



formatStatusMessage
protected void formatStatusMessage(String hdr, String reason)(Code)



formatStatusMessage
protected void formatStatusMessage(ExpectedException ex, String reason)(Code)



handleException
public void handleException(ParseException ex, SIPMessage sipMessage, Class headerClass, String headerText, String messageText) throws ParseException(Code)



ignorableWhitespace
public void ignorableWhitespace(char buf, int offset, int len) throws SAXException(Code)



startElement
public void startElement(String namespaceURI, String local, String name, Attributes attrs) throws SAXException(Code)



Methods inherited from org.xml.sax.helpers.DefaultHandler
public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc)
public void endDocument() throws SAXException(Code)(Java Doc)
public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc)
public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc)
public void error(SAXParseException e) throws SAXException(Code)(Java Doc)
public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc)
public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc)
public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc)
public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc)
public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc)
public void setDocumentLocator(Locator locator)(Code)(Java Doc)
public void skippedEntity(String name) throws SAXException(Code)(Java Doc)
public void startDocument() throws SAXException(Code)(Java Doc)
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc)
public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc)
public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc)
public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.