com.fasterxml.aalto.stax.EventFactoryImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aalto-xml Show documentation
Show all versions of aalto-xml Show documentation
Ultra-high performance non-blocking XML processor (Stax/Stax2, SAX/SAX2)
/* Woodstox Lite ("wool") XML processor
*
* Copyright (c) 2006- Tatu Saloranta, [email protected]
*
* Licensed under the License specified in the file LICENSE which is
* included with the source code.
* You may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.fasterxml.aalto.stax;
import javax.xml.namespace.QName;
import org.codehaus.stax2.ri.Stax2EventFactoryImpl;
/**
* Simple event factory implementation, mostly based on the reference
* implementation included in Stax2 API jar.
*
* @author Tatu Saloranta
*/
public final class EventFactoryImpl
extends Stax2EventFactoryImpl
{
/*
/////////////////////////////////////////////////////
// Life-cycle:
/////////////////////////////////////////////////////
*/
public EventFactoryImpl()
{
super();
}
/*
/////////////////////////////////////////////////////////////
// Internal/helper methods
/////////////////////////////////////////////////////////////
*/
@Override
protected QName createQName(String nsURI, String localName) {
return new QName(nsURI, localName);
}
@Override
protected QName createQName(String nsURI, String localName, String prefix) {
return new QName(nsURI, localName, prefix);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy