All Downloads are FREE. Search and download functionalities are using the official Maven repository.

msv.tahiti.src.com.sun.tahiti.compiler.grammar2java.xsl Maven / Gradle / Ivy

The newest version!


	
	
	
	
		
	
	
	
	
	
	
	
		
			package 
			
			;
			
			
		
	

		
		 {
		
		
		
	
	
	
	
	
	
	
	
	
	
		// symbols
		
		
	
		
				private static final LLElementExp 
			
			;
			
		
		
		
	
		
				private static final LLAttributeExp 
			
			;
			
		
		
		
	
		
				private static final IntermediateSymbol 
				
			 = new IntermediateSymbol("
				
			");
			
		
		
		
	
		
				public static final NamedSymbol 
				
			 = new NamedSymbol("
				
			");
			
		
		
	
	
		
				public static final DatabindableDatatype 
			
			;
			
		
		
	
	
		
				private static final NonTerminalSymbol 
				
			 = new DefaultNonTerminalSymbol("
			
			");
			
		
		
		
		
		
	
		
				private static final NonTerminalSymbol 
				
			 = new IgnoreSymbol("
			
			");
			
		
		
		
		
	
		
				private static final NonTerminalSymbol 
			
			 = new NonTerminalSymbol() {

			
			
			
			
			
			>"; }
		};
			
		


	
	
			// all rules
		
			private static final Rule[] rules = new Rule[
		
		];
		
	
	
		
		
		
		
	
		
	
	
	
	
		 // TODO: still leave a lot to be desired 
		
		
		
						
			
			 = 
			
				
					com.sun.msv.datatype.xsd.DatatypeFactory
				
				
					
						Unsupported datatype library
					
				
			
			.getTypeByName("
			
			");
			
		
		
	
	
	
	
	
	
		
				 		
			
			 = new LLElementExp( 
			
			 ); 
			
		
		
		
		
	
	
				// attributes and shared particles. In the same order as in the xml file 
		
		
		
			
				
								final Expression 
					
					 = 
					
					;
				
				
								
					
					 = new LLAttributeExp(
					
					 , 
					
					);
				
			
			
		
		
		

	
	
		
		
			
						rules[
			
			] = new Rule( new Object[]{ 
			
				
					,
				
				
			
			 }
			
			
				
				, new Filter[]{
				
					
						,
					
					
					
						
							Filter.emptyFilter
						
						
						
							new Filter.SimpleFilter(
							
							)
						
						
						
							new Filter.SetFilter(new Object[]{
							
								
									,
								
								
							
							})
						
					
				
				}
			
			
			);
			
		
		
		
		
		
	

	
				// element content models 
		
		
		
			
						
			
			.contentModel = 
			
			;
			
			
			
						
			
			.parserTable = new Table_
			
			();
			
			
			
		
		

	
				// set parsing table for attributes 
		
		
			
						
			
			.parserTable = new Table_
			
			();
			
		
		
		
	
				// top level
		
					final Expression topLevel = 
		
		;
		
	
	
		
			
							final LLParserTable rootTable = new Table_
				
				();
				
							final Object rootSymbol = 
				
				;
				
			
			
							final LLParserTable rootTable = null;
				
							final Object rootSymbol = null;
				
			
		
	
	
		
	
	
	
	
		
				private static final class Table_
			
			 implements LLParserTable {
			
			
			
				
							private static final Rule[] a
					
					
					 = new Rule[]{
					
						
							,
						
						rules[
						
						]
					
					}
					;
					
				
			
			
			
			
			
					public Rule[] get( Object top, Object input ) {
			
			
			
				
					
									if( top==
						
						 ) {
						
						
											if( input==
							
							 ) return 
							
								
									a
									
								
								
									
									rules[
									
									].selfArray
								
							
							;
							
						
						
											return 
							rules[
							
							].selfArray;
							
						
									}
						
					
					
					
					
									if( top==
						
						 ) return rules[
						
						].selfArray;
						
					
				
			
			
						return null;
			
					}
			
			
			
				};
			
		


	
//
// utility methods
//
	public static  unmarshall( String source )
			throws IOException, SAXException, ParserConfigurationException {
		return unmarshall( new InputSource(source) );
	}
	
	public static  unmarshall( InputSource source )
			throws IOException, SAXException, ParserConfigurationException {
		return ()
			com.sun.tahiti.runtime.ll.Unmarshaller.unmarshall( 
				.grammar, source );
	}
	

	
	
	
	}
	
	
	


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	



	
		
	
	
		
			new SimpleNameClass("
			
			","
			
			")
		
		
		
			new ChoiceNameClass(
			
			,
			
			)
		
		
		
			new DifferenceNameClass(
			
			,
			
			)
		
		
		
			AnyNameClass.theInstance
			
		
		
			new NamespaceNameClass("
			
			")
		
		
		
			new NotNameClass(
			
			)
		







	
		pool.createChoice(
		
		,
		
		)
	
	
	
		pool.createInterleave(
		
		,
		
		)
	
	
	
		pool.createSequence(
		
		,
		
		)
	
	
	
		Expression.epsilon
	
	
	
		Expression.anyString
	
	
	
		pool.createKey(
		
		, new StringPair("
		
		","
		
		"))
	
	
	
		pool.createKeyref(
		
		, new StringPair("
		
		","
		
		"))
	
	
	
		pool.createList(
		
		)
	
	
	
		pool.createOneOrMore(
		
		)
	
	
	
		pool.createData(
		
		,emptyName)
	
	
	
		
	
	
	
		
	
	
	
		
	
	
	
	
	
	
	



	


	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy