Class StreamUtil
- java.lang.Object
-
- com.sun.xml.ws.security.opt.impl.util.StreamUtil
-
public class StreamUtil extends Object
- Author:
- K.Venugopal@sun.com
-
-
Constructor Summary
Constructors Constructor Description StreamUtil()Creates a new instance of StreamUtil
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean_break(XMLStreamReader reader, String localName, String uri)static StringconvertDigestAlgorithm(String algo)static StringgetCV(XMLStreamReader reader)static StringgetCV(XMLStreamReaderEx reader)static StringgetId(XMLStreamReader reader)static StringgetWsuId(XMLStreamReader reader)static booleanisStartElement(XMLStreamReader reader)static booleanmoveToNextElement(XMLStreamReader reader)static booleanmoveToNextStartOREndElement(XMLStreamReader reader)static booleanmoveToNextStartOREndElement(XMLStreamReader reader, XMLStreamWriter writer)static voidwriteCurrentEvent(XMLStreamReader reader, XMLStreamWriter writer)static voidwriteCurrentEvent(XMLStreamReaderEx reader, XMLStreamWriterEx writer)static voidwriteStartElement(XMLStreamReader reader, XMLStreamWriter writer)
-
-
-
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
-
-