예제 #1
0
 public ComponentDefRefHandler(
     RootTagHandler<P> parentHandler, XMLStreamReader xmlReader, Source<?> source) {
   super(parentHandler, xmlReader, source);
   builder.setDescriptor(DefDescriptorImpl.getInstance(getTagName(), ComponentDef.class));
   builder.setLocation(getLocation());
   body = new ArrayList<>();
 }
예제 #2
0
 /**
  * this one is only used by {@link HTMLComponentDefRefHandler}, which passes in the descriptor,
  * the one above can't use it cause of java stupidness
  */
 protected ComponentDefRefHandler(
     RootTagHandler<P> parentHandler,
     DefDescriptor<ComponentDef> descriptor,
     XMLStreamReader xmlReader,
     Source<?> source) {
   super(parentHandler, xmlReader, source);
   builder.setDescriptor(descriptor);
   builder.setLocation(getLocation());
   body = new ArrayList<>();
 }