public class BpelScanner
extends java.lang.Object
Constructor and Description |
---|
BpelScanner(byte[] bpelDefinition)
create instance for given BPEL definition.
|
BpelScanner(java.io.InputStream bpelDefinition)
create instance for given BPEL stream.
|
BpelScanner(java.lang.String bpelDefinition)
create instance for given BPEL string.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
close XML parser.
|
boolean |
findNextInvoke()
find next
<invoke> element. |
java.lang.String |
getCurrentOperation() |
java.lang.String |
getCurrentPartnerLink() |
java.lang.String |
getCurrentPortType() |
java.lang.String |
getProcessName()
value of name attribute of process element.
|
public BpelScanner(java.lang.String bpelDefinition) throws java.io.UnsupportedEncodingException, javax.xml.stream.XMLStreamException
java.io.UnsupportedEncodingException
javax.xml.stream.XMLStreamException
public BpelScanner(byte[] bpelDefinition) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public BpelScanner(java.io.InputStream bpelDefinition) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public java.lang.String getProcessName()
public boolean findNextInvoke() throws javax.xml.stream.XMLStreamException
<invoke>
element.javax.xml.stream.XMLStreamException
public java.lang.String getCurrentPortType()
portType
attribute if an <invoke>
element was found. null if
called before findNextInvoke()
was called or if it has returned false.public java.lang.String getCurrentOperation()
operation
attribute if an <invoke>
element was found. null if
called before findNextInvoke()
was called or if it has returned false.public java.lang.String getCurrentPartnerLink()
partnerLink
attribute if an <invoke>
element was found. null if
called before findNextInvoke()
was called or if it has returned false.public void close()