Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.thaiopensource.relaxng.impl;
 
 
     super(namebuilder);
   }
 
  public Object caseElement(ElementPattern p) {
    return getPatternBuilder().makeNotAllowed();
  }
  public Object caseGroup(GroupPattern p) {
    final Pattern p1 = p.getOperand1();
    final Pattern p2 = p.getOperand2();
    return getPatternBuilder().makeChoice(
					      Pattern apply(Pattern x) {
						return getPatternBuilder().makeGroup(xp2);
					      }
					    }),
					      Pattern apply(Pattern x) {
						return getPatternBuilder().makeGroup(p1x);
					      }
                                            }));
  }
    if (!p.getNameClass().contains(getName()))
      return getPatternBuilder().makeNotAllowed();
  }
    return memo.startAttributeDeriv(this);
  }
New to GrepCode? Check out our FAQ X