com.sun.xml.ws.security.opt.impl.util
Class StreamUtil

java.lang.Object
  extended by com.sun.xml.ws.security.opt.impl.util.StreamUtil

public class StreamUtil
extends Object

Author:
K.Venugopal@sun.com

Constructor Summary
StreamUtil()
          Creates a new instance of StreamUtil
 
Method Summary
static boolean _break(XMLStreamReader reader, String localName, String uri)
           
static String convertDigestAlgorithm(String algo)
           
static String getCV(XMLStreamReader reader)
           
static String getCV(XMLStreamReaderEx reader)
           
static String getId(XMLStreamReader reader)
           
static String getWsuId(XMLStreamReader reader)
           
static boolean isStartElement(XMLStreamReader reader)
           
static boolean moveToNextElement(XMLStreamReader reader)
           
static boolean moveToNextStartOREndElement(XMLStreamReader reader)
           
static boolean moveToNextStartOREndElement(XMLStreamReader reader, XMLStreamWriter writer)
           
static void writeCurrentEvent(XMLStreamReaderEx reader, XMLStreamWriterEx writer)
           
static void writeCurrentEvent(XMLStreamReader reader, XMLStreamWriter writer)
           
static void writeStartElement(XMLStreamReader reader, XMLStreamWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamUtil

public StreamUtil()
Creates a new instance of StreamUtil

Method Detail

moveToNextElement

public static boolean moveToNextElement(XMLStreamReader reader)
                                 throws XMLStreamException
Throws:
XMLStreamException

moveToNextStartOREndElement

public static boolean moveToNextStartOREndElement(XMLStreamReader reader)
                                           throws XMLStreamException
Throws:
XMLStreamException

moveToNextStartOREndElement

public static boolean moveToNextStartOREndElement(XMLStreamReader reader,
                                                  XMLStreamWriter writer)
                                           throws XMLStreamException
Throws:
XMLStreamException

isStartElement

public static boolean isStartElement(XMLStreamReader reader)

_break

public static boolean _break(XMLStreamReader reader,
                             String localName,
                             String uri)
                      throws XMLStreamException
Throws:
XMLStreamException

writeStartElement

public static void writeStartElement(XMLStreamReader reader,
                                     XMLStreamWriter writer)
                              throws XMLStreamException
Throws:
XMLStreamException

writeCurrentEvent

public static void writeCurrentEvent(XMLStreamReader reader,
                                     XMLStreamWriter writer)
                              throws XMLStreamException
Throws:
XMLStreamException

writeCurrentEvent

public static void writeCurrentEvent(XMLStreamReaderEx reader,
                                     XMLStreamWriterEx writer)
                              throws XMLStreamException
Throws:
XMLStreamException

getWsuId

public static String getWsuId(XMLStreamReader reader)

getId

public static String getId(XMLStreamReader reader)

getCV

public static String getCV(XMLStreamReader reader)
                    throws XMLStreamException
Throws:
XMLStreamException

getCV

public static String getCV(XMLStreamReaderEx reader)
                    throws XMLStreamException
Throws:
XMLStreamException

convertDigestAlgorithm

public static String convertDigestAlgorithm(String algo)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.