KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thaiopensource > relaxng > impl > IgnoreMissingAttributesFunction


1 package com.thaiopensource.relaxng.impl;
2
3 class IgnoreMissingAttributesFunction extends EndAttributesFunction {
4   IgnoreMissingAttributesFunction(ValidatorPatternBuilder builder) {
5     super(builder);
6   }
7
8   public Object JavaDoc caseAttribute(AttributePattern p) {
9     return getPatternBuilder().makeEmpty();
10   }
11
12   PatternMemo apply(PatternMemo memo) {
13     return memo.ignoreMissingAttributes(this);
14   }
15 }
16
Popular Tags