001/*
002 *   Copyright (C) Christian Schulte, 2005-206
003 *   All rights reserved.
004 *
005 *   Redistribution and use in source and binary forms, with or without
006 *   modification, are permitted provided that the following conditions
007 *   are met:
008 *
009 *     o Redistributions of source code must retain the above copyright
010 *       notice, this list of conditions and the following disclaimer.
011 *
012 *     o Redistributions in binary form must reproduce the above copyright
013 *       notice, this list of conditions and the following disclaimer in
014 *       the documentation and/or other materials provided with the
015 *       distribution.
016 *
017 *   THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
018 *   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
019 *   AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
020 *   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
021 *   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
022 *   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
023 *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
024 *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
025 *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
026 *   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
027 *
028 *   $JOMC: IllegalAccessExceptionModelContext.java 4256 2012-02-13 06:32:10Z schulte2005 $
029 *
030 */
031package org.jomc.modlet.test.support;
032
033import java.net.URI;
034import javax.xml.bind.JAXBContext;
035import javax.xml.bind.Marshaller;
036import javax.xml.bind.Unmarshaller;
037import javax.xml.transform.Source;
038import javax.xml.validation.Schema;
039import org.jomc.modlet.Model;
040import org.jomc.modlet.ModelContext;
041import org.jomc.modlet.ModelException;
042import org.jomc.modlet.ModelValidationReport;
043import org.jomc.modlet.Modlets;
044import org.jomc.modlet.Service;
045import org.w3c.dom.ls.LSResourceResolver;
046import org.xml.sax.EntityResolver;
047
048/**
049 * {@code ModelContext} implementation with inaccessible constructor.
050 *
051 * @author <a href="mailto:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.0
052 * @version $JOMC: IllegalAccessExceptionModelContext.java 4256 2012-02-13 06:32:10Z schulte2005 $
053 */
054public final class IllegalAccessExceptionModelContext extends ModelContext
055{
056
057    private IllegalAccessExceptionModelContext()
058    {
059        super();
060    }
061
062    private IllegalAccessExceptionModelContext( final ClassLoader classLoader )
063    {
064        super( classLoader );
065    }
066
067    @Override
068    public Modlets findModlets() throws ModelException
069    {
070        throw new UnsupportedOperationException();
071    }
072
073    @Override
074    public Model findModel( final String model ) throws ModelException
075    {
076        throw new UnsupportedOperationException();
077    }
078
079    @Override
080    public Model findModel( final Model model ) throws ModelException
081    {
082        throw new UnsupportedOperationException();
083    }
084
085    @Override
086    public EntityResolver createEntityResolver( final String model ) throws ModelException
087    {
088        throw new UnsupportedOperationException();
089    }
090
091    @Override
092    public LSResourceResolver createResourceResolver( final String model ) throws ModelException
093    {
094        throw new UnsupportedOperationException();
095    }
096
097    @Override
098    public Schema createSchema( final String model ) throws ModelException
099    {
100        throw new UnsupportedOperationException();
101    }
102
103    @Override
104    public JAXBContext createContext( final String model ) throws ModelException
105    {
106        throw new UnsupportedOperationException();
107    }
108
109    @Override
110    public Marshaller createMarshaller( final String model ) throws ModelException
111    {
112        throw new UnsupportedOperationException();
113    }
114
115    @Override
116    public Unmarshaller createUnmarshaller( final String model ) throws ModelException
117    {
118        throw new UnsupportedOperationException();
119    }
120
121    @Override
122    public Model processModel( final Model model ) throws ModelException
123    {
124        throw new UnsupportedOperationException();
125    }
126
127    @Override
128    public ModelValidationReport validateModel( final Model model ) throws ModelException
129    {
130        throw new UnsupportedOperationException();
131    }
132
133    @Override
134    public ModelValidationReport validateModel( final String model, final Source source ) throws ModelException
135    {
136        throw new UnsupportedOperationException();
137    }
138
139    @Override
140    public <T> T createServiceObject( final Service service, final Class<T> type ) throws ModelException
141    {
142        throw new UnsupportedOperationException();
143    }
144
145    @Override
146    public EntityResolver createEntityResolver( final URI publicId ) throws ModelException
147    {
148        throw new UnsupportedOperationException();
149    }
150
151    @Override
152    public LSResourceResolver createResourceResolver( final URI publicId ) throws ModelException
153    {
154        throw new UnsupportedOperationException();
155    }
156
157    @Override
158    public Schema createSchema( final URI publicId ) throws ModelException
159    {
160        throw new UnsupportedOperationException();
161    }
162
163    @Override
164    public JAXBContext createContext( final URI publicId ) throws ModelException
165    {
166        throw new UnsupportedOperationException();
167    }
168
169    @Override
170    public Marshaller createMarshaller( final URI publicId ) throws ModelException
171    {
172        throw new UnsupportedOperationException();
173    }
174
175    @Override
176    public Unmarshaller createUnmarshaller( final URI publicId ) throws ModelException
177    {
178        throw new UnsupportedOperationException();
179    }
180
181}