+
+ private Queue<String> schemaPathToQueuedPath(final SchemaPath schemaPath) {
+ final Queue<String> retQueue = new LinkedList<String>();
+ if ((schemaPath != null) && (schemaPath.getPath() != null)) {
+ final List<QName> listPath = schemaPath.getPath();
+
+ for (final QName qname : listPath) {
+ if (qname != null) {
+ final String prefix = qname.getPrefix();
+ final String localName = qname.getLocalName();
+
+ final StringBuilder builder = new StringBuilder();
+ if (prefix != null) {
+ builder.append(prefix);
+ builder.append(":");
+ }
+ builder.append(localName);
+ retQueue.add(builder.toString());
+ }
+ }
+ }
+ return retQueue;
+ }
+