com.fasterxml.aalto.out.WNameFactory 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.out;
import javax.xml.stream.XMLStreamException;
/**
* This abstract class defines factory object (with factory methods)
* that are needed by {@link WNameTable} instances, to be able to
* construct {@link WName} instances for element and attribute names.
*/
public abstract class WNameFactory
{
public abstract WName constructName(String localName)
throws XMLStreamException;
public abstract WName constructName(String prefix, String localName)
throws XMLStreamException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy