public String getValue(String ns, String attr) { return root.getAttributeValue(ns, attr); }
public String getValue(String ns, String attr) { return root.getAttributeValue(ns, attr); }
public MessageReader getAttributeReader(QName qName) { String attribute = root.getAttributeValue(qName.getNamespaceURI(), qName.getLocalPart()); if (attribute == null && "".equals(qName.getNamespaceURI())) { // The qName namespaceURI of the attribute seems to be null // rather than "" when using the ibmjdk. // The MtomTest systest fails unless we do this. attribute = root.getAttributeValue(null, qName.getLocalPart()); } return new AttributeReader(qName, attribute); }
public MessageReader getAttributeReader(QName qName) { String attribute = root.getAttributeValue(qName.getNamespaceURI(), qName.getLocalPart()); if (attribute == null && "".equals(qName.getNamespaceURI())) { // The qName namespaceURI of the attribute seems to be null // rather than "" when using the ibmjdk. // The MtomTest systest fails unless we do this. attribute = root.getAttributeValue(null, qName.getLocalPart()); } return new AttributeReader(qName, attribute); }
public String getAttributeValue(String namespace, String localName) { if (!pushedBackEvents.isEmpty()) { return null; } checkAttributeIndexRange(-1); return super.getAttributeValue(namespace, localName); }
public String getAttributeValue(String namespace, String localName) { if (!pushedBackEvents.isEmpty()) { return null; } checkAttributeIndexRange(-1); return super.getAttributeValue(namespace, localName); }
public String getAttributeValue(String namespace, String localName) { if (!pushedBackEvents.isEmpty()) { return null; } checkAttributeIndexRange(-1); //TODO need reverse lookup return super.getAttributeValue(namespace, localName); }
public String getAttributeValue(String namespace, String localName) { if (!pushedBackEvents.isEmpty()) { return null; } checkAttributeIndexRange(-1); //TODO need reverse lookup return super.getAttributeValue(namespace, localName); }
public String getAttributeValue(String namespace, String localName) { if (!pushedBackEvents.isEmpty()) { return null; } checkAttributeIndexRange(-1); //TODO need reverse lookup return super.getAttributeValue(namespace, localName); }
private void extractXsiType() { /* * We're making a conscious choice here -- garbage in == garbage out. */ String xsiTypeQname = root.getAttributeValue(Constants.URI_2001_SCHEMA_XSI, "type"); if (xsiTypeQname != null) { Matcher m = QNAME_PATTERN.matcher(xsiTypeQname); if (m.matches()) { NamespaceContext nc = root.getNamespaceContext(); this.xsiType = new QName(nc.getNamespaceURI(m.group(1)), m.group(2), m.group(1)); } else { this.xsiType = new QName(this.namespace, xsiTypeQname, ""); } } }
private void extractXsiType() { /* * We're making a conscious choice here -- garbage in == garbage out. */ String xsiTypeQname = root.getAttributeValue(Constants.URI_2001_SCHEMA_XSI, "type"); if (xsiTypeQname != null) { Matcher m = QNAME_PATTERN.matcher(xsiTypeQname); if (m.matches()) { NamespaceContext nc = root.getNamespaceContext(); this.xsiType = new QName(nc.getNamespaceURI(m.group(1)), m.group(2), m.group(1)); } else { this.xsiType = new QName(this.namespace, xsiTypeQname, ""); } } }
public String getAttributeValue(int arg0) { if (!pushedBackEvents.isEmpty()) { throwIndexException(arg0, 0); } checkAttributeIndexRange(arg0); return super.getAttributeValue(attributesIndexes.get(arg0)); }
public String getAttributeValue(int arg0) { if (!pushedBackEvents.isEmpty()) { throwIndexException(arg0, 0); } checkAttributeIndexRange(arg0); return super.getAttributeValue(attributesIndexes.get(arg0)); }
public String getAttributeValue(int arg0) { if (!pushedBackEvents.isEmpty()) { throwIndexException(arg0, 0); } checkAttributeIndexRange(arg0); return super.getAttributeValue(attributesIndexes.get(arg0)); }
public String getAttributeValue(int arg0) { if (!pushedBackEvents.isEmpty()) { throwIndexException(arg0, 0); } checkAttributeIndexRange(arg0); return super.getAttributeValue(attributesIndexes.get(arg0)); }
public String getAttributeValue(int arg0) { if (!pushedBackEvents.isEmpty()) { throwIndexException(arg0, 0); } checkAttributeIndexRange(arg0); return super.getAttributeValue(attributesIndexes.get(arg0)); }
public MessageReader getNextAttributeReader() { MessageReader reader = new AttributeReader(root.getAttributeName(currentAttribute), root .getAttributeValue(currentAttribute)); currentAttribute++; return reader; }
public MessageReader getNextAttributeReader() { MessageReader reader = new AttributeReader(root.getAttributeName(currentAttribute), root .getAttributeValue(currentAttribute)); currentAttribute++; return reader; }