Java Doc for BaseCanonicalizer.java in  » 6.0-JDK-Modules-com.sun » xws-security » com » sun » xml » wss » impl » c14n » 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 com.sun » xws security » com.sun.xml.wss.impl.c14n 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.xml.wss.impl.c14n.BaseCanonicalizer

All known Subclasses:   com.sun.xml.wss.impl.c14n.SAXC14nCanonicalizerImpl,  com.sun.xml.wss.impl.c14n.EXC14nStAXReaderBasedCanonicalizer,  com.sun.xml.wss.impl.c14n.StAXC14nCanonicalizerImpl,
BaseCanonicalizer
abstract public class BaseCanonicalizer (Code)

author:
   Apache
author:
   K.Venugopal@sun.com
author:
   //TODO:
author:
   Refactor code ..

Inner Class :public static class NamespaceContextImpl implements javax.xml.namespace.NamespaceContext
Inner Class :static class UsedNSList
Inner Class :static class ElementName

Field Summary
final static  intNODE_AFTER_DOCUMENT_ELEMENT
    
final static  intNODE_BEFORE_DOCUMENT_ELEMENT
    
final static  intNODE_NOT_BEFORE_OR_AFTER_DOCUMENT_ELEMENT
    
final static  StringXML
    
final static  StringXMLNS
    
final static  byte[]_AMP_
    
final static  byte[]_BEGIN_COMM
    
final static  byte[]_BEGIN_PI
    
final static  byte[]_END_COMM
    
final static  byte[]_END_PI
    
final static  byte[]_END_TAG
    
final static  byte[]_GT_
    
final static  byte[]_LT_
    
final static  byte[]_QUOT_
    
final static  byte[]__X9_
    
final static  byte[]__XA_
    
final static  byte[]__XD_
    
 int_attrNSPos
    
 StringBuffer_attrName
    
 int_attrPos
    
protected  List_attrResult
    
protected  ArrayList_attrs
    
 String_defURI
    
 int_depth
    
 String_elementPrefix
    
 boolean[]_ncContextState
    
protected  ArrayList_nsAttrs
    
protected  List_nsResult
    
 boolean_parentNamespacesAdded
    
 OutputStream_stream
    
final static  byte[]equalsStr
    
final protected static  intinitalCacheSize
    

Constructor Summary
public  BaseCanonicalizer()
    

Method Summary
public  voidaddParentNamespaces(List nsDecls)
    
protected  AttributeNSgetAttributeNS()
    
public  OutputStreamgetOutputStream()
    
public static  booleannamespaceIsAbsolute(String namespaceValue)
    
public static  booleannamespaceIsRelative(String namespaceValue)
    
final static  voidoutputAttrToWriter(String name, String value, OutputStream writer)
    
final static  voidoutputAttrToWriter(String prefix, String localName, String value, OutputStream writer)
    
final static  voidoutputCommentToWriter(String data, OutputStream writer)
    
final static  voidoutputPItoWriter(String target, String data, OutputStream writer)
     Outputs a PI to the internal Writer.
 voidoutputTextToWriter(char[] text, int start, int length, OutputStream writer)
    
 voidoutputTextToWriter(String text, OutputStream writer)
    
public  voidreset()
    
final protected  voidresize()
    
public  voidsetStream(OutputStream os)
    
public static  voidsort(List list)
    
protected  voidwriteAttributes(Attributes attributes, Iterator itr)
    
protected  voidwriteAttributesNS(Iterator itr)
    
final static  voidwriteCharToUtf8(char c, OutputStream out)
    
final static  voidwriteStringToUtf8(String str, OutputStream out)
    

Field Detail
NODE_AFTER_DOCUMENT_ELEMENT
final static int NODE_AFTER_DOCUMENT_ELEMENT(Code)



NODE_BEFORE_DOCUMENT_ELEMENT
final static int NODE_BEFORE_DOCUMENT_ELEMENT(Code)



