if(id != null && id.length() >0){
//cache STR
if(reader instanceof AbstractCreatorProcessor){
Map<String, String> emptyMap = Collections.emptyMap();
XMLStreamBufferMark marker= new XMLStreamBufferMark(emptyMap,(AbstractCreatorProcessor)reader);
pc.getElementCache().put(id,new StreamWriterData(marker));
}
}
if(reader.getLocalName() == SECURITY_TOKEN_REF && reader.getNamespaceURI() == MessageConstants.WSSE_NS){
while(reader.hasNext() && !StreamUtil._break(reader,SECURITY_TOKEN_REF,MessageConstants.WSSE_NS)){
reader.next();