public void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException { namespaceContext.pushContext(); depth++; storeQualifiedName(T_ELEMENT_LN, prefix, namespaceURI, localName); }
public void writeStartElement(String namespaceURI, String localName) throws XMLStreamException { namespaceContext.pushContext(); depth++; final String prefix = namespaceContext.getPrefix(namespaceURI); if (prefix == null) { throw new XMLStreamException(); } namespaceContext.pushContext(); storeQualifiedName(T_ELEMENT_LN, prefix, namespaceURI, localName); }
public void writeStartElement(String localName) throws XMLStreamException { namespaceContext.pushContext(); depth++; final String defaultNamespaceURI = namespaceContext.getNamespaceURI(""); if (defaultNamespaceURI == null) storeQualifiedName(T_ELEMENT_LN, null, null, localName); else storeQualifiedName(T_ELEMENT_LN, null, defaultNamespaceURI, localName); }