NODE_NOT_BEFORE_OR_AFTER_DOCUMENT_ELEMENT
final static int NODE_NOT_BEFORE_OR_AFTER_DOCUMENT_ELEMENT(Code)



XML
final static String XML(Code)



XMLNS
final static String XMLNS(Code)



_AMP_
final static byte[] _AMP_(Code)



_BEGIN_COMM
final static byte[] _BEGIN_COMM(Code)



_BEGIN_PI
final static byte[] _BEGIN_PI(Code)



_END_COMM
final static byte[] _END_COMM(Code)



_END_PI
final static byte[] _END_PI(Code)



_END_TAG
final static byte[] _END_TAG(Code)



_GT_
final static byte[] _GT_(Code)



_LT_
final static byte[] _LT_(Code)



_QUOT_
final static byte[] _QUOT_(Code)



__X9_
final static byte[] __X9_(Code)



__XA_
final static byte[] __XA_(Code)



__XD_
final static byte[] __XD_(Code)



_attrNSPos
int _attrNSPos(Code)



_attrName
StringBuffer _attrName(Code)



_attrPos
int _attrPos(Code)



_attrResult
protected List _attrResult(Code)



_attrs
protected ArrayList _attrs(Code)



_defURI
String _defURI(Code)



_depth
int _depth(Code)



_elementPrefix
String _elementPrefix(Code)



_ncContextState
boolean[] _ncContextState(Code)



_nsAttrs
protected ArrayList _nsAttrs(Code)



_nsResult
protected List _nsResult(Code)



_parentNamespacesAdded
boolean _parentNamespacesAdded(Code)



_stream
OutputStream _stream(Code)



equalsStr
final static byte[] equalsStr(Code)



initalCacheSize
final protected static int initalCacheSize(Code)




Constructor Detail
BaseCanonicalizer
public BaseCanonicalizer()(Code)
Creates a new instance of BaseCanonicalizer




Method Detail
addParentNamespaces
public void addParentNamespaces(List nsDecls)(Code)



getAttributeNS
protected AttributeNS getAttributeNS()(Code)



getOutputStream
public OutputStream getOutputStream()(Code)



namespaceIsAbsolute
public static boolean namespaceIsAbsolute(String namespaceValue)(Code)
Method namespaceIsAbsolute
Parameters:
  namespaceValue - true if the given namespace is absolute.



namespaceIsRelative
public static boolean namespaceIsRelative(String namespaceValue)(Code)
Method namespaceIsRelative
Parameters:
  namespaceValue - true if the given namespace is relative.



outputAttrToWriter
final static void outputAttrToWriter(String name, String value, OutputStream writer) throws IOException(Code)



outputAttrToWriter
final static void outputAttrToWriter(String prefix, String localName, String value, OutputStream writer) throws IOException(Code)



outputCommentToWriter
final static void outputCommentToWriter(String data, OutputStream writer) throws IOException(Code)
Method outputCommentToWriter
Parameters:
  currentComment -
Parameters:
  writer - writer where to write the things
throws:
  IOException -



outputPItoWriter
final static void outputPItoWriter(String target, String data, OutputStream writer) throws IOException(Code)
Outputs a PI to the internal Writer.
Parameters:
  currentPI -
Parameters:
  writer - where to write the things
throws:
  IOException -



outputTextToWriter
void outputTextToWriter(char[] text, int start, int length, OutputStream writer) throws IOException(Code)



outputTextToWriter
void outputTextToWriter(String text, OutputStream writer) throws IOException(Code)



reset
public void reset()(Code)



resize
final protected void resize()(Code)



setStream
public void setStream(OutputStream os)(Code)



sort
public static void sort(List list)(Code)



writeAttributes
protected void writeAttributes(Attributes attributes, Iterator itr) throws IOException(Code)



writeAttributesNS
protected void writeAttributesNS(Iterator itr) throws IOException(Code)



writeCharToUtf8
final static void writeCharToUtf8(char c, OutputStream out) throws IOException(Code)



writeStringToUtf8
final static void writeStringToUtf8(String str, OutputStream out) throws IOException(Code)



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.