lifecycleConfiguration.setModelEncoding( parser.getInputEncoding() ); parsed = true;
persistedToolchains.setModelEncoding( parser.getInputEncoding() ); parsed = true;
settings.setModelEncoding( parser.getInputEncoding() ); parsed = true;
profilesRoot.setModelEncoding( parser.getInputEncoding() ); parsed = true;
metadata.setModelEncoding( parser.getInputEncoding() ); parsed = true;
coreExtensions.setModelEncoding( parser.getInputEncoding() ); parsed = true;
lifecycleConfiguration.setModelEncoding( parser.getInputEncoding() ); parsed = true;
expressionDocumentation.setModelEncoding( parser.getInputEncoding() ); parsed = true;
model.setModelEncoding( parser.getInputEncoding() ); parsed = true;
model.setModelEncoding( parser.getInputEncoding() ); parsed = true;
/** * Method read. * * @param parser * @param strict * @throws IOException * @throws XmlPullParserException * @return Model */ private Model read( XmlPullParser parser, boolean strict ) throws IOException, XmlPullParserException { int eventType = parser.getEventType(); while ( eventType != XmlPullParser.END_DOCUMENT ) { if ( eventType == XmlPullParser.START_TAG ) { if ( strict && ! "project".equals( parser.getName() ) ) { throw new XmlPullParserException( "Expected root element 'project' but found '" + parser.getName() + "'", parser, null ); } Model model = parseModel( parser, strict ); model.setModelEncoding( parser.getInputEncoding() ); return model; } eventType = parser.next(); } throw new XmlPullParserException( "Expected root element 'project' but found no element at all: invalid XML document", parser, null ); } //-- Model read( XmlPullParser, boolean )
settings.setModelEncoding( parser.getInputEncoding() ); parsed = true;
/** * Method read. * * @param parser * @param strict * @throws IOException * @throws XmlPullParserException * @return FileSet */ private FileSet read( XmlPullParser parser, boolean strict ) throws IOException, XmlPullParserException { int eventType = parser.getEventType(); while ( eventType != XmlPullParser.END_DOCUMENT ) { if ( eventType == XmlPullParser.START_TAG ) { if ( strict && ! "fileSet".equals( parser.getName() ) ) { throw new XmlPullParserException( "Expected root element 'fileSet' but found '" + parser.getName() + "'", parser, null ); } FileSet fileSet = parseFileSet( parser, strict ); fileSet.setModelEncoding( parser.getInputEncoding() ); return fileSet; } eventType = parser.next(); } throw new XmlPullParserException( "Expected root element 'fileSet' but found no element at all: invalid XML document", parser, null ); } //-- FileSet read( XmlPullParser, boolean )
/** * Method read. * * @param parser * @param strict * @throws IOException * @throws XmlPullParserException * @return Configuration */ private Configuration read( XmlPullParser parser, boolean strict ) throws IOException, XmlPullParserException { int eventType = parser.getEventType(); while ( eventType != XmlPullParser.END_DOCUMENT ) { if ( eventType == XmlPullParser.START_TAG ) { if ( strict && ! "nexusConfiguration".equals( parser.getName() ) ) { throw new XmlPullParserException( "Expected root element 'nexusConfiguration' but found '" + parser.getName() + "'", parser, null ); } Configuration configuration = parseConfiguration( parser, strict ); configuration.setModelEncoding( parser.getInputEncoding() ); return configuration; } eventType = parser.next(); } throw new XmlPullParserException( "Expected root element 'nexusConfiguration' but found no element at all: invalid XML document", parser, null ); } //-- Configuration read( XmlPullParser, boolean )
/** * Method read. * * @param parser * @param strict * @throws IOException * @throws XmlPullParserException * @return PluginDescriptor */ private PluginDescriptor read( XmlPullParser parser, boolean strict ) throws IOException, XmlPullParserException { int eventType = parser.getEventType(); while ( eventType != XmlPullParser.END_DOCUMENT ) { if ( eventType == XmlPullParser.START_TAG ) { if ( strict && ! "mojos".equals( parser.getName() ) ) { throw new XmlPullParserException( "Expected root element 'mojos' but found '" + parser.getName() + "'", parser, null ); } PluginDescriptor pluginDescriptor = parsePluginDescriptor( parser, strict ); pluginDescriptor.setModelEncoding( parser.getInputEncoding() ); return pluginDescriptor; } eventType = parser.next(); } throw new XmlPullParserException( "Expected root element 'mojos' but found no element at all: invalid XML document", parser, null ); } //-- PluginDescriptor read( XmlPullParser, boolean )
/** * Method read. * * @param parser * @param strict * @throws IOException * @throws XmlPullParserException * @return OrderedRepositoryMirrorsMetadata */ private OrderedRepositoryMirrorsMetadata read( XmlPullParser parser, boolean strict ) throws IOException, XmlPullParserException { int eventType = parser.getEventType(); while ( eventType != XmlPullParser.END_DOCUMENT ) { if ( eventType == XmlPullParser.START_TAG ) { if ( strict && ! "repository-mirror-list-metadata".equals( parser.getName() ) ) { throw new XmlPullParserException( "Expected root element 'repository-mirror-list-metadata' but found '" + parser.getName() + "'", parser, null ); } OrderedRepositoryMirrorsMetadata orderedRepositoryMirrorsMetadata = parseOrderedRepositoryMirrorsMetadata( parser, strict ); orderedRepositoryMirrorsMetadata.setModelEncoding( parser.getInputEncoding() ); return orderedRepositoryMirrorsMetadata; } eventType = parser.next(); } throw new XmlPullParserException( "Expected root element 'repository-mirror-list-metadata' but found no element at all: invalid XML document", parser, null ); } //-- OrderedRepositoryMirrorsMetadata read( XmlPullParser, boolean )
/** * Method read. * * @param parser * @param strict * @throws IOException * @throws XmlPullParserException * @return SkinModel */ private SkinModel read( XmlPullParser parser, boolean strict ) throws IOException, XmlPullParserException { int eventType = parser.getEventType(); while ( eventType != XmlPullParser.END_DOCUMENT ) { if ( eventType == XmlPullParser.START_TAG ) { if ( strict && ! "skin".equals( parser.getName() ) ) { throw new XmlPullParserException( "Expected root element 'skin' but found '" + parser.getName() + "'", parser, null ); } SkinModel skinModel = parseSkinModel( parser, strict ); skinModel.setModelEncoding( parser.getInputEncoding() ); return skinModel; } eventType = parser.next(); } throw new XmlPullParserException( "Expected root element 'skin' but found no element at all: invalid XML document", parser, null ); } //-- SkinModel read( XmlPullParser, boolean )
/** * Method read. * * @param parser * @param strict * @throws IOException * @throws XmlPullParserException * @return Configuration */ private Configuration read( XmlPullParser parser, boolean strict ) throws IOException, XmlPullParserException { int eventType = parser.getEventType(); while ( eventType != XmlPullParser.END_DOCUMENT ) { if ( eventType == XmlPullParser.START_TAG ) { if ( strict && ! "kenaiRealmConfiguration".equals( parser.getName() ) ) { throw new XmlPullParserException( "Expected root element 'kenaiRealmConfiguration' but found '" + parser.getName() + "'", parser, null ); } Configuration configuration = parseConfiguration( parser, strict ); configuration.setModelEncoding( parser.getInputEncoding() ); return configuration; } eventType = parser.next(); } throw new XmlPullParserException( "Expected root element 'kenaiRealmConfiguration' but found no element at all: invalid XML document", parser, null ); } //-- Configuration read( XmlPullParser, boolean )
/** * Method read. * * @param parser * @param strict * @throws IOException * @throws XmlPullParserException * @return DecorationModel */ private DecorationModel read( XmlPullParser parser, boolean strict ) throws IOException, XmlPullParserException { int eventType = parser.getEventType(); while ( eventType != XmlPullParser.END_DOCUMENT ) { if ( eventType == XmlPullParser.START_TAG ) { if ( strict && ! "project".equals( parser.getName() ) ) { throw new XmlPullParserException( "Expected root element 'project' but found '" + parser.getName() + "'", parser, null ); } DecorationModel decorationModel = parseDecorationModel( parser, strict ); decorationModel.setModelEncoding( parser.getInputEncoding() ); return decorationModel; } eventType = parser.next(); } throw new XmlPullParserException( "Expected root element 'project' but found no element at all: invalid XML document", parser, null ); } //-- DecorationModel read( XmlPullParser, boolean )
/** * Method read. * * @param parser * @param strict * @throws IOException * @throws XmlPullParserException * @return ArchetypeCatalog */ private ArchetypeCatalog read( XmlPullParser parser, boolean strict ) throws IOException, XmlPullParserException { int eventType = parser.getEventType(); while ( eventType != XmlPullParser.END_DOCUMENT ) { if ( eventType == XmlPullParser.START_TAG ) { if ( strict && ! "archetype-catalog".equals( parser.getName() ) ) { throw new XmlPullParserException( "Expected root element 'archetype-catalog' but found '" + parser.getName() + "'", parser, null ); } ArchetypeCatalog archetypeCatalog = parseArchetypeCatalog( parser, strict ); archetypeCatalog.setModelEncoding( parser.getInputEncoding() ); return archetypeCatalog; } eventType = parser.next(); } throw new XmlPullParserException( "Expected root element 'archetype-catalog' but found no element at all: invalid XML document", parser, null ); } //-- ArchetypeCatalog read( XmlPullParser, boolean )